From 7d63c139e3697ff1f490d8a21f015ca6eb857df4 Mon Sep 17 00:00:00 2001 From: Jon Fairbanks Date: Fri, 22 Mar 2024 00:18:00 -0700 Subject: [PATCH] Update system prompt config --- utils/rag_pipeline.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/rag_pipeline.py b/utils/rag_pipeline.py index 7b90888..c38bb0d 100644 --- a/utils/rag_pipeline.py +++ b/utils/rag_pipeline.py @@ -59,6 +59,7 @@ def rag_pipeline(uploaded_files: list = None): llm = ollama.create_ollama_llm( st.session_state["selected_model"], st.session_state["ollama_endpoint"], + st.session_state["system_prompt"], ) st.session_state["llm"] = llm st.caption("✔️ LLM Initialized")