Spaces:
Running
Running
Stepan
commited on
Commit
·
863b3ac
1
Parent(s):
8c83cf7
Add WIP toggles
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ def main():
|
|
108 |
rag_pipeline = get_rag_pipeline()
|
109 |
# Sidebar
|
110 |
with st.sidebar:
|
111 |
-
st.header("
|
112 |
|
113 |
# Initialize RAG pipeline if not already done
|
114 |
# if st.session_state.rag_pipeline is None:
|
@@ -135,8 +135,12 @@ def main():
|
|
135 |
st.success(f"{documents_indexed} documents are indexed and ready!")
|
136 |
|
137 |
top_k = st.slider("Number of documents to retrieve", min_value=1, max_value=10, value=5)
|
138 |
-
#
|
139 |
-
|
|
|
|
|
|
|
|
|
140 |
|
141 |
|
142 |
# Display chat messages
|
|
|
108 |
rag_pipeline = get_rag_pipeline()
|
109 |
# Sidebar
|
110 |
with st.sidebar:
|
111 |
+
st.header("Sett`ings")
|
112 |
|
113 |
# Initialize RAG pipeline if not already done
|
114 |
# if st.session_state.rag_pipeline is None:
|
|
|
135 |
st.success(f"{documents_indexed} documents are indexed and ready!")
|
136 |
|
137 |
top_k = st.slider("Number of documents to retrieve", min_value=1, max_value=10, value=5)
|
138 |
+
# Work in progress
|
139 |
+
st.title("Work in progress")
|
140 |
+
st.toggle("Hybrid retrieval", disabled=True)
|
141 |
+
st.toggle("Self RAG", disabled=True)
|
142 |
+
st.toggle("Query Expansion", disabled=True)
|
143 |
+
st.toggle("Graph RAG", disabled=True)
|
144 |
|
145 |
|
146 |
# Display chat messages
|