clui commited on
Commit
1abb411
·
verified ·
1 Parent(s): 636ade8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -13,4 +13,6 @@ st.title("Aplikacja z LlamaIndex")
13
 
14
  # Załaduj dokumenty
15
  documents = SimpleDirectoryReader('./data/').load_data()
16
- print(documents)
 
 
 
13
 
14
  # Załaduj dokumenty
15
  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)