Thread Reader
Share this page!
×
Post
Share
Email
Enter URL or ID to Unroll
×
Unroll Thread
You can paste full URL like: https://x.com/threadreaderapp/status/1644127596119195649
or just the ID like: 1644127596119195649
How to get URL link on X (Twitter) App
On the Twitter thread, click on
or
icon on the bottom
Click again on
or
Share Via icon
Click on
Copy Link to Tweet
Paste it above and click "Unroll Thread"!
More info at
Twitter Help
virat
@virattt
Exploring multimodal AI models and sharing what I learn along the way • previously @AirbnbEng
Subscribe
Save as PDF
May 12, 2023
•
4 tweets
•
3 min read
So, I'm learning how to build LLM-powered chat apps that are more production-ready, from scratch.
I've created an open-source repo that contains my ongoing explorations.
The stack:
• Django backend
• React frontend
•
@LangChainAI
agents
• Websocket protocol
GitHub below.
In my free time, my main focus will be to evolve this codebase.
Functionalities I want to add:
• Streaming LLM output
• Storage (e.g. vector db)
• More agent tools
• Short-term memory
• BabyAGI
• Plan-and-Execute agent
• More sophisticated UI
• Error handling
What else?
Save as PDF
Apr 18, 2023
•
4 tweets
•
2 min read
Alright, I finally understand
@LangChainAI
agents and tools.
I can now create a custom:
1.
Tool that "reads" annual reports
2.
Agent that answers queries via the tool
For my example, I am using $META's 2022 annual report.
Code is below. Happy learning 🙂 (1/3) About the custom Tool
Under the hood, the Annual Report tool is forwarding queries to a
@LangChainAI
chain.
This chain answers queries using:
•
@trychroma
's Chroma DB
•
@OpenAI
's GPT-3.5 Turbo model
I still don't have API access to GPT-4. Sigh.
Save as PDF
Apr 7, 2023
•
6 tweets
•
2 min read
I've seen multiple questions about how to build a Chatbot that:
• Retrieves data from PDFs and
• Has conversational memory
Turns out, it's really simple to do with
@LangChainAI
.
So, I wrote a quick tutorial with a real-world example for you all.
Code below.
1/4
Prompt: "What was Airbnb's net income in 2022?"
Response: "$1.9 billion"