File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 91
91
"metadata" : {},
92
92
"outputs" : [],
93
93
"source" : [
94
+ " # Under the hood, this becomes a SQL table. CANNOT have '.' in the name\n " ,
94
95
" COLLECTION_NAME = \" state_of_the_union_test\"\n " ,
95
96
" \n " ,
97
+ " # This creates a table(or vector store). You should run this ONCE only\n " ,
96
98
" db = IRISVector.from_documents(\n " ,
97
99
" embedding=embeddings,\n " ,
98
100
" documents=docs,\n " ,
107
109
"metadata" : {},
108
110
"outputs" : [],
109
111
"source" : [
110
- " # If reconnecting to the database, use this: \n " ,
112
+ " # Subsequent calls to reconnect to the database and make searches should use this. Do not run from_documents every time.TimeoutError \n " ,
111
113
" \n " ,
112
114
" # db = IRISVector(\n " ,
113
115
" # embedding_function=embeddings,\n " ,
123
125
"metadata" : {},
124
126
"outputs" : [],
125
127
"source" : [
126
- " # To add documents to existing vector store:\n " ,
128
+ " # To add documents to an EXISTING vector store:\n " ,
127
129
" \n " ,
128
130
" # db.add_documents(docs)"
129
131
]
288
290
"name" : " python" ,
289
291
"nbconvert_exporter" : " python" ,
290
292
"pygments_lexer" : " ipython3" ,
291
- "version" : " 3.10.13 "
293
+ "version" : " 3.10.14 "
292
294
}
293
295
},
294
296
"nbformat" : 4 ,
You can’t perform that action at this time.
0 commit comments