Git Product home page Git Product logo

Comments (8)

HavenDV avatar HavenDV commented on August 15, 2024 1

Thank you very much for your interest in this, we would appreciate any help.
I would prefer to use the official Microsoft library, even though it's in preview.
I'm also not sure if Azure servers support the same set of endpoints as OpenAI, so it will have a different set of implemented interfaces

from langchain.

kharedev247 avatar kharedev247 commented on August 15, 2024 1

Hi @HavenDV , I think we are good to close this now !

from langchain.

HavenDV avatar HavenDV commented on August 15, 2024

Hi. Try to use "https://{resources_name}.openai.azure.com/openai/deployments/{deployment_name} as endpoint.

from langchain.

qq312888991 avatar qq312888991 commented on August 15, 2024

Hi. Try to use "https://{resources_name}.openai.azure.com/openai/deployments/{deployment_name} as endpoint.

I've tried before, but I can't either
image

from langchain.

qq312888991 avatar qq312888991 commented on August 15, 2024

I have tested using HttpClient and this endpoint can be accessed normally

image

from langchain.

HavenDV avatar HavenDV commented on August 15, 2024

Thank you. Unfortunately, I don’t have the opportunity to test this within Azure, so I’m leaving the bug open for now. I will be happy to accept PR - we need to use the official Azure.AI.OpenAI package inside Langchain.Providers.Azure and provide the correct implementation.

from langchain.

kharedev247 avatar kharedev247 commented on August 15, 2024

Hi @HavenDV ,

I'd like to take it up and start working on it. I see in OpenAiClientSettings , AzureOpenAI domain logic is already present.

So, I feel extending OpenAI Provider to work with Azure Open AI would be a good approach. (The other way I see is using Azure.OpenAI Client Library which is yet in Preview)

Let me know your thoughts.

from langchain.

kharedev247 avatar kharedev247 commented on August 15, 2024

Yeah, sounds more reliable. Will continue with Azure.OpenAI Client Library.

from langchain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.