Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 731 Bytes

File metadata and controls

31 lines (16 loc) · 731 Bytes

A template for chatbot streaming from langgraph with gradio

The template features history for the LLM, a couple tool calls, streaming output, tabs, persistence, and follow-up question buttons.

image

Install

pip install uv

Add your openai api key to .env Optionally add tavily key for websearch

Run

uv run app.py

With session only

app_session_only.py is a version with only session state

You can run it with

uv run app_session_only.py

image

License

This code is published under the MIT License