config(app_id: str | None = None, verbose: str | None = None, api_url: str | None = None, disable_ssl_verify: bool | None = None) | Configures the SDK with the given parameters. |
track_event(event_type: str, event_name: str, run_id: uuid, parent_run_id: uuid, name: str, input: Any, output: Any, error: Any, token_usage: Any, user_id: str, user_props: Any, tags: Any, extra: Any) -> None | Tracks an event with the given parameters. |
handle_internal_error(e: Exception) -> None | Handles internal errors. |
wrap(fn: Callable, type: str, name: str, user_id: str, user_props: Any, tags: Any, input_parser: Callable, output_parser: Callable) -> Callable | Wraps a function with monitoring capabilities. |
monitor(object: OpenAIUtils) -> None | Monitors an instance of OpenAIUtils. |
identify(user_id: str, user_props: Any) -> UserContextManager | Identifies a user and sets the user context. |