Skip to content

feature: Support LangGraph Azure OpenAI in aws-genai plugin#453

Description

@marct83

馃敄 Feature description

Add support for Azure OpenAI in the Gen AI Plugin.

馃帳 Context

It would be beneficial for some to be able to use Azure Chat OpenAI in the Gen AI plugin as that is what our org uses.

Langchain supports azure openai: https://python.langchain.com/docs/integrations/chat/azure_chat_openai/

鉁岋笍 Possible Implementation

Create a new interface with the config:
https://github.com/awslabs/backstage-plugins-for-aws/blob/main/plugins/genai/agent-langgraph/src/config/types.ts

Add a new config function:
https://github.com/awslabs/backstage-plugins-for-aws/blob/main/plugins/genai/agent-langgraph/src/config/config.ts

Create new AzureOpenAiModel function:
https://github.com/awslabs/backstage-plugins-for-aws/blob/main/plugins/genai/agent-langgraph/src/LangGraphReactAgentType.ts#L184

Add new else if for the new model:
https://github.com/awslabs/backstage-plugins-for-aws/blob/main/plugins/genai/agent-langgraph/src/LangGraphReactAgentType.ts#L88

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions