Skip to content

Commit

Permalink
⛓️ Hide OpenAI API key in pyagent.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
Leolty committed Dec 29, 2023
1 parent 492bc4b commit 5469ea8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/pyagent.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,8 @@
"source": [
"from agent import Model\n",
"\n",
"os.environ[\"OPENAI_API_KEY\"] = \"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\"\n",
"# set openai api key\n",
"os.environ[\"OPENAI_API_KEY\"] = \"sk-xxx\"\n",
"\n",
"# openai model\n",
"model = Model(model_name=\"gpt-3.5-turbo-0613\", provider=\"openai\")\n",
Expand Down

0 comments on commit 5469ea8

Please sign in to comment.