Build Streamlit GUI to chat with Travel Recommendation RAG🚀: Python — LlamaIndex #2

Описание к видео Build Streamlit GUI to chat with Travel Recommendation RAG🚀: Python — LlamaIndex #2

In today’s tutorial, we are going to build a Streamlit graphical user interface so that we can chat with a travel recommendation RAG using LlamaIndex with an OpenAI model. I'll show you an example in Python.

⭐ Code ⭐
GitHub repository: https://github.com/rokbenko/ai-playgr...
Code for this tutorial: https://github.com/rokbenko/ai-playgr...

🙌 Support 🙌
If you would like to support me, subscribe to my YouTube channel (    / @rokbenko   ). Don't forget to click the bell 🔔 to get a notification when I release a new video.

👇 Contact 👇
GitHub: https://github.com/rokbenko
StackOverflow: https://stackoverflow.com/users/10347...
LinkedIn:   / rokbenko  

🎞️ Timestamps 🎞️
00:00 – Intro
00:15 – Code for this tutorial
00:30 – Install LlamaIndex and Streamlit
00:34 – Set environment variables
01:07 – App look if env variables provided vs. not provided
01:43 – App title and Streamlit session state explained
02:14 – Get the user's question, append it to the state and display it
02:29 – Set OpenAI model parameters
03:14 – If statement explained
03:24 – Load documents and create a vector index
03:44 – Perform a streaming query
04:05 – Get the assistants's answer and append it to the state
04:21 – Run the Streamlit app
04:54 – Outro

#AI #LlamaIndex #OpenAI #Streamlit #RAG

Комментарии

Информация по комментариям в разработке