LangChain explained - The hottest new Python framework
3:02

LangChain explained - The hottest new Python framework

AssemblyAI 13.04.2023 250 050 просмотров 6 812 лайков

Machine-readable: Markdown · JSON API · Site index

Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI
Описание видео
LangChain explained in 3 minutes - LangChain is a Python framework for developing applications powered by language models. In this video we take a look at LangChain, see how it works, and what you can do with it! GitHub: https://github.com/hwchase17/langchain Docs: https://python.langchain.com/en/latest/ Get your Free Token for AssemblyAI👇 https://www.assemblyai.com/?utm_source=youtube&utm_medium=referral&utm_campaign=yt_pat_73 ▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬ 🖥️ Website: https://www.assemblyai.com 🐦 Twitter: https://twitter.com/AssemblyAI 🦾 Discord: https://discord.gg/Cd8MyVJAXd ▶️ Subscribe: https://www.youtube.com/c/AssemblyAI?sub_confirmation=1 🔥 We're hiring! Check our open roles: https://www.assemblyai.com/careers ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ #MachineLearning #DeepLearning #python

Оглавление (3 сегментов)

Intro

if you're building AI apps with large language models right now there is no way around Lang chain link chain is currently one of the hottest new python Frameworks released just at the end of last year it already crossed 20 000 stars on GitHub and has a thriving community of contributors and creators who build new cool stuff with it every single day on top of that the creator of langchain just announced a 10 million dollar seat round so what is it that makes Lang chain so exciting so let's

What is LangChain

take a look at Lang chain how it works and what you can do with it so Lang chain is a framework for developing end-to-end applications powered by large language models imagine you want to build an app on top of chat GTP or any other powerful language model and then you want to combine it with your own data say an ocean database PDFs or your emails and you also want to construct prompts based on the plain user input and then you also want to store the conversation history and maybe you want to combine the models with another model or give had access to Google search or Wikipedia to make it even more powerful this sounds like a lot to consider for an end-to-end application right well Lang chain makes all of this a whole lot easier it allows building applications with llms through composability and currently it provides six different key functionalities divided into different modules so let's take a look at some

Examples

short examples for each of those models first and foremost Lang chain provides a generic interface for many llms you can access models from open AI hugging face cohere and many more providers prompts this includes prompt management prompt optimization and prompt serialization you can for example Define prompt templates that take the user input and then create the final prompt for the model chains go beyond just one single llm call and are sequences of course in the simplest example you can for example chain together a prompt template and an llm but the possible combinations are almost endless here memory length chain provides a standard interface for memory and a collection of memory implementations for example you can easily store the message history of a chatbot indices this module contains many utility functions so that you can combine the model with your own Text data for example it provides document loaders to load the data from different sources like notion PDFs or emails and it provides Vector store interfaces to efficiently store the text and make it searchable and lastly agents and tools this is an extremely powerful module you can set up agents powered by large language models that can use tools like Google search Wikipedia or a calculator and if this is used correctly this can give your app unlimited Powers alright so this was a very quick overview of how this framework works if you want to see more Lang chain content then make sure to subscribe to our Channel because we post moral language and content soon so I hope to see you in the next video bye

Другие видео автора — AssemblyAI

Ctrl+V

Экстракт Знаний в Telegram

Экстракты и дистилляты из лучших YouTube-каналов — сразу после публикации.

Подписаться

Дайджест Экстрактов

Лучшие методички за неделю — каждый понедельник