IBM Generative AI Python SDK (Tech Preview) ============================================ This is the Python SDK for IBM Foundation Models Studio to bring IBM Generative AI into Python programs and to also extend it with useful operations and types. You can start a trial version or request a demo via https://www.ibm.com/products/watsonx-ai. .. toctree:: :hidden: Getting Started V3 Migration Guide V2 Migration Guide Examples FAQ Changelog .. admonition:: Migration to V3 :class: tip We recently updated the SDK with improved moderations and schemas. See the :doc:`V3 Migration Guide `. .. admonition:: Migration to V2 :class: tip We rewrote nearly the whole SDK to be faster and more reliable than V1 and would bring you all the latest features available on the API. To easily migrate, we prepared the :doc:`V2 Migration Guide `. Top Features ------------ ✅ Very Performant. ✅ Generated Typings directly from the API. ✅ Smart Requests Concurrency Handling. ✅ Retry Mechanism in case of network or API failure. ✅ Batching Large Requests automatically. ✅ Easy to extend (see :ref:`example `). ✅ Integrations to :ref:`LangChain `, :ref:`LLamaIndex ` and :ref:`HuggingFace `. ✅ :ref:`LocalServer extension ` – run local API compatible with SDK. First Steps ----------- To start using the SDK and the power of generative AI, ensure you have an API key from one of the supported environments. Then jump straight into :doc:`Getting Started ` page and explore all prepared :doc:`examples `. Important pages ------------------ * :doc:`Getting Started ` * :doc:`Examples ` * :doc:`V3 Migration Guide ` * :doc:`V2 Migration Guide ` * :doc:`Extensions ` * :doc:`FAQ ` * :doc:`Modules` * :ref:`modindex` * :ref:`genindex`