You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Current plugin generation from API Manifest relies on a single OpenApiFunctionExecutionParameters object, which contains authCallback, serverUrlOverride etc. An API Manifest file can contain multiple API dependencies with different OpenApiFunctionExecutionParameters. We need a wrapper that contains multiple OpenApiFunctionExecutionParameters.
The text was updated successfully, but these errors were encountered:
zengin
changed the title
[API Manifest] Introduce ApiManifestFunctionExecutionParameters to cover multiple API dependencies scenario
[API Manifest] Introduce ApiManifestPluginParameters to cover multiple API dependencies scenario
Mar 21, 2024
github-actionsbot
changed the title
[API Manifest] Introduce ApiManifestPluginParameters to cover multiple API dependencies scenario
.Net: [API Manifest] Introduce ApiManifestPluginParameters to cover multiple API dependencies scenario
Mar 22, 2024
…ependencies (#5605)
### Motivation and Context
- fixes#5603
### Description
- introduces ApiManifestPluginParameters with three parameters:
- `HttpClient` and `UserAgent` to be used in plugin initialization phase
(to fetch OpenAPI documents)
- `FunctionExecutionParameters`: A mapping of api dependency name to
`OpenApiFunctionExecutionParameters`, so that we can introduce multiple
API dependencies in a single API Manifest plugin.
- adds a test case where we connect to two different APIs using a single
plugin:
- Microsoft Graph authenticating with MSAL
- NASA API authenticating with API key
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
- well technically this is a breaking change to the public method
signature, however, we haven't published the package yet and it was
behind an experimental flag :)
Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
Describe the bug
Current plugin generation from API Manifest relies on a single
OpenApiFunctionExecutionParameters
object, which contains authCallback, serverUrlOverride etc. An API Manifest file can contain multiple API dependencies with differentOpenApiFunctionExecutionParameters
. We need a wrapper that contains multipleOpenApiFunctionExecutionParameters
.The text was updated successfully, but these errors were encountered: