Тёмный

RAG with LangChain & Ollama Locally and For Free 

Tirendaz AI
Подписаться 5 тыс.
Просмотров 2,7 тыс.
50% 1

In this video, we'll build a RAG app using Ollama and an embedding model locally and for free. We'll track this app in LangSmith.
00:01 Introduction
01:08 Create a virtual environment
01:38 Installation
03:17 Initialize the local model
04:23 Enter LangSmith
07:28 Load data
09:14 Split data
11:50 Create a database
13:56 Retrieve data
15:35 Generate the output
20:23 Summary
🚀 Medium: / tirendazacademy
🚀 X: x.com/tirendaz...
🚀 LinkedIn: / tirendaz-academy
▶️ LangChain Tutorials:
• LangChain Tutorials
▶️ Generative AI Tutorials:
• Generative AI Tutorials
▶️ LLMs Tutorials:
• LLMs Tutorials
▶️ HuggingFace Tutorials:
• HuggingFace Tutorials ...
🔥 Thanks for watching. Don't forget to subscribe, like the video, and leave a comment.
🔗 Notebook: github.com/Tir...
🔗 LangGraph Blog: blog.langchain...
🔗 LangSmith: smith.langchai...
🔗 Rag Prompt: smith.langchai...
#ai #langgraph #generativeai

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@TooyAshy-100
@TooyAshy-100 6 месяцев назад
I wanted to express my gratitude for your recent video, "RAG with LangChain & Ollama Locally and For Free." Your clear explanations and the inclusion of the Notebook file code have significantly aided my understanding of all steps. Your effort to make complex topics accessible is greatly appreciated.👍
@TirendazAI
@TirendazAI 6 месяцев назад
Thank you 😀 Glad you liked it.
@aliaffan88
@aliaffan88 5 месяцев назад
hardware specs plz? already subscribed ur channel for more easy tutorials. awesome work.
@TirendazAI
@TirendazAI 5 месяцев назад
Thanks for your feedback. Here are my hardware: AMD Ryzen 5 7500f, 16 GB RAM and 4070 Ti super graphics card.
@mapledev9335
@mapledev9335 5 месяцев назад
I just found you this morning. One of the best channels out there, so thanks for all your excellent videos. One thing I don't understand is how LangSmith is able to capture what's going on in the notebook. Is Ollama sending data to LangSmith?
@TirendazAI
@TirendazAI 5 месяцев назад
Thanks for your feedback. Glad to hear that. We monitor agents and LLM applications by setting the LANGCHAIN_TRACING_V2 environment variable to true. But, I don't know exactly how LangSmith works under the hood.
@mapledev9335
@mapledev9335 5 месяцев назад
@@TirendazAI Looks like LangSmith would take several videos to explain.
@emindurmus993
@emindurmus993 4 месяца назад
Hocam bu serinin türkçesi gelemez mi ?
@TirendazAI
@TirendazAI 4 месяца назад
Yapmak istiyorum ama ne zaman olur bilmiyorum.
@emindurmus993
@emindurmus993 4 месяца назад
@@TirendazAI hocam bu konuda hiç türkçe kaynak yok zaten çok yeni bir mevzu olduğu için . Langchain kursunuzu bitirdim ama keşke biraz daha detaylandırsaydınız . Ama yinede harika olmuş elinize sağlık
@LyuboslavPetrov
@LyuboslavPetrov 5 месяцев назад
That accent is gold 🥇 Content also
@TirendazAI
@TirendazAI 5 месяцев назад
Glad to hear that 🙏
@bennyzen
@bennyzen 6 месяцев назад
thx. awesome! keep up your good work
@TirendazAI
@TirendazAI 6 месяцев назад
Glad you like it.
@mushinart
@mushinart 6 месяцев назад
Very cool video 😊
@TirendazAI
@TirendazAI 6 месяцев назад
Thank you 🤗
@tsheringwangchuk9619
@tsheringwangchuk9619 6 месяцев назад
i install langchain-community but when i import, it shows error
@TirendazAI
@TirendazAI 6 месяцев назад
Do you create a virtual environment with conda?
@tsheringwangchuk9619
@tsheringwangchuk9619 6 месяцев назад
i didn't get the api. can you show some steps for that
@TirendazAI
@TirendazAI 6 месяцев назад
I used the local model with Ollama. This model is free. You don't need any API key.
@tsheringwangchuk9619
@tsheringwangchuk9619 6 месяцев назад
@@TirendazAI you use to insert the langchain API key and you stated that it will get free ly from langchain website. So I tired to find it out, but I didn't it in website
@tsheringwangchuk9619
@tsheringwangchuk9619 5 месяцев назад
how can i solve this problem AttributeError: module langchain_community.embeddings has no attribute ollama
@TirendazAI
@TirendazAI 5 месяцев назад
To solve the problem, you can use these codes: > from langchain_community.embeddings import OllamaEmbeddings > embedding = OllamaEmbeddings( model="nomic-embed-text", ) I updated the notebook in GitHub.
@sk66.
@sk66. 5 месяцев назад
same
@TirendazAI
@TirendazAI 5 месяцев назад
> from langchain_community.embeddings import OllamaEmbeddings > embedding = OllamaEmbeddings( model="nomic-embed-text", )
@tsheringwangchuk9619
@tsheringwangchuk9619 5 месяцев назад
@@TirendazAI Thank you
Далее
Unreal Fest Seattle 2024 | Opening Session
2:01:15
Просмотров 84 тыс.
荧光棒的最佳玩法UP+#short #angel #clown
00:18
bf 2024 nodejs 1
2:10:50
Просмотров 66
AUTOMATE Your Blog Posts with CREWAI and OLLAMA
15:43
Просмотров 1,2 тыс.
How to Use Llama 3 with PandasAI and Ollama Locally
13:55
MySQL database with PandasAI & Ollama & Streamlit
16:03