-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blogpost #190
base: main
Are you sure you want to change the base?
Blogpost #190
Conversation
|
||
We are excited to announce the initial release of the [SAP Cloud SDK for AI](https://github.com/SAP/ai-sdk-js#readme)! It simplifies the integration of generative AI capabilities into your SAP Business Technology Platform (BTP) applications. | ||
|
||
The SDK allows you to leverage the SAP AI Core and SAP AI Launchpad, enabling capabilities like templating, grounding, data masking, and more. In this blog post, we’ll introduce you to the key packages and their features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please link to help documents for SAP AI Core & Launchpad.
AI core -> https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/what-is-sap-ai-core
|
||
## Key Features | ||
### AI Orchestration with `@sap-ai-sdk/orchestration` | ||
The [@sap-ai-sdk/orchestration](https://github.com/SAP/ai-sdk-js/tree/main/packages/orchestration#readme) package enables generative AI orchestration, allowing you to configure templating, content filtering, and data masking for your applications. With its orchestration service, you can streamline workflows and manage AI models within SAP AI Core. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The [@sap-ai-sdk/orchestration](https://github.com/SAP/ai-sdk-js/tree/main/packages/orchestration#readme) package enables generative AI orchestration, allowing you to configure templating, content filtering, and data masking for your applications. With its orchestration service, you can streamline workflows and manage AI models within SAP AI Core. | |
The [@sap-ai-sdk/orchestration](https://github.com/SAP/ai-sdk-js/tree/main/packages/orchestration#readme) package enables generative AI orchestration, allowing you to configure templating, content filtering, and data masking for your applications. With the orchestration service, you can streamline workflows and manage AI models within SAP AI Core. |
[question] It's unclear what kind of workflows are we talking about.
Also, we don't really manage models with the orchestration service right?
- **Templating**: Create dynamic prompts with placeholders to customize AI interactions based on user inputs. | ||
- **Content Filtering**: Apply filters to ensure input and output adhere to content safety guidelines. | ||
- **Data Masking**: Anonymize sensitive information with data masking features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pp] It would be nice to see some code examples. Consider adding a very minimal usage and linking to readme of the orchestration client for specific code samples related to each module.
- **Artifact Management**: Register and manage datasets and other model artifacts. | ||
- **Configuration Management**: Set up configurations for different models and use cases. | ||
- **Deployment Management**: Deploy AI models and manage their lifecycle within SAP AI Core. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pp] Consider linking to readme of the ai core client for specific code samples related to each section.
- **Data Masking**: Anonymize sensitive information with data masking features. | ||
|
||
### AI Management with `@sap-ai-sdk/ai-api` | ||
The [@sap-ai-sdk/ai-api](https://github.com/SAP/ai-sdk-js/tree/main/packages/ai-api#readme) package provides comprehensive tools for managing scenarios and workflows in SAP AI Core. You can automate processes such as creating artifacts, configurations, and deployments; executing batch inference jobs; and managing Docker registries and object storage for training data. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[question] Should we mention that this client is generated and will be updated regularly based on spec?
### Generative AI with `@sap-ai-sdk/foundation-models` | ||
The [@sap-ai-sdk/foundation-models](https://github.com/SAP/ai-sdk-js/tree/main/packages/foundation-models#readme) package offers streamlined access to specific generative AI models deployed in SAP AI Core and SAP AI Launchpad. It provides a more focused interface compared to the full orchestration capabilities, concentrating on direct model interactions. | ||
|
||
This package is ideal for developers who need direct access to foundation models without the additional layers of orchestration, content filtering, or data masking provided by the orchestration service. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package is ideal for developers who need direct access to foundation models without the additional layers of orchestration, content filtering, or data masking provided by the orchestration service. | |
This package is ideal for developers who need direct access to foundation models for inference and embedding requests without the additional layers of templating, content filtering, or data masking provided by the orchestration service. |
|
||
We are excited to announce the initial release of the [SAP Cloud SDK for AI](https://github.com/SAP/ai-sdk-js#readme)! It simplifies the integration of generative AI capabilities into your SAP Business Technology Platform (BTP) applications. | ||
|
||
The SDK allows you to leverage the SAP AI Core and SAP AI Launchpad, enabling capabilities like templating, grounding, data masking, and more. In this blog post, we’ll introduce you to the key packages and their features. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[question] Is it important to mention somewhere that we use ESM instead of CJS?
What about minimum node version required?
|
||
### Generative AI with `@sap-ai-sdk/foundation-models` | ||
The [@sap-ai-sdk/foundation-models](https://github.com/SAP/ai-sdk-js/tree/main/packages/foundation-models#readme) package offers streamlined access to specific generative AI models deployed in SAP AI Core and SAP AI Launchpad. It provides a more focused interface compared to the full orchestration capabilities, concentrating on direct model interactions. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pp] Minimal code samples for at least orchestration and the OpenAI client would be a nice to have.
|
||
- **Seamless Integration**: Built on SAP Cloud SDK for AI's foundation model clients, ensuring compatibility with SAP AI Core and LangChain's ecosystem. | ||
- **Flexible Clients**: Easily initialize chat and embedding clients with support for advanced features like templating and output parsing. | ||
- **RAG Support**: Implement Retrieval-Augmented Generation workflows by combining embedding capabilities with LangChain's text splitters and vector stores. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[question] Do we have an example for RAG in our sample code?
Context
AI/gen-ai-hub-sdk-js-backlog#ISSUENUMBER.
Please provide a description of what your change does and why it is needed.
Definition of Done