LangChain Tutorial (Python) #2: LLM Chains and Prompt Templates

preview_player
Показать описание
#openai #langchain

In this video we will create an LLM Chain by combining our model and a Prompt Template.
You will also learn what Prompt Templates are, and how we can use Prompt Templates to control with inputs and outputs of the LLM generations.

☕ Buy me a coffee:

📑 Useful Links:

💬 Chat with Like-Minded Individuals on Discord:

🧠 I can build your chatbots for you!

🕒 TIMESTAMPS:
00:00 - Intro
00:33 - Activate VENV
00:46 - Setup
01:40 - Adding a prompt template
03:08 - Introducing LLM Chains
04:58 - from_messages
06:38 - Format the response
Рекомендации по теме
Комментарии
Автор

I lost it when the bro said, "lets change the dog, which I think a terrible ingredient ...." 🤣

nice tutorial series learning a lot ❤

lasithdissanayake
Автор

Keep doing these videos. People will slowly realize the value.

Aidev
Автор

Great video, thanks for the effort!
would be glad if can you provide the right source code, I think the one in the description is of the previous one

mlTS
Автор

nice one leon.
4 videos for langchain JS, how many are there for this langchain PY series ?? (does it include EndtoEnd Assistants API integration)

khalidkifayat
Автор

how could I add my prompt/input directly from the terminal instead of writing it inside the invoke script. ex: py llm. py "tell me a joke"

albertdiaz