From 4c54c40a1c74bc8e9ad9b83046ec3bdf1984a530 Mon Sep 17 00:00:00 2001 From: pepperoni21 Date: Sat, 7 Sep 2024 19:21:19 +0200 Subject: [PATCH] Fixed GenerateEmbeddingsResponse float type --- src/generation/embeddings/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generation/embeddings/mod.rs b/src/generation/embeddings/mod.rs index 6c10b1a..b19b579 100644 --- a/src/generation/embeddings/mod.rs +++ b/src/generation/embeddings/mod.rs @@ -40,5 +40,5 @@ impl Ollama { #[derive(Debug, Deserialize, Clone)] pub struct GenerateEmbeddingsResponse { #[allow(dead_code)] - pub embeddings: Vec>, + pub embeddings: Vec>, }