Build Chat AI apps w/ Streamlit + LangChain
18.1 هزار بار بازدید -
12 ماه پیش
-
Langchain's Agent is the powerhouse
Langchain's Agent is the powerhouse to LLM (large language models), as it "delegates" to specialized tools ("experts") like calculator, web browser, translators etc among a wide suite of tools, determining at each step the best specialized tool, or combination of tools, to use. All powered by #langchain tools and action agents.
Action agents: at each timestep, decide on the next action using the outputs of all previous actions
Plan-and-execute agents: decide on the full sequence of actions up front, then execute them all without updating the plan
We combine this with Streamlit, a python based web app framework popular among machine learning engineers to build an AI web application powered by langchain and feels interactive and blazing fast⚡!
Read about LangChain Agents:
https://python.langchain.com/docs/mod...
Read about Streamlit:
https://docs.streamlit.io/
MRKL paper:
https://arxiv.org/pdf/2205.00445.pdf
- Watch PART 1 of the LangChain / LLM series:
Build a GPT Q&A on your own data
LangChain + OpenAI tutorial: Building...
- Watch PART 2 of the LangChain / LLM series:
LangChain + OpenAI to chat w/ (query) own Database / CSV!
LangChain + OpenAI to chat w/ (query)...
- Watch PART 3 of the LangChain / LLM series
LangChain + HuggingFace's Inference API (no OpenAI credits required!)
LangChain + HuggingFace's Inference A...
- Watch PART 4 of the LangChain / LLM series
Understanding Embeddings in LLMs (ft LlamadIndex + Chroma db)
Understanding Embeddings in LLMs (ft ...
- Watch PART 5 of the LangChain / LLM series
Query any website with GPT3 and LlamaIndex
GPT scrapes + answers from any sites ...
- Watch PART 6 of the LangChain / LLM series
Locally-hosted, offline LLM w/LlamaIndex + OPT (open source, instruction-tuning LLM)
Locally-hosted, offline LLM w/LlamaIn...
- Watch PART 7 of the LangChain / LLM series
Building an AI language tutor: Pinecone + LlamaIndex + GPT-3 + BeautifulSoup
Building an AI language tutor: Pineco...
- Watch PART 8 of the LangChain / LLM series
Building a queryable journal 💬 w/ OpenAI, markdown & LlamaIndex 🦙
Building a queryable journal 💬 w/ Ope...
- Watch PART 9 of the LLM series
Making a Sci-Fi game w/ Cohere LLM + Stability.ai: Generative AI tutorial
Making a Sci-Fi game w/ Cohere LLM + ...
- Watch PART 10 of the LLM series
GPT builds entire app from prompt (ft. SMOL Developer)
GPT builds entire app from prompt (ft...
- Watch Part 11 (Prompt Engineering / Prompt Design)
A language for LLM Prompt Design: Guidance
A language for LLM prompt design | Gu...
- Watch Part 12: LangChain Caching
You should use LangChain's Caching!
All the code for the LLM (large language models) series featuring GPT-3, ChatGPT, LangChain, LlamaIndex and more are on my github repository so go and ⭐ star or 🍴 fork it. Happy Coding!
https://github.com/onlyphantom/llm-py...
Action agents: at each timestep, decide on the next action using the outputs of all previous actions
Plan-and-execute agents: decide on the full sequence of actions up front, then execute them all without updating the plan
We combine this with Streamlit, a python based web app framework popular among machine learning engineers to build an AI web application powered by langchain and feels interactive and blazing fast⚡!
Read about LangChain Agents:
https://python.langchain.com/docs/mod...
Read about Streamlit:
https://docs.streamlit.io/
MRKL paper:
https://arxiv.org/pdf/2205.00445.pdf
- Watch PART 1 of the LangChain / LLM series:
Build a GPT Q&A on your own data
LangChain + OpenAI tutorial: Building...
- Watch PART 2 of the LangChain / LLM series:
LangChain + OpenAI to chat w/ (query) own Database / CSV!
LangChain + OpenAI to chat w/ (query)...
- Watch PART 3 of the LangChain / LLM series
LangChain + HuggingFace's Inference API (no OpenAI credits required!)
LangChain + HuggingFace's Inference A...
- Watch PART 4 of the LangChain / LLM series
Understanding Embeddings in LLMs (ft LlamadIndex + Chroma db)
Understanding Embeddings in LLMs (ft ...
- Watch PART 5 of the LangChain / LLM series
Query any website with GPT3 and LlamaIndex
GPT scrapes + answers from any sites ...
- Watch PART 6 of the LangChain / LLM series
Locally-hosted, offline LLM w/LlamaIndex + OPT (open source, instruction-tuning LLM)
Locally-hosted, offline LLM w/LlamaIn...
- Watch PART 7 of the LangChain / LLM series
Building an AI language tutor: Pinecone + LlamaIndex + GPT-3 + BeautifulSoup
Building an AI language tutor: Pineco...
- Watch PART 8 of the LangChain / LLM series
Building a queryable journal 💬 w/ OpenAI, markdown & LlamaIndex 🦙
Building a queryable journal 💬 w/ Ope...
- Watch PART 9 of the LLM series
Making a Sci-Fi game w/ Cohere LLM + Stability.ai: Generative AI tutorial
Making a Sci-Fi game w/ Cohere LLM + ...
- Watch PART 10 of the LLM series
GPT builds entire app from prompt (ft. SMOL Developer)
GPT builds entire app from prompt (ft...
- Watch Part 11 (Prompt Engineering / Prompt Design)
A language for LLM Prompt Design: Guidance
A language for LLM prompt design | Gu...
- Watch Part 12: LangChain Caching
You should use LangChain's Caching!
All the code for the LLM (large language models) series featuring GPT-3, ChatGPT, LangChain, LlamaIndex and more are on my github repository so go and ⭐ star or 🍴 fork it. Happy Coding!
https://github.com/onlyphantom/llm-py...
12 ماه پیش
در تاریخ 1402/04/23 منتشر شده
است.
18,126
بـار بازدید شده