More comments, more business applications, and links to pkl files
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
"\n",
|
||||
"Create a product that builds a Brochure for a company to be used for prospective clients, investors and potential recruits.\n",
|
||||
"\n",
|
||||
"We will be provided a company name and their primary website."
|
||||
"We will be provided a company name and their primary website.\n",
|
||||
"\n",
|
||||
"See the end of this notebook for examples of real-world business applications.\n",
|
||||
"\n",
|
||||
"And remember: I'm always available if you have problems or ideas! Please do reach out."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -100,7 +104,9 @@
|
||||
"\n",
|
||||
"### Use a call to gpt-4o-mini to read the links on a webpage, and respond in structured JSON. \n",
|
||||
"It should decide which links are relevant, and replace relative links such as \"/about\" with \"https://company.com/about\". \n",
|
||||
"We will use \"one shot prompting\" in which we provide an example of how it should respond in the prompt."
|
||||
"We will use \"one shot prompting\" in which we provide an example of how it should respond in the prompt.\n",
|
||||
"\n",
|
||||
"Sidenote: there is a more advanced technique called \"Structured Outputs\" in which we require the model to respond according to a spec. We cover this technique in Week 8 during our autonomous Agentic AI project."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -230,7 +236,7 @@
|
||||
"and creates a short brochure about the company for prospective customers, investors and recruits. Respond in markdown.\\\n",
|
||||
"Include details of company culture, customers and careers/jobs if you have the information.\"\n",
|
||||
"\n",
|
||||
"# Or uncomment the line below for a more humorous brochure:\n",
|
||||
"# Or uncomment the lines below for a more humorous brochure - this demonstrates how easy it is to incorporate 'tone':\n",
|
||||
"\n",
|
||||
"# system_prompt = \"You are an assistant that analyzes the contents of several relevant pages from a company website \\\n",
|
||||
"# and creates a short humorous, entertaining, jokey brochure about the company for prospective customers, investors and recruits. Respond in markdown.\\\n",
|
||||
@@ -345,10 +351,24 @@
|
||||
"stream_brochure(\"HuggingFace\", \"https://huggingface.co\")"
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "markdown",
|
||||
"id": "a27bf9e0-665f-4645-b66b-9725e2a959b5",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"## Business Applications\n",
|
||||
"\n",
|
||||
"In this exercise we extended the Day 1 code to make multiple LLM calls, and generate a document.\n",
|
||||
"\n",
|
||||
"In terms of techniques, this is perhaps the first example of Agentic AI design patterns, as we combined multiple calls to LLMs. This will feature more in Week 2, and then we will return to Agentic AI in a big way in Week 8 when we build a fully autonomous Agent solution.\n",
|
||||
"\n",
|
||||
"In terms of business applications - generating content in this way is one of the very most common Use Cases. As with summarization, this can be applied to any business vertical. Write marketing content, generate a product tutorial from a spec, create personalized email content, and so much more. Explore how you can apply content generation to your business, and try making yourself a proof-of-concept prototype."
|
||||
]
|
||||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": null,
|
||||
"id": "bcf5168e-f1d9-4fa7-b372-daf16358e93c",
|
||||
"id": "22e878f1-08fe-4465-b50c-869352174eae",
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
|
||||
Reference in New Issue
Block a user