Skip to content

Commit f7cfb96

Browse files
authored
Merge pull request #50 from TheovanKraay/rag-chatbot-quickstart-update
add index policy
2 parents b957ccc + cdafaa0 commit f7cfb96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/CosmosDB-NoSQL_VectorSearch/CosmosDB-NoSQL-Quickstart-RAG-Chatbot.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
"try:\n",
151151
" movies_container = db.create_container_if_not_exists(id=cosmos_collection, \n",
152152
" partition_key=PartitionKey(path='/id'), \n",
153+
" indexing_policy=indexing_policy,\n",
153154
" vector_embedding_policy=vector_embedding_policy,\n",
154155
" offer_throughput=10000) \n",
155156
" print('Container with id \\'{0}\\' created'.format(movies_container.id)) \n",

0 commit comments

Comments
 (0)