Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generative-ai-hub-sdk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generative-ai-hub-sdk

generative AI hub SDK

  • 4.0.0
  • PyPI
  • Socket score

Maintainers
1

SAP generative AI hub SDK

With this SDK you can leverage the power of generative models available in the generative AI Hub of SAP AI Core. The generative AI Hub SDK provides model access by wrapping the native SDKs of the model providers (OpenAI, Amazon, Google), through langchain, or through the orchestration service.

Installation

To install this SDK, use the following pip command, which includes support for all models including langchain support:

pip install "generative-ai-hub-sdk[all]"

The default installation only includes OpenAI models (without langchain support):

pip install generative-ai-hub-sdk

You can install a subset of the extra libraries (without langchain support) by specifying them in square brackets:

pip install "generative-ai-hub-sdk[google, amazon]"

Configuration, Usage

Please refer to the official documentation hosted on help.sap.com for details on how to configure and use the generative AI hub SDK.

Dependencies

Currently the generative AI Hub SDK supports the following dependent library versions:

  • langchain~=0.2.9 # langchain
  • langchain-community==0.2.17 # langchain
  • langchain-aws==0.1.7 # langchain
  • langchain-google-vertexai==1.0.8 # langchain
  • langchain-openai~=0.1.4 # langchain
  • boto3==1.34.132 # amazon
  • google-cloud-aiplatform==1.60.0 # google
  • openai>=1.3.3

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc