LangChain Expression Language

Описание к видео LangChain Expression Language

This video shows LangChain Expression Language and 'langchain_experimental' being used to calculate mortgage interest as a percentage of income in the UK using "invoke" and also uses "PALChain". "LangChain Expression Language is a declarative way to easily compose chains together."

Watch and see the whole chain:
chain = prompt | model | StrOutputParser() | _sanitize_output | PythonREPL().run

- chapters -
00:00 Intro
00:52 prompt
01:32 the "pipe"
02:55 result 1
06:39 result 2
10:13 pie chart

LangChain Tutorials Playlist :    • OpenAI & LangChain & chatGPT  

☑️ pip install langchain
☑️ pip install openai

🌏 https://blog.langchain.dev/goodbye-cv...

Become a patron : 🌏   / drpi  
Buy me a coffee (or Tea) ☕ https://www.buymeacoffee.com/DrPi

If you want a fast VPS server with Python installed check out :
☑️ https://webdock.io/en?maff=wdaff--170
Code:
https://gist.github.com/RGGH/06e93009...

Pytest with FastAPI course on "TestDriven.io":
-------------------------------------------------------------------------
https://testdriven.io/courses/tdd-fas...
https://testdriven.io/courses/scalabl...
https://testdriven.io/courses/fastapi...

Thumbs up yeah? (cos Algos..)

#LangChain #LangChainExpressionLanguage #PythonREPL

Комментарии

Информация по комментариям в разработке