# SAP Cloud SDK for AI ## ai-sdk - [Search the documentation](/search.md) - [AI Core Deployment](/docs/java/ai-core/ai-core-deployment.md): How to create and manage deployments in SAP AI Core - [Batch](/docs/java/ai-core/batch.md): How to manage LLM batch jobs using the SAP AI SDK for Java. - [Document Grounding](/docs/java/ai-core/document-grounding.md): How to manage data in SAP Document Grounding using the SAP AI SDK for Java. - [Prompt Registry](/docs/java/ai-core/prompt-registry.md): How to manage the life cycle of your prompts in Prompt Registry using the SAP AI SDK for Java. - [Connecting to AI Core](/docs/java/connecting-to-ai-core.md): How to connect to AI Core in BTP using a wide variety of credentials. - [Chat Completion](/docs/java/foundation-models/openai/chat-completion.md): How to use the SAP AI SDK for Java to perform chat completion tasks using OpenAI models deployed on SAP AI Core. - [Embedding](/docs/java/foundation-models/openai/embedding.md): How to use the SAP AI SDK for Java to perform embedding tasks using OpenAI models deployed on SAP AI Core. - [Realtime](/docs/java/foundation-models/openai/realtime.md): How to use the SAP AI SDK for Java to stream audio conversations and text-to-speech using the OpenAI Realtime API. - [Responses](/docs/java/foundation-models/openai/responses.md): How to use the SAP AI SDK for Java to perform responses tasks using OpenAI models deployed on SAP AI Core. - [Table Completion](/docs/java/foundation-models/sap-rpt/table-completion.md): How to use the SAP AI SDK for Java to perform table completion tasks using SAP RPT models deployed on SAP AI Core. - [Frequently Asked Questions](/docs/java/frequently-asked-questions.md): You asked! We answered! We collected here the most frequent question about SAP Cloud SDK for Java. - [Getting Started](/docs/java/getting-started.md): Get up to speed with SAP Cloud SDK for Java in no time - [Chat Completion](/docs/java/orchestration/chat-completion.md): How to use the Orchestration service in SAP AI Core for chat completion tasks using the SAP AI SDK for Java. - [Embedding](/docs/java/orchestration/embedding.md): How to use the SAP AI SDK for Java to perform embedding tasks using Orchestration models deployed on SAP AI Core. - [Java SDK Overview](/docs/java/overview.md): The SAP Cloud SDK for AI Java significantly simplifies extending and developing an application with SAP Business Technology Platform - [Release Notes](/docs/java/release-notes.md): Release notes of SAP Cloud SDK for AI, stay up to date with the recent features, fixes, dependency updates and recommendations. - [release-notes-0-to-14](/docs/java/release-notes/release-notes-0-to-14.md): 1.14.0 - January 08, 2026 - [release-notes-15-to-29](/docs/java/release-notes/release-notes-15-to-29.md): 1.25.0 - September 04, 2026 - [OpenAI Integration](/docs/java/spring-ai/openai.md): How to use our Spring AI integration with our OpenAI client in SAP AI Core for chat completion tasks using the SAP AI SDK for Java. - [Orchestration Integration](/docs/java/spring-ai/orchestration.md): How to use our Spring AI integration with our Orchestration client in SAP AI Core for chat completion tasks using the SAP AI SDK for Java. - [Getting Started with Agentic Workflows](/docs/java/tutorials/agentic-workflows.md): A tutorial on how to build agentic workflows using the SAP AI SDK. - [AI API](/docs/js/v1/ai-core/ai-api.md): How to use SAP Cloud SDK for AI to interact with SAP AI Core. - [Document Grounding](/docs/js/v1/ai-core/document-grounding.md): How to use SAP Cloud SDK for AI to interact with the document grounding service. - [Prompt Registry](/docs/js/v1/ai-core/prompt-registry.md): How to use SAP Cloud SDK for AI to interact with the prompt registry service. - [Connecting to AI Core](/docs/js/v1/connecting-to-ai-core.md): How to connect to AI Core in BTP using a wide variety of credentials. - [Error Handling](/docs/js/v1/error-handling.md): Error handling instructions for SAP Cloud SDK for AI - [Foundation Models](/docs/js/v1/foundation-models.md): How to use the SAP Cloud SDK for AI to perform tasks using foundation models deployed on SAP AI Core. - [Chat Completion](/docs/js/v1/foundation-models/openai/chat-completion.md): How to use the SAP Cloud SDK for AI to perform chat completion tasks using Azure OpenAI models deployed through SAP AI Core. - [Embedding](/docs/js/v1/foundation-models/openai/embedding.md): How to use the SAP Cloud SDK for AI to perform embedding tasks using Azure OpenAI models through SAP AI Core. - [Frequently Asked Questions](/docs/js/v1/frequently-asked-questions.md): You asked! We answered! We collected here the most frequent question about SAP Cloud SDK for AI (JavaScript). - [Getting Started](/docs/js/v1/getting-started.md): Get up to speed with SAP Cloud SDK for AI in no time - [LangChain](/docs/js/v1/langchain.md): How to use SAP Cloud SDK for AI clients with LangChain. - [OpenAI Integration](/docs/js/v1/langchain/openai.md): How to integrate Azure OpenAI chat and embedding clients from SAP Cloud SDK for AI into LangChain. - [Orchestration Integration](/docs/js/v1/langchain/orchestration.md): How to integrate orchestration client of SAP Cloud SDK for AI into LangChain. - [Chat Completion](/docs/js/v1/orchestration/chat-completion.md): How to use the SAP Cloud SDK for AI to perform chat completion tasks using orchestration service from SAP AI Core. - [JavaScript SDK Overview](/docs/js/v1/overview-cloud-sdk-for-ai-js.md): The SAP Cloud SDK for AI JavaScript/TypeScript significantly simplifies extending and developing an application with SAP Business Technology Platform - [Release Notes](/docs/js/v1/release-notes.md): Release notes of SAP Cloud SDK for AI, stay up to date with the recent features, fixes, dependency updates and recommendations. - [Getting Started with Agents using LangChain](/docs/js/v1/tutorials/getting-started-with-agents.md): Building a Travel Itinerary Assistant with LangGraph and LangChain Client - [AI API](/docs/js/ai-core/ai-api.md): How to use SAP Cloud SDK for AI to interact with SAP AI Core. - [Document Grounding](/docs/js/ai-core/document-grounding.md): How to use SAP Cloud SDK for AI to interact with the document grounding service. - [Prompt Registry](/docs/js/ai-core/prompt-registry.md): How to use SAP Cloud SDK for AI to interact with the prompt registry service. - [Connecting to AI Core](/docs/js/connecting-to-ai-core.md): How to connect to AI Core in BTP using a wide variety of credentials. - [Error Handling](/docs/js/error-handling.md): Error handling instructions for SAP Cloud SDK for AI - [Foundation Models](/docs/js/foundation-models.md): How to use the SAP Cloud SDK for AI to perform tasks using foundation models deployed on SAP AI Core. - [Batch API](/docs/js/foundation-models/openai/batch.md): How to use the SAP Cloud SDK for AI to process multiple LLM requests asynchronously using the Batch API with Azure OpenAI models through SAP AI Core. - [Chat Completion](/docs/js/foundation-models/openai/chat-completion.md): How to use the SAP Cloud SDK for AI to perform chat completion tasks using Azure OpenAI models deployed through SAP AI Core. - [Embedding](/docs/js/foundation-models/openai/embedding.md): How to use the SAP Cloud SDK for AI to perform embedding tasks using Azure OpenAI models through SAP AI Core. - [Frequently Asked Questions](/docs/js/frequently-asked-questions.md): You asked! We answered! We collected here the most frequent question about SAP Cloud SDK for AI (JavaScript). - [Getting Started](/docs/js/getting-started.md): Get up to speed with SAP Cloud SDK for AI in no time - [LangChain](/docs/js/langchain.md): How to use SAP Cloud SDK for AI clients with LangChain. - [OpenAI Integration](/docs/js/langchain/openai.md): How to integrate Azure OpenAI chat and embedding clients from SAP Cloud SDK for AI into LangChain. - [Orchestration Integration](/docs/js/langchain/orchestration.md): How to integrate orchestration client of SAP Cloud SDK for AI into LangChain. - [OpenAI](/docs/js/openai.md): How to use the @sap-ai-sdk/openai package to access Azure OpenAI models on SAP AI Core using the official openai npm package. - [Realtime API](/docs/js/openai/realtime.md): How to use the @sap-ai-sdk/openai package to connect to the OpenAI Realtime API over WebSocket on SAP AI Core. - [Chat Completion](/docs/js/orchestration/chat-completion.md): How to use the SAP Cloud SDK for AI to perform chat completion tasks using orchestration service from SAP AI Core. - [Embedding](/docs/js/orchestration/embedding.md): How to use the SAP Cloud SDK for AI to generate embeddings using the Orchestration service on SAP AI Core. - [JavaScript SDK Overview](/docs/js/overview.md): The SAP Cloud SDK for AI JavaScript/TypeScript significantly simplifies extending and developing an application with SAP Business Technology Platform - [Release Notes](/docs/js/release-notes.md): Release notes of SAP Cloud SDK for AI, stay up to date with the recent features, fixes, dependency updates and recommendations. - [Release Policy](/docs/js/release-policy.md): Release policy of SAP Cloud SDK for AI, including versioning strategy, major release schedule, and maintenance information. - [SAP RPT-1 (Beta)](/docs/js/rpt.md): How to use SAP Cloud SDK for AI to interact with the SAP RPT-1 model for Tabular AI on SAP AI Core. - [Getting Started with Agents using LangChain](/docs/js/tutorials/getting-started-agents.md): Building a Travel Itinerary Assistant with LangGraph and LangChain Client - [Processing Batch LLM Requests with the Batch API](/docs/js/tutorials/llm-batch-api.md): Learn how to submit and manage asynchronous LLM batch jobs using the SAP AI SDK for JavaScript. - [Using Scoped Prompt Registry Templates](/docs/js/tutorials/scoped-prompt-registry-templates.md): Learn how to create orchestration deployments and use scoped prompt registry templates with custom headers for resource group isolation. - [Upgrade Guide](/docs/js/upgrade-guide.md): Guide for upgrading from SAP Cloud SDK for AI - [Feature Matrix](/docs/overview/feature-matrix.md): Key features of SAP Cloud SDK for AI to seamlessly build and extend SAP services and applications. - [Support](/docs/overview/get-support.md): If you're stuck and can't find a solution to you problem with SAP Cloud SDK for AI, we're here to help you. - [About the SAP Cloud SDK for AI](/docs/overview/overview.md): SAP Cloud SDK for AI is the official Software Development Kit (SDK) for SAP AI Core, SAP Generative AI Hub, and Orchestration Service. - [AI vs AI](/docs/python/examples/ai-vs-ai.md): This example demonstrates a multi-model conversation where two LLMs talk to each other using LangChain, each maintaining its own message history via RunnableWithMessageHistory. - [Async Examples](/docs/python/examples/async-examples.md): Async Amazon Native - [LLM Batch Service](/docs/python/examples/batch-service.md): The LLM Batch Service lets you process large volumes of LLM requests asynchronously. Instead of individual synchronous calls, you submit a JSONL input file and the service processes it in the background. - [Document Grounding](/docs/python/examples/document-grounding.md): The Document Grounding module implements Retrieval Augmented Generation (RAG). It uses the SAP HANA Vector Engine to retrieve relevant document context and generate more accurate responses. - [Document Grounding — Vector, Retrieval and Pipelines](/docs/python/examples/document-grounding2.md): This page demonstrates the Vector API, Retrieval API, and extended Pipelines API. - [Generative AI Custom Evaluation](/docs/python/examples/evaluations.md): This page showcases how to use the Evaluations SDK to benchmark LLMs, evaluate orchestration configurations, or prompts. - [Native Client Integrations](/docs/python/examples/gen-ai-hub.md): Our SDK offers a developer-friendly way to consume foundational models available in the SAP generative AI hub. We strive to facilitate seamless interactions with these models by providing integrations that act as drop-in replacements for the native client SDKs and LangChain. - [Metering for AI Units](/docs/python/examples/metering.md): Your application needs to report business metrics that reflect the value of AI functionality and cover the cost of GenAI/LLM services. The generative AI hub can report these metrics to Unified Metering on your behalf. - [Orchestration Service (Deprecated)](/docs/python/examples/orchestration-service.md): Version 1 of the orchestration service API is deprecated and will be decommissioned October 2026. See SAP Note 3634540. Use the Orchestration Service V2 API instead. - [Orchestration Service V2 API](/docs/python/examples/orchestration-service2.md): This page demonstrates how to use the SDK with the Orchestration Service V2, enabling AI-driven workflows with modules such as templating, LLMs, data masking, and content filtering. - [Prompt Registry](/docs/python/examples/prompt-registry.md): The Prompt Registry API allows you to create, manage, and retrieve prompt and orchestration config templates for use in SAP AI Core when working with Generative AI Hub models. - [Streaming](/docs/python/examples/streaming.md): Streaming in AI models enables real-time data generation. With native SDKs, invocation and response formats vary by provider and model. LangChain simplifies this by offering a unified stream method. - [SAP Cloud SDK for AI (Python) - generative](/docs/python/overview.md): Overview of the SAP Cloud SDK for AI Python SDK.