Skip to content

Commit 35a7486

Browse files
authored
string id
1 parent 0bfcbdd commit 35a7486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3332,7 +3332,7 @@
33323332
"n = 0\n",
33333333
"for item in data:\n",
33343334
" n+=1\n",
3335-
" item['id'] = n\n",
3335+
" item['id'] = str(n)\n",
33363336
" title = item['title']\n",
33373337
" content = item['content']\n",
33383338
" title_embeddings = generate_embeddings(title)\n",

0 commit comments

Comments
 (0)