3-Langchain Series-Production Grade Deployment LLM As API With Langchain And FastAPI

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • github: github.com/krishnaik06/Update...
    LangServe helps developers deploy LangChain runnables and chains as a REST API.This library is integrated with FastAPI and uses pydantic for data validation.In addition, it provides a client that can be used to call into runnables deployed on a server. A JavaScript client is available in LangChain.js.
    #krishnaik
    ---------------------------------------------------------------------------------------------
    Support me by joining membership so that I can upload these kind of videos
    / @krishnaik06
    -----------------------------------------------------------------------------------
    ►LLM Fine Tuning Playlist: • Steps By Step Tutorial...
    ►AWS Bedrock Playlist: • Generative AI In AWS-A...
    ►Llamindex Playlist: • Announcing LlamaIndex ...
    ►Google Gemini Playlist: • Google Is On Another L...
    ►Langchain Playlist: • Amazing Langchain Seri...
    ►Data Science Projects:
    • Now you Can Crack Any ...
    ►Learn In One Tutorials
    Statistics in 6 hours: • Complete Statistics Fo...
    End To End RAG LLM APP Using LlamaIndex And OpenAI- Indexing And Querying Multiple Pdf's
    Machine Learning In 6 Hours: • Complete Machine Learn...
    Deep Learning 5 hours : • Deep Learning Indepth ...
    ►Learn In a Week Playlist
    Statistics: • Live Day 1- Introducti...
    Machine Learning : • Announcing 7 Days Live...
    Deep Learning: • 5 Days Live Deep Learn...
    NLP : • Announcing NLP Live co...
    ---------------------------------------------------------------------------------------------------
    My Recording Gear
    Laptop: amzn.to/4886inY
    Office Desk : amzn.to/48nAWcO
    Camera: amzn.to/3vcEIHS
    Writing Pad:amzn.to/3OuXq41
    Monitor: amzn.to/3vcEIHS
    Audio Accessories: amzn.to/48nbgxD
    Audio Mic: amzn.to/48nbgxD

ความคิดเห็น • 54

  • @krishnaik06
    @krishnaik06  3 หลายเดือนก่อน +5

    Support me by joining membership so that I can upload these kind of videos
    th-cam.com/channels/NU_lfiiWBdtULKOw6X0Dig.htmljoin

  • @MeAi-fd8pt
    @MeAi-fd8pt 3 หลายเดือนก่อน +4

    I have done your nlp deep learning one shot and I will say you have done really great work that you increased my interested in this field. Thanks for this video too. - Somesh Panchal, Pune.

  • @elmflor4365
    @elmflor4365 3 หลายเดือนก่อน

    Thank you so excited for the continuation of this great series!!

  • @Sy-uc5fy
    @Sy-uc5fy 3 หลายเดือนก่อน

    I'm loving the courses! Thank you so much I'm learning a lot.

  • @IdPreferNot1
    @IdPreferNot1 3 หลายเดือนก่อน

    Such a great start to this series, thx!

  • @krishj8011
    @krishj8011 12 วันที่ผ่านมา

    Thank you for making amazing tutorial... 👍

  • @Nishant-xu1ns
    @Nishant-xu1ns 3 หลายเดือนก่อน

    excellent video sir .keep it up

  • @tzurdo1
    @tzurdo1 หลายเดือนก่อน

    Thanks for a great tutorial and a great series!

  • @theshubhagrwl
    @theshubhagrwl หลายเดือนก่อน

    langchain and Krish sir makes it super easy!

  • @educationdelightenglish3819
    @educationdelightenglish3819 3 หลายเดือนก่อน +1

    Excellent video on TH-cam! No other videos can match such great things on planet as far as AI learning is concerned! I need to know minimum hardware configuration to run all these program! 1. Can I run the program without NVIDIA graphics processor! If at all I have to purchase, what should be the configuration as there is no such requirements.txt for Hardware ! Kindly let us know, if possible make one video simpley stating LLM vs Hardware Configuration and Price as well as renting remote VPS for deployment!

  • @eventsjamaicamobileapp1426
    @eventsjamaicamobileapp1426 2 หลายเดือนก่อน

    Great work!

  • @nikhielsingh748
    @nikhielsingh748 2 หลายเดือนก่อน

    Amazing video !

  • @andrespineiro7609
    @andrespineiro7609 2 หลายเดือนก่อน

    Nice work!!!

  • @vinayreddyvarikuti
    @vinayreddyvarikuti 3 หลายเดือนก่อน

    Thank you so much sir..

  • @nishantchoudhary3245
    @nishantchoudhary3245 3 หลายเดือนก่อน

    waiting for next video

  • @rashedin6356
    @rashedin6356 3 หลายเดือนก่อน +3

    Sir can you make a playlist of gen ai and llm course and project videos

  • @velpaul9917
    @velpaul9917 3 หลายเดือนก่อน

    Great video. Clear and crisp explaination of the concept and code. Can we use this use case for the comparing different LLM model response? or somthing else.

  • @rakesh-purple
    @rakesh-purple 3 หลายเดือนก่อน

    Hi Krish,
    I wanted to share some feedback. I'm a regular viewer of your videos, and I often find it challenging to locate a specific video when I don't remember its title. Implementing a consistent naming convention or series titles could significantly improve the searchability of your content. I truly value the insights your videos provide.

  • @santhoshr8943
    @santhoshr8943 หลายเดือนก่อน

    Please provide a video with deepseek Krish
    Thanks for your hardwork really helping me.

  • @KAMAT_JEE72
    @KAMAT_JEE72 3 หลายเดือนก่อน +1

    ❤❤

  • @SantK1208
    @SantK1208 3 หลายเดือนก่อน +1

    Thank you Krish, when you will start RAG system using Langchain

  • @balajin5395
    @balajin5395 3 หลายเดือนก่อน +1

    Hi Krish, when you starting the 1% data scientist programme?
    I am eagerly waiting for that.

  • @lixiasong3459
    @lixiasong3459 3 หลายเดือนก่อน

    Sir, Thank you for the insightful video; regarding hosting, could we utilize Hugging Face for hosting? Thank you very much again.

  • @siddharthchauhan3404
    @siddharthchauhan3404 3 หลายเดือนก่อน

    Hi Krish,
    First of all want to great work on videos really learning a lot from your videos.
    I have question, can you please share how can we deploy langgraph using langserve?
    Thanks

  • @mahikhan5716
    @mahikhan5716 2 หลายเดือนก่อน +1

    @krish please try to explain some little things like why u used chatpromptemplate.from_template why other project u have used .from_messge otherwise it's type of confusion not for all but those who we are poor students

  • @rajarams3722
    @rajarams3722 หลายเดือนก่อน

    Thanks ! But the first add_routes() was not needed. Not sure why that was added.

  • @pranaygupta6034
    @pranaygupta6034 18 วันที่ผ่านมา

    Hey Krish! Great video.
    But im encountering an error after creating the routes where it is asking me to add a runnable sequence. How do i solve it?

  • @sweetsforpauper
    @sweetsforpauper 3 หลายเดือนก่อน

    Can you make a video on how to adapt an LLM model to its specific use case? Is fine-tuning the right approach, or should one tie the model to a database (RAG) that provides the necessary information? In my case, I'm currently trying to integrate a 'learning coach' chatbot within a Moodle course. Naturally, it should know the contents of the Moodle course to be able to provide targeted help...

  • @Vir-se2kb
    @Vir-se2kb 2 หลายเดือนก่อน

    Hi Kris. You are just writing codes by watching your left side screen, please explain the concepts in more detail.

    • @studology67
      @studology67 7 วันที่ผ่านมา +1

      yes this is what i want, why are we creating api in the first place?

  • @Vir-se2kb
    @Vir-se2kb 2 หลายเดือนก่อน

    Hi Kris. plz explain the reason in details for every line of code. Explaining on a high level keeps confusing. Like the add_routes section - you should explain it in more detail.

  • @rishiraj2548
    @rishiraj2548 3 หลายเดือนก่อน

    🙂🙏

  • @NoDoglapan
    @NoDoglapan 2 หลายเดือนก่อน

    Hi Krish - a small bug in your code because of which it is not generating a poem - instead of prompt|llm it should be prompt|model for the poem routes
    add_routes(
    app,
    prompt2|llm,
    path="/poem"

  • @ninadpawar2062
    @ninadpawar2062 3 หลายเดือนก่อน

    Hello Krish, I'm currently working on a PostgreSQL query using LangChain. I'm interested in obtaining the output in Excel format. Could you please advise on how to achieve this?

  • @ridj41
    @ridj41 3 หลายเดือนก่อน

    Krish, can you make a video on how to get an internship in Generative AI field, I have worked a lot on genai, and currently also learning, now wanted some real world experience in the field.

  • @user-hb8xc1qv6e
    @user-hb8xc1qv6e 2 หลายเดือนก่อน

    what about multiple users using at a time.does that increase latency sir

  • @spusuluri4804
    @spusuluri4804 หลายเดือนก่อน

    Hi sir can we use langchain in real production environment in large scale

  • @pragneshsolanki8243
    @pragneshsolanki8243 2 หลายเดือนก่อน

    There is conflict coming in langserve, langsmith, langchain_core version. I am getting errors due to this library. Please share the version of this library to install. Thanks

  • @shubhajitkotal6201
    @shubhajitkotal6201 หลายเดือนก่อน

    I am getting some error on the prompt1 line of code .

  • @ridj41
    @ridj41 3 หลายเดือนก่อน

    Hey krish , there is an error , whenever I try to run the app.py file, I go to the url, then do /docs, then there appears that the API load has failed, please make one non-openai version of this video as well, since those not having tokens in openai are unable to execute what is provided in this video, I think that is the reason , since I did not add os.environ, to my code since I did not have tokens in my openai account.

  • @ayyappahemanth7134
    @ayyappahemanth7134 3 หลายเดือนก่อน

    Hi sir, I'm not able to use 'gemma' instead of 'llama2', don't know why?, I'm able to run llama2 successfully, Is there any changes to be done to use gemma. I'm able to run from cmd line using ollama! Please help.

  • @saurabhjain507
    @saurabhjain507 3 หลายเดือนก่อน

    Can you please show how to stream the response using fastapi to streamlit?

  • @hamidraza1584
    @hamidraza1584 3 หลายเดือนก่อน

    How I can create API key for back end llm,s

  • @YogeshPatil-es8bw
    @YogeshPatil-es8bw 2 หลายเดือนก่อน

    Hi guys , how to solve this error: json.decoder.jsondecodeerror: expecting value: line 1 column 1 (char 0)

  • @Ishaheennabi
    @Ishaheennabi 3 หลายเดือนก่อน

    How can high school developers get placed❤ plz reply

  • @mahmadmusffir8459
    @mahmadmusffir8459 3 หลายเดือนก่อน +1

    how we will add memory in apis

    • @keshavchhabra6419
      @keshavchhabra6419 3 หลายเดือนก่อน

      by using a vector database

    • @mahmadmusffir8459
      @mahmadmusffir8459 3 หลายเดือนก่อน

      @@keshavchhabra6419 i mean chat history

  • @studology67
    @studology67 7 วันที่ผ่านมา

    why are we creating API, whats the benefit

  • @shubham-itachi
    @shubham-itachi 3 หลายเดือนก่อน

    Sir ML vs ds vs dl vs Generative Ai kiya sikhu mai. Smaj nahi aa rha 🙏🙏🙏🙏😢😢🙏🙏🙏🙏🙏🙏🙏🙏

    • @SantK1208
      @SantK1208 3 หลายเดือนก่อน

      Sab seekh le

    • @ridj41
      @ridj41 3 หลายเดือนก่อน

      maine sab sikha hua hai, sabse important data analytics aur ml hai jobs perspective se, par sabse kam competition generative ai mein hai kyuki baaki sab cheeze seekhne k baad genai seekhte hai directly nhi.
      GenAI ki prereq NLP hai, aur NLP ki prereq- ML/DL/etc.