From 814fbffe0675d9d0323601f17ed7fb2982de5305 Mon Sep 17 00:00:00 2001 From: Alessandro Sechi Date: Sun, 21 Jan 2024 11:48:09 +0100 Subject: [PATCH] Support Text in SearchResult response --- embeddings.go | 1 + 1 file changed, 1 insertion(+) diff --git a/embeddings.go b/embeddings.go index aa09c19..8e7154d 100644 --- a/embeddings.go +++ b/embeddings.go @@ -17,6 +17,7 @@ type Document struct { // Search result type SearchResult struct { Id string `json:"id"` + Text string `json:"text"` Score float64 `json:"score"` }