feat: add SAP AI Core as a provider #2827
Open
+4,347
−103
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
This pullrequest adds the SAP AI Core provider to KiloCode. SAP AI Core is a SAP Business Technology Platform service, that lets you efficiently run AI scenarios in a standardized, scalable, and hyperscaler-agnostic manner.
More about SAP AI Core:
https://help.sap.com/docs/sap-ai-core
Implementation
I primarily utilised the official SAP AI Core JavaScript SDKs for the implementation of the provider. SAP AI Core supports two different modes for model selection:
A reference to the SDK documentations for either mode can be found here:
https://sap.github.io/ai-sdk/docs/js/overview-cloud-sdk-for-ai-js
No refactorings were required.
Screenshots
Foundation
Orchestration
Example
How to Test
Sadly, testing requires an SAP BTP Account account. I have a company account, which I utilised for the implementation.
Get in Touch
@bendesuga on Discord