instrument_portkey
openai_client attribute of a Portkey or
AsyncPortkey instance so that all OpenAI-compatible calls are logged
via Maxim.
Arguments:
Returns:
The same client instance with its
openai_client patched.Portkey client implementation for API interactions and model integration.
openai_client attribute of a Portkey or
AsyncPortkey instance so that all OpenAI-compatible calls are logged
via Maxim.
Arguments:
openai_client patched.