Azure Cognitive Search in a Streamlit ChatBot?

Hi Im currently developing a chatbot using Streamlit. Right now I’ve also linked it to an Azure Search account so it could be capable of using RAG when chatting with the AI. But I noticed it starts to rerun the entire code everytime I send a message or click a filter.

I tried to use session states and st.cache_data but that didn’t change anything. Honestly before I integrated the Cognitive Search into this, everything worked very smoothly and there was no rerunning visible.

Has anyone tried using Cognitive Search with streamlit and can they help?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.