From 03e42e22045c4f80a119594bb1c1648b5d788ae5 Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Thu, 29 Dec 2022 14:32:06 -0500 Subject: [PATCH] corrected complete to complete_prompt --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a939cd..ad8e293 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ async fn main() -> Result<(), Box> { println!( "{}{}", prompt, - client.complete(prompt.as_str()).await? + client.complete_prompt(prompt.as_str()).await? ); Ok(()) } @@ -55,4 +55,4 @@ println!("Response: {}", response.choices[0].text); println!("Model used: {}", response.model); ``` -See [examples/](./examples) \ No newline at end of file +See [examples/](./examples)