Skip to content

Commit 399782e

Browse files
committed
Improved example [skip ci]
1 parent 450fc99 commit 399782e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/openai/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ fn fetch_embeddings(input: &[&str]) -> Result<Vec<Vec<f32>>, Box<dyn Error>> {
4242
.set("Authorization", &format!("Bearer {}", api_key))
4343
.send_json(ureq::json!({
4444
"input": input,
45-
"model": "text-embedding-ada-002",
45+
"model": "text-embedding-3-small",
4646
}))?
4747
.into_json()?;
4848

0 commit comments

Comments
 (0)