How To Use Langchain With Azure OpenAI

Поделиться
HTML-код
  • Опубликовано: 16 янв 2025

Комментарии • 45

  • @Anna-f5o
    @Anna-f5o 6 месяцев назад

    I believe you currently do some of the very best tutorials that are out there. It's hands on and even despite being 1 year old already, together with the documentation it's easily applicable. Thank you

  • @TP-ui9xu
    @TP-ui9xu Год назад +2

    Thanks for the explanation. Is there a way to use an Azure OpenAI embeddings deployment rather than importing the standard OpenAIEmbeddings class?

  • @cynogriffin6678
    @cynogriffin6678 Год назад +1

    @Shweta Can we use llamaindex with azure openai

  • @lalitkhanna8639
    @lalitkhanna8639 Год назад +1

    Thanks!! Just a question: In case we need to load the data from Azure blob then How can we do this?

  • @eminebakr1937
    @eminebakr1937 Год назад +1

    Thank you for this video. I have a question.When i try this it return random question and answers after my question's answer. I never find why it is happend

    • @shweta-lodha
      @shweta-lodha  Год назад

      How's it possible? You will get response only when you ask question, it will never come automatically. Could you please check your prompt?

  • @scbaek86
    @scbaek86 Год назад +5

    embeddings = OpenAIEmbeddings()
    vectorstore = Chroma.from_texts(text, embeddings)
    ===========================================
    Why bove codes get me the following errors:
    InvalidRequestError: The API deployment for this resource does not exist.

  • @nahedkacem9938
    @nahedkacem9938 11 месяцев назад

    hello shweta , thank you for this tutorial i want to ask you if you have any ideas of how to adapt a hugging face model in order to deploy it on azure open ai

    • @shweta-lodha
      @shweta-lodha  8 месяцев назад

      I've created 2 videos (no code and complete code) on this. Please search for the keyword 'Hugging Face' under my videos and you will see them.

  • @shashankjoshi8856
    @shashankjoshi8856 9 месяцев назад

    Hello Shweta, can i use gpt-35-turbo model for the same code?

  • @KB-cp6go
    @KB-cp6go Год назад

    Wow, very helpful, thank you so much!

  • @fabianzambrano7061
    @fabianzambrano7061 Год назад +1

    Thank you for your explanation it was very helpful. Could you do a demostration with multiple PDF files using Azure OpenAI?

    • @shweta-lodha
      @shweta-lodha  Год назад +1

      Thanks Fabian, I am glad that you find it useful. Will do it shortly.

  • @JohnLee-wv4wq
    @JohnLee-wv4wq 11 месяцев назад

    can you show us the same in .NET C#?

    • @shweta-lodha
      @shweta-lodha  11 месяцев назад +1

      Unfortunately c# is not very preferred when it comes to GenAI apps. Hence I didn’t prioritize doing this with c#. Hope this makes sense.

  • @rishumehta745
    @rishumehta745 Год назад

    hi mam. watched your video as python is not my first lang as a coder. but it was so simple and well explained. subscribing to the channel for more knowledge. thanx once again.

  • @JijaDasgupta
    @JijaDasgupta Год назад

    good

  • @Eloualid1
    @Eloualid1 Год назад

    vewy simple , thank you

  • @heythere6390
    @heythere6390 Год назад

    is access to Azure openai below generally available?

    • @shweta-lodha
      @shweta-lodha  Год назад

      You need to fill in a registration form and get it done easily.

  • @AlonAvramson
    @AlonAvramson Год назад

    Thank you!

  • @theaiconsultinglab
    @theaiconsultinglab Год назад

    How can I put this into a frontward facing user interface? I'm new here :)

    • @shweta-lodha
      @shweta-lodha  Год назад

      It won't be that difficult. Just create a UI in Python, create methods for whatever you are doing and call them on user interactions.

  • @李昊典
    @李昊典 Год назад

    Hi, how to resolve the rate limit in Azure OpenAI with LangChain?

    • @李昊典
      @李昊典 Год назад

      like the limit of Requests per minute per model

    • @shweta-lodha
      @shweta-lodha  Год назад

      One solution is to move on to pay as you go model

  • @tushaar9027
    @tushaar9027 Год назад

    Hi Shweta, great video i have been following lot of your videos .Can you please show how vector stor can be created using azure search service...

    • @shweta-lodha
      @shweta-lodha  Год назад

      That’s gonna be my next video. Stay tuned!

  • @jackielannn2722
    @jackielannn2722 Год назад

    Great explanation, When I followed what you said, this is what happened: "The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again." and also show "Argument missing for parameter "client"" in the code, what should i do?🤔

    • @shweta-lodha
      @shweta-lodha  Год назад

      Please verify the name of your deployed model.

  • @PonSudhirSajanSivasankaran
    @PonSudhirSajanSivasankaran Год назад

    Hi Shweta...Great Session...Could you pls brief about token limits in Azure OpenAI?

  • @itshhossam2755
    @itshhossam2755 Год назад

    Hi, Shweta
    firstly, thanks a lot for your efforts
    I'm a junior in programming and this channel has become my lovely destination on RUclips
    but , I faced an error in this line of code
    .{
    with open('turtles.pdf') as f:
    text = f.read()
    }
    -----------------------------------------------------------
    the errror is:
    'utf-8' codec can't decode byte 0xe2 in position 10: invalid continuation byte
    .
    How can I fix it ,please?

    • @shweta-lodha
      @shweta-lodha  Год назад

      Please try this: with open(‘turtles.pdf’, ‘rb’) as f:

  • @arunnambiar2315
    @arunnambiar2315 Год назад

    Facing package installation errors