The examples showcase how to easily use different agentic frameworks with the "SAP provider" via LiteLLM.
SAP customers can access LLMs across all vendors (OpenAI, Google, Amazon, Mistral, SAP, ...) available in the SAP Generative AI Hub.
🎥 Watch the Devtoberfest Talk on LiteLLM & SAP GenAI Hub 🎥
The SAP Generative AI Hub enables customers to access large language models (LLMs) from various providers e.g., Gemini, ChatGPT, Claude, Mistral in a centralized manner.
LiteLLM is an open-source library which supports 100+ LLMs from various providers. LiteLLM acts as the bridge to use standard open-source frameworks via the OpenAI api. LiteLLM integrates with various LLM providers. The "SAP provider" is recently added to LiteLLM to support the SAP Generative AI Hub.
- SAP AI Core Gen AI subscription via SAP BTP tenant.
- Install latest Litellm (includes SAP provider).
The following examples include python code and jupyter notebooks to demonstrate the integration step by step.
Clear cell outputs and metadata using the ".pre-commit-config.yaml". Installation procedure:
python3 -m venv env
source env/bin/activate
python3 -m pip install pre-commit nbstripoutManual run:
pre-commit run --all-filesSkip Hooks temporarily:
git commit -m "Message" --no-verifyThe documentation is automatically built and deployed via GitHub Actions on each push to the main branch. To build the documentation locally, follow the instructions in DOCUMENTATION_SETUP.md.
