tjardoo / openai-client

OpenAI Dive is an unofficial async Rust library that allows you to interact with the OpenAI API.
https://crates.io/crates/openai_dive
MIT License
47 stars 19 forks source link

Add AudioTranscriptionFile enum #62

Closed stintel closed 6 months ago

stintel commented 7 months ago

This PR makes it possible to pass the audio file content as bytes, making the library more flexible. E.g. it now becomes possible to get the audio file via a network connection and pass it directly without having to use a temporary file.