Skip to main content

IBM Generative AI is a Python library built on IBM's large language model REST interface.

Project description

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 ibm-watsonx-ai.

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

📚 V3 Migration Guide

📚 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ibm_generative_ai-3.0.0.tar.gz (74.7 kB view hashes)

Uploaded Source

Built Distribution

ibm_generative_ai-3.0.0-py3-none-any.whl (111.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page