Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,7 @@ documents = SimpleDirectoryReader('./data/').load_data()
|
|
| 16 |
db = chromadb.PersistentClient(path="./data")
|
| 17 |
chroma_collection = db.get_or_create_collection("zalacznik_nr12")
|
| 18 |
vector_store = ChromaVectorStore(chroma_collection=chroma_collection)
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
# Utw贸rz pipeline do przetwarzania dokument贸w
|
|
|
|
| 16 |
db = chromadb.PersistentClient(path="./data")
|
| 17 |
chroma_collection = db.get_or_create_collection("zalacznik_nr12")
|
| 18 |
vector_store = ChromaVectorStore(chroma_collection=chroma_collection)
|
| 19 |
+
embed_model = HuggingFaceEmbedding(model_name="BAAI/bge-small-en-v1.5")
|
| 20 |
|
| 21 |
|
| 22 |
# Utw贸rz pipeline do przetwarzania dokument贸w
|