The official Python library for the OGX Client API, providing bindings to interact with OGX's AI and data services. Version 1.0.2, actively maintained, with releases roughly every 2-3 months.
pip install ogx-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client with API key from environment and make a basic query.
Change to `from ogx_client import OGXClient`.
Always pass `api_key` either directly or via environment variable (OGX_API_KEY).
Set model during client initialization: `OGXClient(api_key=..., model='gpt-4')` instead of passing it per-request.
Wrap calls in a retry loop with backoff, or use a wrapper library like `tenacity`.