Spaces:
Sleeping
Sleeping
initial commit
Browse files- functions.py +2 -0
functions.py
CHANGED
@@ -77,7 +77,9 @@ def addDocuments(text: str, vectorstorename: str):
|
|
77 |
chunk_overlap = 200,
|
78 |
add_start_index = True
|
79 |
)
|
|
|
80 |
texts = text_splitter.create_documents([text])
|
|
|
81 |
vectorstore = SupabaseVectorStore(
|
82 |
client = client,
|
83 |
embedding = embeddings,
|
|
|
77 |
chunk_overlap = 200,
|
78 |
add_start_index = True
|
79 |
)
|
80 |
+
print(text)
|
81 |
texts = text_splitter.create_documents([text])
|
82 |
+
print(texts)
|
83 |
vectorstore = SupabaseVectorStore(
|
84 |
client = client,
|
85 |
embedding = embeddings,
|