Comments (8)
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.
Hi @HavenDV , I think we are good to close this now !
from langchain.
Hi. Try to use "https://{resources_name}.openai.azure.com/openai/deployments/{deployment_name}
as endpoint.
from langchain.
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
from langchain.
I have tested using HttpClient and this endpoint can be accessed normally
from langchain.
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.
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.
Yeah, sounds more reliable. Will continue with Azure.OpenAI Client Library.
from langchain.
Related Issues (20)
- Concept: Prompts
- Sweep: Using the Llama 3:8b model, checking internet speed with Crew and Ollama throws an exception HOT 5
- Add Together provider support to LangChain CLI HOT 1
- Add options like temperature to LangChain CLI OpenAI provider command HOT 1
- Providers: Added ability to get typed object from ChatResponse
- Providers: Universal Source Generator for tools/functions
- Source Generators for Functions/Tools don't work when used in Console global namespace
- Throw exception, when create instance OpenAiProvider
- IVectorCollection extensions: AddPdfAsync, AddHtmlAsync, AddWordAsync
- Search right after adding doesn't return the added items. Fix this later, it's j...
- Serve: Provide OpenAI SDK compatible API HOT 5
- VectorCollection.AddOrUpdateFrom
- Providers: Groq
- Ability to Provide Configuration for MaxTokens, etc to Bedrock HOT 4
- Error: Method not found: 'System.Threading.Tasks.Task`1<Ollama.GenerateEmbeddingResponse> Ollama.OllamaApiClient.GenerateEmbeddingAsync( HOT 6
- LangChain.Samples.Prompts example raises System.InvalidOperationException
- Bug title
- LLamaSharpEmbeddings Exception: EmbeddingMode must be true. HOT 1
- solar_system file missing HOT 1
- PullModelAndEnsureSuccessAsync gives a '500 Internal Server Error' from the ollama api
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain.