Update app.py
Browse files
app.py
CHANGED
@@ -162,4 +162,14 @@ if user_input:
|
|
162 |
# Display the conversation history
|
163 |
for chat in st.session_state.history:
|
164 |
st.write(f"You: {chat['user']}")
|
165 |
-
st.write(f"Bot: {chat['bot']}")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
# Display the conversation history
|
163 |
for chat in st.session_state.history:
|
164 |
st.write(f"You: {chat['user']}")
|
165 |
+
st.write(f"Bot: {chat['bot']}")
|
166 |
+
|
167 |
+
|
168 |
+
st.markdown("What is this app?")
|
169 |
+
st.markdown("-----------------")
|
170 |
+
st.markdown("This is a simple RAG application using Wikipedia API.")
|
171 |
+
st.markdown("The model for chat is Mistral-7B-Instruct-v0.3")
|
172 |
+
st.markdown("Main libraries: Langchain (text splitting), Chromadb (vector store)")
|
173 |
+
st.markdown("This RAG uses query expansion and re-ranking to improve the quality.")
|
174 |
+
st.markdown("Feel free to check the files or DM me for any questions. Thank you.")
|
175 |
+
st.markdown("[Current agenda] Creating fallback for fuzzy keywords for wikipedia search")
|