Skip to content

Commit 37184bc

Browse files
committed
update
1 parent 0bdd678 commit 37184bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

articles/cosmos-db/gen-ai/quickstart-rag-chatbot.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ indexing_policy = {
127127
# Create the data collection with vector index (note: this creates a container with 10000 RUs to allow fast data load)
128128
try:
129129
movies_container = db.create_container_if_not_exists(id=cosmos_collection,
130-
partition_key=PartitionKey(path='/id'),
130+
partition_key=PartitionKey(path='/id'),
131+
indexing_policy=indexing_policy,
131132
vector_embedding_policy=vector_embedding_policy,
132133
offer_throughput=10000)
133134
print('Container with id \'{0}\' created'.format(movies_container.id))

0 commit comments

Comments
 (0)