ranfysvalle02/Interactive-RAG

Support selecting Google search results to learn

Opened this issue · 1 comments

Rather than having to type 'Learn n', allow the user to select results to learn.

Not sure if streamlit provides a component that would make this easy --

Maybe this? https://pypi.org/project/streamlit-option-menu/

import streamlit as st
from streamlit_option_menu import option_menu

options = ["Option 1", "Option 2", "Option 3"]
selected_option = option_menu("Select an option", options, default_index=0)

st.write("You selected:", selected_option)