Build Your First Streamlit LLM App
Pranav Prajapati
Data Scientist II at Verisk | Product Analytics | Fraud | Trust & Safety
Hands-On with LLMs: A Project-Based Approach to Building LLM Applications
As a big fan of project-based learning, I believe that hands-on experience is the key to truly understanding complex concepts. That's why I built Culinary Convo, a multi-page Streamlit application to dive deep into the world of Large Language Models (LLMs), OpenAI's Chat completions API, PromptLayer, LangChain, and Streamlit's interactive web framework.
Streamlit: A Framework for Web Apps
Streamlit empowers developers to create web applications with ease. Its interactivity and simplicity were vital in building Culinary Convo, enabling users to experience the power of LLMs firsthand.
OpenAI's Chat Completions API
Chat models transform a list of messages into model-generated text, a versatile approach for both multi-turn and single-turn tasks.
PromptLayer
This tool records all your OpenAI API requests, allowing you to search and explore request history - a powerful asset for prompt management!
LangChain
LangChain provides the tools to build applications powered by LLMs. It's an orchestration tool that enables interactive chaining of different prompts.
Culinary Convo: A Technical Overview
A multi-page Streamlit application that brings together diverse technologies, including:
Features
Demo
Get a glimpse of Ingredients Guru and Gourmet Ghostwriter in action!
Step by Step: How to Run Culinary Convo
Roadmap
Future updates include support for different LLM providers, custom chatbots, and more.
Join the Journey
Explore Culinary Convo on GitHub and embark on a journey where technology meets creativity. Whether you're looking to build your first LLM app or explore prompt engineering, this project is a fascinating starting point.
Please create a pull request if you wish to contribute!
#LLMs #OpenAI #PromptLayer #LangChain #Streamlit #Tutorial #Innovation
Great starter repository for beginners ??