Foundation APIs
Python 0.23.0 · published wheel reference and guides.
PythonMixed
Use supported root imports for the Stable portable contract:
from zhivex_ai import generate_text, stream_text, generate_object, stream_object, embed
generate_textreturns normalized text, usage and finish information.stream_textsupports incremental consumption; close or cancel streams when the consumer exits.generate_objectandstream_objectbind structured generation to an application-owned schema.embedproduces embeddings for models that declare that capability.
Provider construction selects a model; the shared operation stays the same. Model capabilities differ, so verify the provider contract before enabling a feature. A successful local mock establishes runtime behavior, not live support.
See the exact signatures and stability labels in the root reference.