The logging support via Faraday is definitely handy in this gem. One thing that would be hugely helpful though would be adding a complimentary gem (that could grow over time) for Rails integration. The specific thing that would be massively helpful would be ActiveSupport::Notifications that are sent on all the actual calls to OpenAI, ideally with separation of the ones like Runs and Completions that have material charges and including the token use info in the Notification.
The logging support via Faraday is definitely handy in this gem. One thing that would be hugely helpful though would be adding a complimentary gem (that could grow over time) for Rails integration. The specific thing that would be massively helpful would be ActiveSupport::Notifications that are sent on all the actual calls to OpenAI, ideally with separation of the ones like Runs and Completions that have material charges and including the token use info in the Notification.