Intro to Generative UI with LangChain
Вставка
- Опубліковано 9 чер 2024
- This is the first video in our three-part video series on building generative UI applications with LangChain. See the inner workings of how the generative UI API works, use cases, and ways it can unlock new user experiences.
Generative UI docs in LangChain.js: js.langchain.com/v0.2/docs/ho...
Building Generative UI with LangChain.js video: • Building a Generative ...
Building Generative UI with LangChain Python video: • Building a Generative ... - Наука та технологія
Maybe its coming in a future video, but this is not "generative UI" in the sense that most people think of. Generative UI would mean the LLM is "generating" a custom UI, on the fly, per the user's needs at that moment. Here it appears you have simply mapped a UI widget / template to a tool, and maybe an if/else statement saying whether to use widget or not and fill it with data from the LLM. This is conditional UI. Still useful but misleading name of video.
The core tech powering the ability to send UI components (either auto-generated, or pre-built) from the server -> client is one part of the next two videos we're releasing. Actually generating HTML/JSX code to render on the fly is possible, and the tech we'll show off in the upcoming videos can be used in that type of application too. But building an app which can do that well is out of scope for this video series. It would be very cool to do something like that in the future though!
I'd have to agree with you. Generarive UI may not be the right term here.
Maybe Agent UI may be close to what this does, as the LLM receiving the input it mapped to predefined tools that do specific things.
The mental picture i had hearing "Generative UI" isn't what is described here. Maybe someday in the near future.
Procedural or parametric, really.
D cc w*2 AS SSSẞDD WE ARE
I agree. I was expecting UI generated on the fly which woul be amazing.
excellent overview ! We are super excited to learn this new software paradigm 💫
Thanks for the awesome content! Greetings from Curitiba, Brasil.
Gonna give it a shot, thanks langchain 🔥
amazing! thanks! i hope next two videos! :)
Amazing stuff.
Knowledgeable
Is this a JS exclusive feature or is there anything on the roadmap for Python to offer anything similar/equivalent? (obviously JS often has an edge for things in the browser)
The third video in the series will use a Python backend, and Next.js frontend to implement a generative UI chatbot!
@@LangChain now that is more like it! looking forward comparing our workflows.
thank you for your effort,
but can you make a video for angular too?
Github repo for this sample? , can this be implemented with Python and Streamlit also ?
The next two videos will both include public GitHub repos which you can fork. The second will implement generative UI with a Python backend, and a Next.js frontend (release date 06/12)
@@LangChainexactly what is needed
Interesting. But not Generative UI that I expected. In my view, this looks more as LLM query on the backend. I see GenUI more like generating the components on the fly, apply DS tokens to render and map the functionality :)
cool
Wow
I’m not sold yet. Do users want to have dynamic UIs like this? This feels like a situation of cool tech looking for a use case.
have you used perplexity ai?
@@akimodeli I’ve used Perplexity a little. It adds some value, but I don’t think it’s a game changer. At least not yet.
Where are we heading to ?!?😮😮😮
😁hell yea
Isn't that what Vercel is supposed to give ?
Sort-of. The next two videos both use Vercel's AI SDK in some parts of the application, however it isn't able to do it all.
@@LangChain It would be great to have an example with the Vercel SDK and another with Python + Vercel SDK (Client). Very good video!
Those are both coming this week! Tomorrow we're releasing a video building an app with a full JS stack (uses AI SDK by Vercel) and the next day we'll release one with a Python backend and Next.js frontend (will also use AI SDK by Vercel).
@@LangChain This is so cool. I have never tried langchain.js before as I am more of a backend developer where I work, curious to know if I can use a large langue model fine tuned in another language (Swahili) as the llm
@@LangChain This is so cool. I have never tried langchain.js before as I am more of a backend developer where I work, curious to know if I can use a large langue model fine tuned in another language (Swahili) as the llm
Bearing in mind that frontend devs focus on shaving kilobytes off their bundle in the name of getting the UI to load faster, this is cool but it will be too slow