kristi.vice
14h
I’m using a quickstart guide that includes a prompt file that lets us add top level info about 2 Snowflake tables that I send to OpeanAi via a function I created: get_system_prompt
which is used like this:
st.session_state.messages = [{"role": "system", "content": get_system_prompt()}]
In this function I’ve hardcoded a table description variable that I wrote describing the 2 tables.
Unfortunately I can’t attach a link but the name of the quickstart I’m using is " Frosty: Build an LLM Chatbot in Streamlit on your Snowflake Data"
I’m looking for some recommendations on how to make this more dynamic so I don’t have to hardcode each table name, and also how to make the table description for each table? Is it necessary to include the table description, its alot of typing for like 100 tables… Open to any/all suggestions!