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 & Test Integration 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 https://ibm.github.io/watson-machine-learning-sdk/foundation_models.html.

Looking for the JavaScript/TypeScript version? Check out IBM Generateive AI NodeJS SDK Looking for a command-line interface? 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.

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-2.0.0.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

ibm_generative_ai-2.0.0-py3-none-any.whl (89.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ibm_generative_ai-2.0.0.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for ibm_generative_ai-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d4eef59a5ba097c492cc2f873d597a3d74288355b21e5f6f28750e515dcd1ba0
MD5 bcdeb166de117317d1cd2f6566c0bd9c
BLAKE2b-256 0af5ae212f52e3629e52452395887bf5bc83660e2fdd3fdd0f515d9cb14fafbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ibm_generative_ai-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 89.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/6.2.0-1018-azure

File hashes

Hashes for ibm_generative_ai-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ab85c2f47047de65f9c66c9addfeec72d645f85eb77c964049320e04a38124a
MD5 9ef2ad13f76e97b8431c9d5678ae4303
BLAKE2b-256 fea8a934c6c9c1d2d3904ec8ac151d3bd81bcdd9b0496cb5549408b83ded2cbf

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