Skip to content

Commit

Permalink
clean demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Laz4rz committed Apr 2, 2024
1 parent 075c2d5 commit 04ae3d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@
"# Export the proper environment variables based on the client you are using.\n",
"\n",
"# OpenAI API Key\n",
"# os.environ[\"OPENAI_ORGANIZATION\"] = OpenAICostTrackerUtils.get_api_key(path='openai_organization.txt')\n",
"os.environ[\"OPENAI_API_KEY\"] = OpenAICostTrackerUtils.get_api_key(path='/Users/mikolajboronski/.openai')\n",
"os.environ[\"OPENAI_ORGANIZATION\"] = OpenAICostTrackerUtils.get_api_key(path='openai_organization.txt')\n",
"os.environ[\"OPENAI_API_KEY\"] = OpenAICostTrackerUtils.get_api_key(path='openai_api_key.txt')\n",
"\n",
"# Azure OpenAI API Key\n",
"# os.environ[\"AZURE_OPENAI_KEY\"] = OpenAICostTrackerUtils.get_api_key('azure_openai_key.txt')"
"os.environ[\"AZURE_OPENAI_KEY\"] = OpenAICostTrackerUtils.get_api_key('azure_openai_key.txt')"
]
},
{
Expand All @@ -105,7 +105,7 @@
"metadata": {},
"outputs": [],
"source": [
"experiment_name = \"Demo2\"\n",
"experiment_name = \"Demo\"\n",
"messages = [\n",
" {\"role\": \"system\", \"content\": \"You are a helpful assistant.\"},\n",
" {\"role\": \"user\", \"content\": \"Who won the euro 2020?\"},\n",
Expand Down

0 comments on commit 04ae3d7

Please sign in to comment.