callbacks
#
Callback Handler that prints to std out.
Classes
Callback Handler that tracks OpenAI info. |
Functions
|
Get the cost in USD for a given model and number of tokens. |
|
Get the OpenAI callback handler in a context manager. |
|
Standardize the model name to a format that can be used in the OpenAI API. |