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

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

Uploaded Source

Built Distribution

ibm_generative_ai-2.1.1-py3-none-any.whl (94.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ibm_generative_ai-2.1.1.tar.gz
Algorithm Hash digest
SHA256 bf01be59ac54f6413285be84133d28a5a7b28d43f0c594770ec50546649d2174
MD5 0eb434440ede5e1179019a3d70976128
BLAKE2b-256 6a0fc7f4d280e1321c5b4aae1bc7631e48880739219a62e9ecbcf7af831beeea

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ibm_generative_ai-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c064b2ce40a0c5aeaf5847a69ac9ff70dd4e355a798ba81fabfc4382077dc04
MD5 438d09142137fddfbaabc174bb682759
BLAKE2b-256 3680603382c0d83e0ddd00e565807c25eaf70ab5d3b181d9c8e4193c2a219e7a

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