On this video we cowl the best way to log person prompts from a Streamlit LLM software utilizing Trubrics. Observe: That is appropriate with any Python based mostly LLM software, utilizing the Trubrics SDK.
The tutorial outlines the best way to:
– Combine the trubrics.log_prompt inside your LLM software.
– Configure further parameters akin to user_id, tags and session_id.
– Hyperlink the prompt_id to a particular piece of suggestions, submitted utilizing the Trubrics FeedbackCollector.
Deployed LLM Streamlit instance: https://trubrics-llm-example-chatbot.streamlit.app/
LLM Streamlit instance code: https://github.com/trubrics/trubrics-sdk/blob/main/examples/streamlit/llm_chatbot.py
To get began with Trubrics, create a free account on our getting began information: https://trubrics.github.io/trubrics-sdk/