feat(dotAI): Dot AI LangChain4J - Azure OpenAI#35243
feat(dotAI): Dot AI LangChain4J - Azure OpenAI#35243ihoffmann-dot wants to merge 10 commits intodot-ai-langchain-integrationfrom
Conversation
❌ Issue Linking RequiredThis PR could not be linked to an issue. All PRs must be linked to an issue for tracking purposes. How to fix this:Option 1: Add keyword to PR body (Recommended - auto-removes this comment)
Why is this required?Issue linking ensures proper tracking, documentation, and helps maintain project history. It connects your code changes to the problem they solve.--- This comment was automatically generated by the issue linking workflow |
|
Claude finished @ihoffmann-dot's task in 1m 42s —— View job PR Review: feat(dotAI): Dot AI LangChain4J - Azure OpenAI
Issues FoundBug:
|
Summary
Adds Azure OpenAI as a supported provider in the LangChain4J integration layer.
Enterprise customers using Azure-hosted OpenAI deployments can now configure
dotAI without any code changes — only a
providerConfigJSON update is required.langchain4j-azure-open-aidependencyazure_openaicase toLangChain4jModelFactoryswitchbuildAzureOpenAiChatModel,buildAzureOpenAiEmbeddingModel,buildAzureOpenAiImageModelLangChain4jModelFactoryTestConfiguration
{ "chat": { "provider": "azure_openai", "apiKey": "...", "endpoint": "https://my-company.openai.azure.com/", "deploymentName": "gpt-4o", "apiVersion": "2024-02-01", "maxTokens": 16384, "temperature": 1.0 }, "embeddings": { "provider": "azure_openai", "apiKey": "...", "endpoint": "https://my-company.openai.azure.com/", "deploymentName": "text-embedding-ada-002", "apiVersion": "2024-02-01" }, "image": { "provider": "azure_openai", "apiKey": "...", "endpoint": "https://my-company.openai.azure.com/", "deploymentName": "dall-e-3", "apiVersion": "2024-02-01" } }Notes
deploymentNameis required for Azure (differs from model name). Falls back tomodelif not set.apiVersionmaps to Azure'sserviceVersion. Recommended: 2024-02-01.Related Issue
This PR fixes #35183
EPIC: dotAI Multi-Provider Support #33970