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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ibm_generative_ai-3.0.0.tar.gz.

File metadata

  • Download URL: ibm_generative_ai-3.0.0.tar.gz
  • Upload date:
  • Size: 74.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1021-azure

File hashes

Hashes for ibm_generative_ai-3.0.0.tar.gz
Algorithm Hash digest
SHA256 0d86297371a5bb7c41d143a8c770e068f37489b5ca88e6bd56dca61a4f6dc1a8
MD5 33534f1ff25c9c3230798a48d7f2013c
BLAKE2b-256 9275795e9e71ad1cf5f1999610f860ba47e49866d4c064eb3ec38656a36c98a7

See more details on using hashes here.

File details

Details for the file ibm_generative_ai-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: ibm_generative_ai-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 111.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1021-azure

File hashes

Hashes for ibm_generative_ai-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c39a5c84356f7408de31988ee055349a4ab7ec7030f313fa1c19d76b2b6d85
MD5 f2221f5fb9678de884175d890441881b
BLAKE2b-256 63036638df902b558cf34ab79cef05ff5f8beefae9432b7db89c8887eee5ac2d

See more details on using hashes here.

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