64bit / async-openai

Rust library for OpenAI
https://docs.rs/async-openai
MIT License
1.09k stars 161 forks source link

Add usage information to the run object #195

Closed turingbuilder closed 6 months ago

turingbuilder commented 6 months ago

OpenAI provide usage information on the run object, this PR adds that information to the RunObject in async_openai.

OpenAI documentation: https://platform.openai.com/docs/api-reference/runs/object#runs/object-usage