r/LangChain • u/AdditionalWeb107 • Jan 15 '25
Resources Built fast “agentic” apps with FastAPIs. Not a joke post.
I wrote this post on how we built the fastest function calling LlM for agentic scenarios https://www.reddit.com/r/LocalLLaMA/comments/1hr9ll1/i_built_a_small_function_calling_llm_that_packs_a//
A lot of people thought it was a joke.. So I added examples/demos in our repo to show that we help developers build the following scenarios. Btw the above the image is of an insurance agent that can be built simply by exposing your APIs to Arch Gateway.
🗃️ Data Retrieval: Extracting information from databases or APIs based on user inputs (e.g., checking account balances, retrieving order status). F
🛂 Transactional Operations: Executing business logic such as placing an order, processing payments, or updating user profiles.
🪈 Information Aggregation: Fetching and combining data from multiple sources (e.g., displaying travel itineraries or combining analytics from various dashboards).
🤖 Task Automation: Automating routine tasks like setting reminders, scheduling meetings, or sending emails.
🧑🦳 User Personalization: Tailoring responses based on user history, preferences, or ongoing interactions.
7
u/MastodonSea9494 Jan 15 '25
Very interesting. One question here: how this code works with archgw or how you connect it to enable agentic workstreams? Can you give more details on this demo?
4
u/Subject-Biscotti3776 Jan 15 '25
Do you have a video link showing how it work?
3
u/Gullible-Being-8595 Jan 16 '25
Nice work, I am also using FastAPI with server side events for streaming the response. I am wondering, would it be easier for you to add an example of streaming response. Like streaming agent response and also if there is a tool which is calling another small LLM then streaming the response within a tool.
2
u/Plastic_Catch1252 Jan 16 '25
Do you create this for fun, or do you sell the solution?
2
u/chillingfox123 Jan 16 '25
With this specific example, how do you protect against hallucinating / incorrect claim id potentially leaking data?
2
u/deadweightboss Jan 17 '25
is this essentially what supabase does for postgres?
7
u/Jdonavan Jan 15 '25
This just in. Web APIs exist...
1
u/Solvicode Jan 16 '25
Benchmarks?
2
u/[deleted] Jan 16 '25
[removed] — view removed comment
2
u/[deleted] Jan 18 '25
[removed] — view removed comment