Create LLM Application Using Langchain With Ease
Create LLM Application Using Langchain With Ease
Applications with
LangChain
hossam-eldin @codewello
What is LangChain
LangChain is an open-source
hossam-eldin @codewello
Setup
is pretty straightforward.
hossam-eldin @codewello
Test code
let’s run small test to see if it
worked
output
Why do bees have sticky hair?
No Open ai ? No Problem
hossam-eldin @codewello
Prompt Template
hossam-eldin @codewello
Prompt Template
Output:
Multi-Step Workflows
LangChain context is integrating LLMs
with other elements to create
applications, with examples like :
. Combining LLMs sequentially.
. Integrating with templates.
. Merging with external data.
. Incorporating long-term memory.
hossam-eldin @codewello
Multi-Step Workflows
First step
hossam-eldin @codewello
Multi-Step Workflows
Second step
Output
hossam-eldin @codewello
Thanks !!
Keep on learning
Happy Coding