Skip to content

Add WSO2 Model Provider as an LLM connection option #1380

@RadCod3

Description

@RadCod3

Current Limitation

Currently in MI users must BYOK for all the available LLM Connection options. In BI, if a user is logged into BI Copilot, they can add and use a "WSO2 Default Model Provider" which re-uses the same LLM Connection used for the copilot.

The user flow for this in BI is as follows,

  1. Log into BI Copilot.
  2. Click Cmd + Shift + P and invoke the command Ballerina: Configure default WSO2 model provider.
  • This creates a Config.toml file with the following structure
[ballerina.ai.wso2ProviderConfig]
serviceUrl = "https://copilotendpoint..."
accessToken = "asdf...."
  1. Add an AI Chat Agent artifact which by default uses the WSO2 model provider.
  2. Run the program.

Suggested Improvement

Similar to this, we can add an option like WSO2_AI in the LLM Connection options and use the same auth used in the MI Copilot.

Version

3.1.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions