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 450fc99 commit 399782eCopy full SHA for 399782e
examples/openai/src/main.rs
@@ -42,7 +42,7 @@ fn fetch_embeddings(input: &[&str]) -> Result<Vec<Vec<f32>>, Box<dyn Error>> {
42
.set("Authorization", &format!("Bearer {}", api_key))
43
.send_json(ureq::json!({
44
"input": input,
45
- "model": "text-embedding-ada-002",
+ "model": "text-embedding-3-small",
46
}))?
47
.into_json()?;
48
0 commit comments