Skip to content

Commit 319cf3a

Browse files
authored
Merge pull request #59 from microsoft/hkh/fix_nosql
bugfix: nosql
2 parents e35634f + 0286457 commit 319cf3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Python/CosmosDB-NoSQL_VectorSearch/CosmosDB-NoSQL-Vector_AzureOpenAI_Tutorial.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,10 +364,10 @@
364364
" \"excludedPaths\": [\n",
365365
" {\n",
366366
" \"path\": \"/\\\"_etag\\\"/?\"\n",
367-
" }\n",
367+
" },\n",
368368
" {\n",
369369
" \"path\": \"/titleVector/*\"\n",
370-
" }\n",
370+
" },\n",
371371
" {\n",
372372
" \"path\": \"/contentVector/*\"\n",
373373
" }\n",
@@ -555,8 +555,8 @@
555555
"print(\"*** Please ask your model questions about Azure services. Type 'end' to end the session.\\n\")\n",
556556
"user_input = input(\"User prompt: \")\n",
557557
"while user_input.lower() != \"end\":\n",
558-
" search_results = dummy_vector_search()\n",
559-
" completions_results = generate_dummy_completion(search_results, user_input)\n",
558+
" search_results = vector_search()\n",
559+
" completions_results = generate_completion(search_results, user_input)\n",
560560
" print(\"\\n\")\n",
561561
" print(completions_results['choices'][0]['message']['content'])\n",
562562
" user_input = input(\"User prompt: \")"

0 commit comments

Comments
 (0)