Skip to content

Commit

Permalink
Merge pull request #71 from pepperoni21/embeddings-response-float-typ…
Browse files Browse the repository at this point in the history
…e-fix

Fixed GenerateEmbeddingsResponse float type
  • Loading branch information
pepperoni21 authored Sep 7, 2024
2 parents d66f5f4 + 4c54c40 commit d996b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generation/embeddings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ impl Ollama {
#[derive(Debug, Deserialize, Clone)]
pub struct GenerateEmbeddingsResponse {
#[allow(dead_code)]
pub embeddings: Vec<Vec<f64>>,
pub embeddings: Vec<Vec<f32>>,
}

0 comments on commit d996b9b

Please sign in to comment.