We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2c874 commit d53cc33Copy full SHA for d53cc33
README.md
@@ -48,7 +48,7 @@ use openai_api_rust::completions::*;
48
49
fn main() {
50
// Load API key from environment OPENAI_API_KEY.
51
- // You can also hadcode through `Auth::new(<your_api_key>)`, but it is not recommended.
+ // You can also hardcode through `Auth::new(<your_api_key>)`, but it is not recommended.
52
let auth = Auth::from_env().unwrap();
53
let openai = OpenAI::new(auth, "https://api.openai.com/v1/");
54
let body = ChatBody {
0 commit comments