mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-21 17:09:51 +01:00
chore: clippy helps out
This commit is contained in:
@@ -68,7 +68,7 @@ pub async fn generate_embedding_with_params(
|
||||
let request = CreateEmbeddingRequestArgs::default()
|
||||
.model(model)
|
||||
.input([input])
|
||||
.dimensions(dimensions as u32)
|
||||
.dimensions(dimensions)
|
||||
.build()?;
|
||||
|
||||
let response = client.embeddings().create(request).await?;
|
||||
|
||||
Reference in New Issue
Block a user