diff --git a/src/types/text_embeddings.rs b/src/types/text_embeddings.rs index 3f1fb12..062b4ac 100644 --- a/src/types/text_embeddings.rs +++ b/src/types/text_embeddings.rs @@ -32,12 +32,12 @@ pub struct TextEmbeddingPrediction { #[derive(Clone, Debug, Serialize, Deserialize)] pub struct TextEmbeddingResult { - statistics: TextEmbeddingStatistics, - values: Vec, + pub statistics: TextEmbeddingStatistics, + pub values: Vec, } #[derive(Clone, Debug, Serialize, Deserialize)] pub struct TextEmbeddingStatistics { - truncated: bool, - token_count: u32, + pub truncated: bool, + pub token_count: u32, }