Skip to content

Commit ea6f50f

Browse files
author
Sam Partee
authored
api fix (#26)
1 parent e09bc32 commit ea6f50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/examples/openai_qna.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@
712712
"from redisvl.providers.openai import OpenAIProvider\n",
713713
"from redisvl.utils.utils import array_to_buffer\n",
714714
"\n",
715-
"api_key = os.environ.get(\"OPENAI_API_KEY\", \"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\")\n",
715+
"api_key = os.environ.get(\"OPENAI_API_KEY\", \"\")\n",
716716
"oaip = OpenAIProvider(EMBEDDINGS_MODEL, api_config={\"api_key\": api_key})\n",
717717
"\n",
718718
"chunked_data[\"embedding\"] = oaip.embed_many(chunked_data[\"content\"].tolist())\n",

0 commit comments

Comments
 (0)