#ollama #llama #rag #langchain #machinelearning #LLM #python
It takes a significant amount of time and energy to create these free video tutorials. You can support my efforts in this way:
- Buy me a Coffee: https://www.buymeacoffee.com/Aleksand...
- PayPal: https://www.paypal.me/AleksandarHaber
- Patreon: https://www.patreon.com/user?u=320801...
- You Can also press the Thanks YouTube Dollar button
What is covered in this tutorial: In this particular tutorial, we explain how to use Ollama and Llama 3.1 through LangChain, and we will provide an introduction to chaining and prompt templates in LangChain. In particular, we explain how to install Ollama, Llama 3.1, and LangChain in Python and Windows. We will write two test codes explaining how to use Ollama in LangChain. Everything will be done through Python virtual environments.
Motivation and big picture: Our goal is to create a series of tutorials on how to develop Retrieval Augmented Generation (RAG) applications from scratch by using open-source Large Language Models (LLMs). RAG applications combine (augment) LLMs with additional knowledge databases (documents, reports, tables, etc.) to improve the outputs of LLMs or to obtain intelligent conclusions from the provided knowledge database. This means that we are giving to an LLM an additional library that should be used to provide answers to our questions and queries.
The ultimate goal is to develop a personal AI-based assistant that can analyze our documents, tables, images, etc.
In these tutorials, we will use Ollama and LangChain to run and test different LLMs. We selected Ollama since it enable us to easily run a number of powerful LLMs locally. In particular, we will extensively use and test Llama 3.1 LLM. On the other hand, we will use LangChain (as well as some other libraries) to develop the RAG application that is based on Ollama.
Смотрите видео Install and Use Ollama / Llama 3.1 in LangChain and Python+ LLM Chains and Templates in LangChain онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Aleksandar Haber PhD 22 Сентябрь 2024. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 274 раз и оно понравилось 9 посетителям.