More comments, notes and improvements
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
"\n",
|
||||
"If you haven't done so already, you'll need to create API keys from OpenAI, Anthropic and Google.\n",
|
||||
"\n",
|
||||
"**Please note:** if you'd prefer to avoid extra API costs, feel free to skip setting up Anthopic and Google! You can see me do it, and focus on OpenAI for the course.\n",
|
||||
"\n",
|
||||
"For OpenAI, visit https://openai.com/api/ \n",
|
||||
"For Anthropic, visit https://console.anthropic.com/ \n",
|
||||
"For Google, visit https://ai.google.dev/gemini-api \n",
|
||||
@@ -37,7 +39,9 @@
|
||||
"GOOGLE_API_KEY=xxxx\n",
|
||||
"```\n",
|
||||
"\n",
|
||||
"OR enter the keys directly in the cells below."
|
||||
"OR enter the keys directly in the cells below.\n",
|
||||
"\n",
|
||||
"You may need to restart the Jupyter Notebook Kernel (the Python process) via the Kernel menu."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -259,8 +263,8 @@
|
||||
"# To be serious! GPT-4o-mini with the original question\n",
|
||||
"\n",
|
||||
"prompts = [\n",
|
||||
" {\"role\": \"system\", \"content\": \"You are a helpful assistant\"},\n",
|
||||
" {\"role\": \"user\", \"content\": \"How do I decide if a business problem is suitable for an LLM solution?\"}\n",
|
||||
" {\"role\": \"system\", \"content\": \"You are a helpful assistant that responds in Markdown\"},\n",
|
||||
" {\"role\": \"user\", \"content\": \"How do I decide if a business problem is suitable for an LLM solution? Please respond in Markdown.\"}\n",
|
||||
" ]"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user