Skip to content

Commit

Permalink
Merge pull request #27 from AlessandroSechi/master
Browse files Browse the repository at this point in the history
Support Text in SearchResult response
  • Loading branch information
davidmezzetti authored Jan 22, 2024
2 parents 9fdb42c + 814fbff commit 0de7e7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embeddings.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type Document struct {
// Search result
type SearchResult struct {
Id string `json:"id"`
Text string `json:"text"`
Score float64 `json:"score"`
}

Expand Down

0 comments on commit 0de7e7f

Please sign in to comment.