Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ chunks = chunk_docs_nltk(documents, 500, 50)
|
|
12 |
print("generating embeddings")
|
13 |
embeddings = create_embeddings_opensource("dstampfli/finetuned-snowflake-arctic-embed-m")
|
14 |
print("creating vector store")
|
15 |
-
qdrant_vector_store = create_vector_store(":memory:", "Midterm",
|
16 |
print("creating retriever")
|
17 |
retriever = create_retriever_from_qdrant(qdrant_vector_store)
|
18 |
print("creating prompt")
|
|
|
12 |
print("generating embeddings")
|
13 |
embeddings = create_embeddings_opensource("dstampfli/finetuned-snowflake-arctic-embed-m")
|
14 |
print("creating vector store")
|
15 |
+
qdrant_vector_store = create_vector_store(":memory:", "Midterm", 768, embeddings, chunks)
|
16 |
print("creating retriever")
|
17 |
retriever = create_retriever_from_qdrant(qdrant_vector_store)
|
18 |
print("creating prompt")
|