Spaces:
Runtime error
Runtime error
Kushwanth Chowday Kandala
commited on
Commit
•
c6c7741
1
Parent(s):
6c20902
text response
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def chat_actions():
|
|
88 |
# now query vector database
|
89 |
result = index.query(query_vector, top_k=5, include_metadata=True) # xc is a list of tuples
|
90 |
with st.sidebar:
|
91 |
-
st.text(
|
92 |
|
93 |
for res in result['matches']:
|
94 |
st.session_state["chat_history"].append(
|
|
|
88 |
# now query vector database
|
89 |
result = index.query(query_vector, top_k=5, include_metadata=True) # xc is a list of tuples
|
90 |
with st.sidebar:
|
91 |
+
st.text(result["matches"])
|
92 |
|
93 |
for res in result['matches']:
|
94 |
st.session_state["chat_history"].append(
|