Update app.py
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ with streamlit_analytics.track():
|
|
| 100 |
embed_setup()
|
| 101 |
client = qdrant_setup()
|
| 102 |
llm = llm_setup()
|
| 103 |
-
vector_store = QdrantVectorStore(client=client, collection_name="
|
| 104 |
index = VectorStoreIndex.from_documents(st.session_state['documents'], vector_store=vector_store)
|
| 105 |
st.session_state['index'] = index
|
| 106 |
st.session_state['setup_complete'] = True
|
|
|
|
| 100 |
embed_setup()
|
| 101 |
client = qdrant_setup()
|
| 102 |
llm = llm_setup()
|
| 103 |
+
vector_store = QdrantVectorStore(client=client, collection_name="testdoc1")
|
| 104 |
index = VectorStoreIndex.from_documents(st.session_state['documents'], vector_store=vector_store)
|
| 105 |
st.session_state['index'] = index
|
| 106 |
st.session_state['setup_complete'] = True
|