Core base client for SAP Cloud SDK for AI (Python), providing authentication, HTTP client, and configuration for interacting with SAP AI Core services. Current version 3.4.0, requires Python >=3.9. Released irregularly with semantic versioning.
pip install sap-ai-sdk-baseVerified import paths — ran on the pinned version, not inferred.
Initialize BaseClient with an AICoreDestination. Set environment variables AICORE_BASE_URL, AICORE_CLIENT_ID, AICORE_CLIENT_SECRET, AICORE_AUTH_URL.
Use async/await for all calls. Replace requests-based code with BaseClient.get/post/etc (async).
Use AICoreDestination with new keyword arguments: base_url, client_id, client_secret, auth_url, resource_group.
Instantiate AICoreDestination and pass it as destination parameter.
Explicitly set AICORE_RESOURCE_GROUP unless your AI Core instance uses the 'default' group.
No dependency data recorded yet.