Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultKeyID = "id" DefaultKeyContent = "content" )
Variables ¶
View Source
var (
ErrInternal = "internal index error"
)
Functions ¶
Types ¶
type SearchResponse ¶
type SearchResponses ¶ added in v0.0.5
type SearchResponses []SearchResponse
func FilterSearchResponses ¶ added in v0.0.10
func FilterSearchResponses(searchResponses SearchResponses, topK int) SearchResponses
func (SearchResponses) ToDocuments ¶ added in v0.0.5
func (s SearchResponses) ToDocuments() []document.Document
Click to show internal directories.
Click to hide internal directories.