Skip to content

Commit 5ac79c1

Browse files
authored
fixing format
1 parent d427ccc commit 5ac79c1

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

notebooks/GenAI/notebooks/sharepoint_RAG_bot.ipynb

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -594,25 +594,26 @@
594594
" ],\n",
595595
" stream=True,\n",
596596
" extra_body={\n",
597-
" \"data_sources\": [{\n",
598-
" \"type\": \"azure_search\",\n"
599-
" \"parameters\": {\n",
600-
" \"filter\": None,\n",
601-
" \"endpoint\": search_endpoint,\n",
602-
" \"index_name\": index_name\n",
603-
" \"semantic_configuration\": \"default\",\n"
604-
" \"authentication\": {\n",
605-
" \"type\": \"api_key\",\n",
606-
" \"key\": index_service_key\n",
607-
" },\n",
608-
" \"query_type\": \"simple\",\n"
609-
" \"in_scope\": True,\n"
610-
" \"role_information\": \"You are an AI assistant that helps people find information.\",\n"
611-
" \"strictness\": 4,\n"
612-
" \"top_n_documents\": 5\n"
613-
" }\n",
614-
" }]\n,
615-
" }])\n,
597+
" \"data_sources\": [{\n",
598+
" \"type\": \"azure_search\", \n"
599+
" \"parameters\": {\n",
600+
" \"filter\": None, \n",
601+
" \"endpoint\": search_endpoint, \n",
602+
" \"index_name\": index_name, \n",
603+
" \"semantic_configuration\": \"default\", \n"
604+
" \"authentication\": {\n",
605+
" \"type\": \"api_key\", \n",
606+
" \"key\": index_service_key \n",
607+
" }, \n",
608+
" \"query_type\": \"simple\", \n",
609+
" \"in_scope\": True, \n",
610+
" \"role_information\": \"You are an AI assistant that helps people find information.\", \n",
611+
" \"strictness\": 4, \n",
612+
" \"top_n_documents\": 5 \n",
613+
" } \n",
614+
" }] \n,
615+
" }] \n,
616+
" ) \n,
616617
"\n",
617618
"for chunk in completion:\n",
618619
" if chunk.choices[0].message.content is not None:\n",

0 commit comments

Comments
 (0)