playground

This commit is contained in:
Xi Yan 2024-11-27 15:27:10 -08:00
parent 125d98c9bd
commit 68b70d1b1f
3 changed files with 74 additions and 2 deletions

View file

@ -19,9 +19,13 @@ def main():
chat_page = st.Page(
"page/playground/chat.py", title="Chat", icon="💬", default=True
)
rag_page = st.Page("page/playground/rag.py", title="RAG", icon="💬", default=False)
pg = st.navigation(
{"Evaluations": [application_evaluation_page], "Playground": [chat_page]}
{
"Evaluations": [application_evaluation_page],
"Playground": [chat_page, rag_page],
}
)
pg.run()