Skip to content

A programming framework for agentic AI

corrected openai utils example (#869)

axa99195c87e30908
diff --git a/notebook/oai_openai_utils.ipynb b/notebook/oai_openai_utils.ipynb
index 3c020b4ab..38a0fd0d4 100644
--- a/notebook/oai_openai_utils.ipynb
+++ b/notebook/oai_openai_utils.ipynb
@@ -56,7 +56,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
@@ -65,7 +65,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
@@ -83,9 +83,17 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 4,
"metadata": {},
- "outputs": [],
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "[{'api_key': 'YOUR_OPENAI_API_KEY', 'api_type': 'openai'}]\n"
+ ]
+ }
+ ],
"source": [
"api_keys = [\"YOUR_OPENAI_API_KEY\"]\n",
"base_urls = None # You can specify API base URLs if needed. eg: localhost:8000\n",
@@ -289,7 +297,7 @@
},
{
"cell_type": "code",
- "execution_count": null,
+ "execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
@@ -299,7 +307,6 @@
" aoai_api_key_file = \"key_aoai.txt\",\n",
" aoai_api_base_file = \"base_aoai.txt\",\n",
" exclude=\"aoai\",\n",
- " model_list = None,\n",
" model_list=[\"gpt-4\", \"gpt-3.5-turbo\", \"gpt-3.5-turbo-16k\"],\n",
")"
]