Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 353 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 353 Bytes

Rust Azure OpenAI demo

Quick Start

Using Bash:

cd rust
export OPENAI_URL="https://<myresource>.openai.azure.com/"
export OPENAI_KEY="XXXXXXXXXXXXXXXXX"
export OPENAI_DEPLOYMENT="<mydeployment>"
cargo run

(Setup the environment variables as appropriate)

Note: There is a crate for OpenAI ChatGPT, but it does not support Azure OpenAI.