23,733 views
Want to know more about our Complete Python Course? Click the link below to guarantee your spot in the next class: https://lp.hashtagtreinamentos.com/es... TO DOWNLOAD THE FREE DATA ANALYSIS MINI COURSE: https://pages.hashtagtreinamentos.com... ----------------------------------------------------------------------- ► Files Used in the Video: https://pages.hashtagtreinamentos.com... ► Python Dotenv - Efficient Environment Variables in Python • Python Dotenv - Environment Variables... ► How to Create API in Python Using FastAPI • How to Create API in Python Using Fas... ----------------------------------------------------------------------- If you prefer the video in text format: https://www.hashtagtreinamentos.com/l... ----------------------------------------------------------------------- TO HIRE HASHTAG FOR YOUR COMPANY: https://www.hashtagtreinamentos.com/t... ----------------------------------------------------------------------- Hey Awesome! In today's class, I'm going to show you how to create your own artificial intelligence using LangChain! It's a framework that allows you to build step-by-step chains with LLM (Large Language Model) to perform one or more tasks. I'm going to explain what LangChain is and how it works. I'm going to show you how it works in practice with an example. With this, we'll be able to create our own artificial intelligence and transform it into an API. In other words, we'll be able to make a request to this API so that it can perform this activity in another code! Have you ever heard of LangChain? Then come with me and I'll show you how amazing this tool is! ----------------------------------------------------------------------- Hashtag Programming ► Subscribe to our channel: http://bit.ly/3c0LJQi ► Turn on notifications (click on the bell)! ► Like our video! ----------------------------------------------------------------------- Social Networks ► Blog: https://bit.ly/2MRUZs0 ► YouTube: http://bit.ly/3c0LJQi ► Instagram: https://bit.ly/3o6dw42 ► Facebook: http://bit.ly/3qGtaF2 Here in the videos on the Hashtag Programação channel we teach several Python tips so that you can develop in this programming language and create your own projects and automations! ----------------------------------------------------------------------- Class Content 00:00 Introduction 01:57 Initial file 02:10 What is Langchain? 04:08 Step-by-step chains 05:52 How Langchain works + installation 09:39 How to use Langchain 10:33 Langchain structure 12:56 Creating the model 15:15 Testing the model 16:07 Langchain features (parser) 21:45 Message prompts (template) 26:02 Testing the template 27:05 Adjusting the chain 28:44 Testing the code 30:23 Server (LangServe – Artificial Intelligence App) 35:17 Putting API online 37:12 API interaction 39:35 Accessing AI through other code 42:42 Conclusion #python #hashtagprogramming