Sample code to demonstrate the usage of the SAP Cloud SDK for AI. Also used as basis for running E2E tests.
Build the project with:
pnpm install
- Download a service key for your AI Core service instance
- Create a
.env
file in the sample-code directory - Add an entry
AICORE_SERVICE_KEY='<content-of-service-key>'
pnpm local
Call the test endpoints:
- Hello World
- Simple Chat Completion
- Simple Embedding Call
Trigger the GitHub Action.