Deploy LLM App as API Using Langserve Langchain

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • LangServe helps developers deploy LangChain runnables and chains as a REST API.This library is integrated with FastAPI and uses pydantic for data validation.
    github: github.com/kri...
    --------------------------------------------------------------------------------------------------
    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

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

  • @krishnaik06
    @krishnaik06  10 หลายเดือนก่อน +59

    Lot of efforts is required in these kind of videos. Make sure to subscribe,like and share with all your friends :)

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

      Sir hats off to you for creating these amazing videos and sharing it with us regularly 🫡

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

      as usual, great work sir.

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

      how to use with a local llm ?

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

      dont get it bro ? is this another troute into these online api or are they local ?? how do you use this without chatgpt ?
      why do we need to put the openapi-key?

    • @mehulpratapsingh8820
      @mehulpratapsingh8820 6 หลายเดือนก่อน +1

      just a simple suggestion do not do all the imports initially import the libraries on the go ,

  • @SanjeevyDeveloper
    @SanjeevyDeveloper 10 หลายเดือนก่อน +4

    Krish Naik is literally the Harsha Sai for Machine Learning, Ai and Data Science Stuff. A great Salute for you sir 🙋‍♂

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

      Krish Naik is just Krish Naik himself. Dont associate him with other personalities OK.

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

    Ad at 11:52, you have asked us to mention for any mid-roll ads. Here is one ! thanks.

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

    This is by far the best I have come across, thanks!

  • @ajaykumar-rh2gz
    @ajaykumar-rh2gz 7 วันที่ผ่านมา

    Great work Krish

  • @ParthivShah
    @ParthivShah 4 หลายเดือนก่อน +1

    Thank You Sir, love from gujarat.

  • @syedhussain6358
    @syedhussain6358 10 หลายเดือนก่อน +1

    You are Awesome Bhai. Mashallah.

  • @MahaveerTirumalasetty-b6b
    @MahaveerTirumalasetty-b6b 6 หลายเดือนก่อน

    really loved your explaination is just amazing

  • @shashankshekhar8970
    @shashankshekhar8970 10 หลายเดือนก่อน +1

    Hey thanks for the video. One question: So what benefit exactly does Langserve provide? I could have created a flask end point and inside that just accepted the message and called Langchain LLM with that message. So what is exactly the benefit of using langserve over vanilla fast/flask?

    • @krishnaik06
      @krishnaik06  10 หลายเดือนก่อน +1

      More coding will be required in flask

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

    Amazing video, thank you soo much😀😀

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

    Its a very informative video but can we deploy these API with help of streamlit or something else ?

  • @AasherKamal
    @AasherKamal 10 หลายเดือนก่อน +9

    Sir how to deploy Open source LLMs and use them as API? (Free)

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

      use anything llm

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

    Hello @krishnaik06. Do you plan to make the Gemini Pro Fine Tuning video that has been recently published by Google?

  • @dereckjos3513
    @dereckjos3513 10 หลายเดือนก่อน +2

    This video is amazing but here we are having dependency on openAI is there any way to deploy custom llm models as an api and eliminate dependency of openAI

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

      Tell me best way for non tech guy , trying to outline use it in legal use

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

    You just got a new sub!

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

    How do i secure the api and prevent malicious attacks? I was thinking of using SSR in angular or react as a frontend but i dont know if It's the best practice, what do you think?

  • @abhishekhingmire8972
    @abhishekhingmire8972 10 หลายเดือนก่อน +2

    🎉😊

  • @Dancekeparwane
    @Dancekeparwane 10 หลายเดือนก่อน +1

    Make an video on cloud computing & which cloud mostly used by mnc

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

    Thank you so much krish, there is one request can you make a detailed video on crew AI and autogen AI, please

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

    I want to create a custom chatbot that utilizes multiple Gemini and GPT APIs.
    Does an API remember the history of messages in a chat?
    This is crucial for maintaining context within the conversation.

  • @devloper.hs14
    @devloper.hs14 8 หลายเดือนก่อน +1

    Recently you doing a lot of videos on langchain, cool
    The only problem i face is not having access to open ai apis. Minor so I can't buy it, and parents think I am doing trash things instead of studying.
    Can you provide some altermatives

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

    What is the type of these apis, is there any way to create post method apis?? Like we could define routes and then whether the function will be of get or post type - something like this??

  • @ChanduAki-ht5xv
    @ChanduAki-ht5xv 10 หลายเดือนก่อน

    Hi Krish,
    Can you pleaadd the usecases of lang graph and practical applications in industry

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

    Hey, what are some prerequisites to learning this? When you say “Deploy LLM App” you’re not actually building the app in Langserve right?

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

    Hello Krish Naik, I really like your videos tutorials about langchain, langserve. But actually, I really want to ask you if you could make a video tutorial about langchain, langserve to make an application like askyourpdf that allowed users to upload their own file.

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

    How to do the same thing for an OSS llm model, lets say a mistral? can i do the exact thing with mistral and how?

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

    Great content

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

    after using openai api, making another api end point ?, most of these tricks never serve the production setup scenarios

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

    What if we need streaming response?

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

    LEGIT I WANTED IT

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

    Using gradio also I can create api right ?

  • @Shahbazpucit
    @Shahbazpucit 8 หลายเดือนก่อน +1

    Love from 🇵🇰

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

    Would be much better to use postman to test the api

  • @monishj101
    @monishj101 27 วันที่ผ่านมา

    How to integrate it in flutter

  • @AIWalaBro-Bharatbhushan
    @AIWalaBro-Bharatbhushan 10 หลายเดือนก่อน

    I tried hard but giving the 404 error, can anyone help me out into this to resolve

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

    Good day greetings

  • @GregoryPereira-mi2jy
    @GregoryPereira-mi2jy 9 หลายเดือนก่อน

    Make sure you rotate those keys

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

    You are cool

  • @buzzprime93
    @buzzprime93 10 หลายเดือนก่อน +1

    Deploy??

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

    Like and love from Lahore Pakistan

  • @Intellic-ww8cz
    @Intellic-ww8cz 3 หลายเดือนก่อน

    Good one but you can try complex tasks instead

  • @tirthvora8591
    @tirthvora8591 10 หลายเดือนก่อน +9

    overrated. not a good example of using langserve. This can be achieved using Flask too.

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

      Bro i am stuck making flask api for the model which was built with llm and vision encoder can you help me?