/rust-ai

A collection of 3rd-party AI APIs for Rust

Primary LanguageRustApache License 2.0Apache-2.0

AI in Rust (Workspace)

For documents on rust-ai package/crate, see rust-ai/README.md.

Examples

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