How to make an Ollama Powered AI Chatbot using Python and Langchain Part 2

Опубликовано: 24 Ноябрь 2024
на канале: AB Analytica
301
7

This is the second part of the series - AI chat bot using Ollama.
View the full playlist here :    • Local AI chatbot powered by Ollama | ...  

Part 1 :
Install Ollama and interact in terminal :    • How to install and run Ollama models ...  
Part 3:    • Build AI Chatbot powered by Ollama Pa...  

Documentation of technologies:
Ollama : https://ollama.com/
Langchain : https://python.langchain.com/docs/int...

GitHub link to the repo : https://github.com/hashABCD/Ollama-Ch...

Timestamps
00:00 Intro
00:42 Create and activate venv
02:04 Starting Jupyter notebook
02:55 Define model
03:24 Get response from model
04:30 Prompt template
08:16 Command chaining
09:22 Continuous chat
13:22 Adding context
16:57 Python script
17:40 Refactoring
22:48 More refactoring
26:35 Outro

#ollama #python #chatbot #coding #langchain #promptengineering