Gradio 5 - Building a Quick Chabot UI for LangChain

  Рет қаралды 10,172

Sam Witteveen

Sam Witteveen

Күн бұрын

Пікірлер: 13
@jamesyoungerdds7901
@jamesyoungerdds7901 2 ай бұрын
Sam - this is just awesome. I watch and absorb every video you make - just really grateful for your efforts and engagement in the community. It's such a moving target every week, but I make sure I tune in for everything you have to say. I really like your "code with me" videos as well. Please keep it up! 🙏
@samwitteveenai
@samwitteveenai 2 ай бұрын
Thanks for the comment, much appreciated!
@epokaixyz
@epokaixyz 2 ай бұрын
Consider this your cheat sheet for applying the video's advice: 1. Use Gradio 5 to build a user interface for your LangChain chatbots. 2. Utilize Gradio's streaming functionality to display responses in real-time. 3. Experiment with system messages in LangChain to tailor your chatbot's personality and responses. 4. Leverage the ability to switch between different large language models (LLMs) for varied results. 5. Implement automatic memory to maintain conversational context throughout the chatbot interaction.
@ИванИванов-б8у4и
@ИванИванов-б8у4и 2 ай бұрын
how to add image or file handling to the interface?
@rorycawley
@rorycawley 22 күн бұрын
Did the 'examples' parameter for ChatInterface just get broken? I now see the examples embedded into the chat panel rather than clickable buttons below the chat textbox demo_interface = gr.ChatInterface( examples=["hello"], fn=stream_response, textbox=gr.Textbox(placeholder="Send to the LLM...", container=False, autoscroll=True, scale=7), )
@CaspersCuts
@CaspersCuts 15 күн бұрын
Am I correct in thinking that memory of chat history is achieved by sending the full history with each query? If so, this uses more tokens right? And eventually concatenated history of messages would become greater than permitted query size / context window size? When that happens would the earliest messages drop off the memory or would we get error that query is now too large?
@protovici1476
@protovici1476 27 күн бұрын
I wonder if this and LightningAI are equal to get your programs to the public or even a paid service.
@JurekOK
@JurekOK 2 ай бұрын
what about "streaming graphs" that is, where the 2D plot of data needs to update at ~10fps ?
@ajinkyapuranik9377
@ajinkyapuranik9377 2 ай бұрын
Will this use up a bunch of tokens really fast?
@samwitteveenai
@samwitteveenai 2 ай бұрын
no it is just streaming the tokens. I asked for 500 words so we could see the streamig easily
@ajinkyapuranik9377
@ajinkyapuranik9377 2 ай бұрын
@@samwitteveenai I see! I guess I didnt catch that
@PepitoGrillo-sq1mf
@PepitoGrillo-sq1mf 2 ай бұрын
I'm missing the second video of Agents
PydanticAI - The NEW Agent Builder on the Block
21:45
Sam Witteveen
Рет қаралды 27 М.
streamlit vs gradio: which to pick? - Davide Poggiali
21:07
Python Italia
Рет қаралды 4,8 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Gemini 2.0 - Video Analyzer with Code
17:47
Sam Witteveen
Рет қаралды 9 М.
LangChain vs LangGraph: A Tale of Two Frameworks
9:55
IBM Technology
Рет қаралды 43 М.
Anthropic MCP + Ollama. No Claude Needed? Check it out!
18:06
What The Func? w/ Ed Zynda
Рет қаралды 8 М.
This is how I scrape 99% websites via LLM
22:44
AI Jason
Рет қаралды 172 М.
Let Cursor Agent Build Your Agents for You (Zero-Shot)
10:30
Arseny Shatokhin
Рет қаралды 13 М.
Gemini 2.0 Flash Thinking
20:13
Sam Witteveen
Рет қаралды 11 М.
Ditch Expensive Tools and Build Anything with Bolt.new for FREE
18:01
Ollama + HuggingFace - 45,000 New Models
7:48
Sam Witteveen
Рет қаралды 10 М.