How to Stream LangChainAI Abstractions and Responses using Streamlit Callback Handler and Chat UI

  Рет қаралды 5,572

Avra

Avra

Күн бұрын

Пікірлер: 29
@Avra_b
@Avra_b Жыл бұрын
Link to the blog post - medium.com/@avra42/stream-langchain-ai-abstractions-and-responses-in-your-web-app-langchain-tools-in-action-e37907779437
@jasonferguson5929
@jasonferguson5929 9 ай бұрын
I am stumbling upon this video in March 2024 after trying many times to get my Streamlit / Langchain project to use outside tools... I'll be trying to jam this when I get home. Thank you so much for this one.
@Avra_b
@Avra_b 9 ай бұрын
Glad to hear ! Just a quick update, langchain package has been updated quite a time since over last couple of months. The code used might be deprecated already , however I’m certain they have something very similar ( streamlit callback handler )
@phani3519
@phani3519 7 ай бұрын
do you have any tutorials on how to use vector database to query the document with streaming response?
@Avra_b
@Avra_b 3 ай бұрын
I do!
@phani3519
@phani3519 3 ай бұрын
@@Avra_b hey man, I can say that I may not need those links anymore, way past that 😉
@Avra_b
@Avra_b 3 ай бұрын
@@phani3519 super! Sorry for the late response. Best wishes :)
@adityaghongade3551
@adityaghongade3551 9 ай бұрын
Great tutorial !!! I have one question... If I am using "Human" tool of langchain which has a prompt which asks user to give some extra details for the agent to work properly, how are we going to leverage it to Streamlit. Could you make a video/ or give some suggestions for the same. It would be of great help. Thanks !
@Avra_b
@Avra_b 3 ай бұрын
I’m not sure langchain still have the same sdk
@romellfudi
@romellfudi Жыл бұрын
Excelent tutorial!
@Avra_b
@Avra_b Жыл бұрын
Thanks 😊 glad to hear 🤗
@mikew2883
@mikew2883 Жыл бұрын
Awesome video!👍
@Avra_b
@Avra_b Жыл бұрын
Thank you ☺️
@henkhbit5748
@henkhbit5748 9 ай бұрын
Great video👍
@Avra_b
@Avra_b 9 ай бұрын
Thank you , appreciate
@shivarajgudaganatti8573
@shivarajgudaganatti8573 10 ай бұрын
I want to stream thoughts etc. but without using streamlit as i have our own UI. Is it possible to do?
@Avra_b
@Avra_b 3 ай бұрын
No
@ABHISHEKSHARMA-fo4tf
@ABHISHEKSHARMA-fo4tf Жыл бұрын
This is amazing video where we can get lot of information . Can you make a video on how we connect streaming with llmchain and memory and show the streaming in webpage or html or streamlit?
@Avra_b
@Avra_b Жыл бұрын
Thanks ! ☺️ the streaming callback handler must work. Irrespective of memory / chains.
@ABHISHEKSHARMA-fo4tf
@ABHISHEKSHARMA-fo4tf Жыл бұрын
the problem is when the response is come the after it is streaming , and it is just append the output so i make a receipe chatbot with vector database where i used the conversationchain , ones the chain is complete then it write in streaming , i want that it real time generating the text same as streaming so it is possible, beacause when it show after the response then it show time is double.can you help in this @@Avra_b
@SarathSathyan-u2y
@SarathSathyan-u2y 10 ай бұрын
This is great. But still there is no change in the waiting time know? only you are streaming the final text I guess
@Avra_b
@Avra_b 3 ай бұрын
Right ! It was way before ; things have changed now ;)
@REALVIBESTV
@REALVIBESTV Жыл бұрын
I sent you a message on Twitter but you haven't read the message
@Avra_b
@Avra_b Жыл бұрын
Shoot here / or DM again please . Apologies . What’s your handle name ? Would love to connect
@REALVIBESTV
@REALVIBESTV Жыл бұрын
​@@Avra_bI've been researching Langchain and noticed that you have expertise in it. I'm currently working on an OpenAI voice chatbot in Python, but I lack knowledge in Langchain. I'm interested in integrating a conversation buffer memory into the bot so it can retain context during conversations. I don't know if you do work like that
@REALVIBESTV
@REALVIBESTV Жыл бұрын
I was asking if you take on a job like what am looking for
@Avra_b
@Avra_b Жыл бұрын
Hi thanks for dropping your query . Sounds interesting. Unfortunately I’m not taking any freelance projects ATM . However , would you care to check out this video of mine - Build a PERSONAL CHATBOT with LangChainAI MEMORY with ChatGPT-3.5-Turbo API in PYTHON kzbin.info/www/bejne/mpKwf3p9ha-ee6c Also this -kzbin.info/www/bejne/mXnNnaObp6qGmMksi=V5xAUxu_a9_u6aY4 I’ve explained here the idea of using Memory in Chains . Try them out . You will find reference blog post as well . That might also add more context . Feel free to leave your comments in the underlying videos . Usually I make sure to reply to most of the comments , best wishes
@eladiomendez8226
@eladiomendez8226 Жыл бұрын
Great stuff !
@Avra_b
@Avra_b Жыл бұрын
Thanks ! I'm glad that you liked it :)
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Stream LLMs with LangChain + Streamlit | Tutorial
18:26
Alejandro AO - Software & Ai
Рет қаралды 30 М.
DataStreaming with LangChain & FastAPI
8:51
Coding Crash Courses
Рет қаралды 19 М.
A foolproof way to get ANY project done using ChatGPT
10:46
LLM Chat App in Python w/ Ollama-py and Streamlit
22:28
Decoder
Рет қаралды 10 М.
Build a Streamlit Chatbot FAST 🤯
8:05
Coding Is Fun
Рет қаралды 59 М.
Build Anything with Llama 3 Agents, Here’s How
12:23
David Ondrej
Рет қаралды 163 М.
Chat with a CSV - LangChain CSV Agents Tutorial For Beginners (OpenAI API)
13:11
Ryan & Matt Data Science
Рет қаралды 17 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН