We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bdd678 commit 37184bcCopy full SHA for 37184bc
articles/cosmos-db/gen-ai/quickstart-rag-chatbot.md
@@ -127,7 +127,8 @@ indexing_policy = {
127
# Create the data collection with vector index (note: this creates a container with 10000 RUs to allow fast data load)
128
try:
129
movies_container = db.create_container_if_not_exists(id=cosmos_collection,
130
- partition_key=PartitionKey(path='/id'),
+ partition_key=PartitionKey(path='/id'),
131
+ indexing_policy=indexing_policy,
132
vector_embedding_policy=vector_embedding_policy,
133
offer_throughput=10000)
134
print('Container with id \'{0}\' created'.format(movies_container.id))
0 commit comments