For documents on rust-ai
package/crate, see rust-ai/README.md.
Run examples like this:
cargo run --bin openai-audio-transcription
Examples located at examples
directory, available targets:
- OpenAI:
openai-audio-transcription
openai-audio-translation
openai-chat-completion-streamed
openai-chat-completion
openai-completion-streamed
openai-completion
openai-edit-code
openai-embedding
openai-image-edit
openai-image-generation
openai-image-variant
- Azure:
azure-text-to-speech
azure-batch-transcription