From 3231bc0fa929cce6bbc76a07e9cb001a2ac56a3a Mon Sep 17 00:00:00 2001 From: Mengxin Liu Date: Fri, 13 Sep 2024 13:28:03 +0800 Subject: [PATCH] [fix] The batch response should return only two items --- src/components/models/responses/TextEmbeddingsResponses.astro | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/models/responses/TextEmbeddingsResponses.astro b/src/components/models/responses/TextEmbeddingsResponses.astro index 77fb82196bc7c82..4a610df32f59387 100644 --- a/src/components/models/responses/TextEmbeddingsResponses.astro +++ b/src/components/models/responses/TextEmbeddingsResponses.astro @@ -11,7 +11,6 @@ const json_single = `{ const json_batch = `{ "shape":[2,768], "data":[ - [0.03190416097640991, 0.006062490865588188, 0.025968171656131744,...], [0.002439928939566016, -0.021352028474211693, 0.06229676678776741,...], [-0.02154572866857052,0.09098546206951141,0.006273532286286354,...] ] @@ -26,4 +25,4 @@ const json_batch = `{

Batch of two strings:

- \ No newline at end of file +