Updated README and projects with details of APIs and costs, and common setup troubleshooting

This commit is contained in:
Edward Donner
2024-09-22 08:50:46 -04:00
parent bd3e566162
commit 623955c25b
8 changed files with 595 additions and 14 deletions

View File

@@ -81,6 +81,8 @@
"source": [
"# Connect to OpenAI, Anthropic and Google\n",
"# All 3 APIs are similar\n",
"# Having problems with API files? You can use openai = OpenAI(api_key=\"your-key-here\") and same for claude\n",
"# Having problems with Google Gemini setup? Then just skip Gemini; you'll get all the experience you need from GPT and Claude.\n",
"\n",
"openai = OpenAI()\n",
"\n",
@@ -324,6 +326,7 @@
"outputs": [],
"source": [
"# Let's make a conversation between GPT-4o-mini and Claude-3-haiku\n",
"# We're using cheap versions of models so the costs will be minimal\n",
"\n",
"gpt_model = \"gpt-4o-mini\"\n",
"claude_model = \"claude-3-haiku-20240307\"\n",