Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Indexer ¶ added in v0.0.8
type Indexer struct {
// contains filtered or unexported fields
}
Indexer ...
func NewIndexer ¶ added in v0.0.8
NewIndexer ...
type KnowledgeEntity ¶
type KnowledgeEntity struct {
ID int64 `json:"id"`
LibraryID int64 `json:"lib_id,omitempty"`
Question string `json:"question"`
Answer string `json:"answer"`
Score float64 `json:"score"`
}
KnowledgeEntity TODO
type Options ¶
type Options struct {
LibraryID int64 `json:"id"`
Kind string `json:"kind"`
IndexID int32 `json:"index_id"`
TopK int32 `json:"top_k"`
ScoreThreshold float64 `json:"score_threshold"`
}
Options ...
type Retrival ¶ added in v0.0.8
type Retrival struct {
// contains filtered or unexported fields
}
Retrival ...
func NewRetrival ¶ added in v0.0.8
NewRetrival ...
Click to show internal directories.
Click to hide internal directories.