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

@@ -313,8 +313,6 @@
"metadata": {},
"outputs": [],
"source": [
"# The function for gpt-4o - the August model\n",
"\n",
"def gpt_4o_frontier(item):\n",
" response = openai.chat.completions.create(\n",
" model=\"gpt-4o-2024-08-06\", \n",
@@ -333,6 +331,10 @@
"metadata": {},
"outputs": [],
"source": [
"# The function for gpt-4o - the August model\n",
"# Note that it cost me about 1-2 cents to run this (pricing may vary by region)\n",
"# You can skip this and look at my results instead\n",
"\n",
"Tester.test(gpt_4o_frontier, test)"
]
},
@@ -364,6 +366,10 @@
"metadata": {},
"outputs": [],
"source": [
"# The function for Claude 3.5 Sonnet\n",
"# It also cost me about 1-2 cents to run this (pricing may vary by region)\n",
"# You can skip this and look at my results instead\n",
"\n",
"Tester.test(claude_3_point_5_sonnet, test)"
]
},