Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultChunkOverlap = 128
View Source
const DefaultChunkSize = 512
View Source
const DefaultModel = "all-minilm"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookEmbedding ¶
type EndpointRequest ¶
type EndpointResponse ¶
type EndpointResponse struct {
Embedding []float32 `json:"embedding"`
}
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
Click to show internal directories.
Click to hide internal directories.