IBM-Generative-AI is a Python library built on IBM's large language model REST interface to seamlessly integrate and extend this service in Python programs.

IBM IBM Last update: Feb 20, 2024

IBM Generative AI Python SDK (Tech Preview)

License PyPI PyPI - Downloads Coverage Status Build & Unit/Integration Tests E2E Tests

This is not the watsonx.ai Python SDK. This is the Python SDK for the Tech Preview program for IBM Foundation Models Studio. This SDK brings IBM Generative AI (GenAI) into Python programs and provides useful operations and types.

You can start a trial version or request a demo via https://www.ibm.com/products/watsonx-ai.

Looking for the watsonx.ai Python SDK? Check out watson-machine-learning-sdk.

Looking for a NodeJS SDK version? Check out IBM Generative AI NodeJS SDK

Looking for a CLI? Check out IBM Generative AI CLI.

Important

The SDK was recently rewritten and released under V2 (2024). See the V2 migration guide.

Installation

pip install --upgrade ibm-generative-ai

đź“š Documentation

đź“š Examples

đź“š V2 Migration Guide

Important Information for Contributors

  • Do you want to contribute to the project? IBM Generative AI is an open-source project that welcomes the community to contribute with documentation, tests, bug corrections, and new functionality in the form of extensions. Please read our code of conduct to learn the expected behavior from participants that contribute to the project, and our contribution guide to learn the gitflow and steps to submit pull requests.
Tags:

Subscribe to our newsletter