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

Поділитися
Вставка
  • Опубліковано 9 лип 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
    ua-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!!

  • @IdPreferNot1
    @IdPreferNot1 3 місяці тому

    Such a great start to this series, thx!

  • @krishj8011
    @krishj8011 10 днів тому

    Thank you for making amazing tutorial... 👍

  • @Sy-uc5fy
    @Sy-uc5fy 2 місяці тому

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

  • @tzurdo1
    @tzurdo1 28 днів тому

    Thanks for a great tutorial and a great series!

  • @eventsjamaicamobileapp1426
    @eventsjamaicamobileapp1426 2 місяці тому

    Great work!

  • @Nishant-xu1ns
    @Nishant-xu1ns 3 місяці тому

    excellent video sir .keep it up

  • @theshubhagrwl
    @theshubhagrwl 29 днів тому

    langchain and Krish sir makes it super easy!

  • @nikhielsingh748
    @nikhielsingh748 2 місяці тому

    Amazing video !

  • @andrespineiro7609
    @andrespineiro7609 2 місяці тому

    Nice work!!!

  • @educationdelightenglish3819
    @educationdelightenglish3819 3 місяці тому +1

    Excellent video on UA-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!

  • @vinayreddyvarikuti
    @vinayreddyvarikuti 3 місяці тому

    Thank you so much sir..

  • @nishantchoudhary3245
    @nishantchoudhary3245 3 місяці тому

    waiting for next video

  • @KAMAT_JEE72
    @KAMAT_JEE72 3 місяці тому +1

    ❤❤

  • @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.

  • @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.

  • @santhoshr8943
    @santhoshr8943 Місяць тому

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

  • @rajarams3722
    @rajarams3722 Місяць тому

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

  • @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.

  • @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

  • @pranaygupta6034
    @pranaygupta6034 16 днів тому

    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?

  • @rishiraj2548
    @rishiraj2548 3 місяці тому

    🙂🙏

  • @Vir-se2kb
    @Vir-se2kb Місяць тому

    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.

  • @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

  • @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...

  • @lixiasong3459
    @lixiasong3459 3 місяці тому

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

  • @Vir-se2kb
    @Vir-se2kb Місяць тому

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

    • @studology67
      @studology67 4 дні тому +1

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

  • @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.

  • @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"

  • @spusuluri4804
    @spusuluri4804 Місяць тому

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

  • @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?

  • @shubhajitkotal6201
    @shubhajitkotal6201 Місяць тому

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

  • @user-hb8xc1qv6e
    @user-hb8xc1qv6e 2 місяці тому

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

  • @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

  • @hamidraza1584
    @hamidraza1584 3 місяці тому

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

  • @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.

  • @mahmadmusffir8459
    @mahmadmusffir8459 3 місяці тому +1

    how we will add memory in apis

  • @saurabhjain507
    @saurabhjain507 3 місяці тому

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

  • @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.

  • @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

  • @studology67
    @studology67 5 днів тому

    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.