Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultOctoAIDocumentType = "text" DefaultOctoAIModel = "thenlper/gte-large" DefaultVectorizeClassName = true DefaultPropertyIndexed = true DefaultVectorizePropertyName = false DefaultBaseURL = "https://text.octoai.run" )
View Source
const ( MaxObjectsPerBatch = 2048 MaxTimePerBatch = float64(10) )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(client text2vecbase.BatchClient, logger logrus.FieldLogger) *text2vecbase.BatchVectorizer
func NewClassSettings ¶
func NewClassSettings(cfg moduletools.ClassConfig) *classSettings
Types ¶
Click to show internal directories.
Click to hide internal directories.