Documentation
¶
Overview ¶
Package customtasktype
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Textembedding = CustomTaskType{"text_embedding"} Sparseembedding = CustomTaskType{"sparse_embedding"} Rerank = CustomTaskType{"rerank"} Completion = CustomTaskType{"completion"} )
Functions ¶
This section is empty.
Types ¶
type CustomTaskType ¶
type CustomTaskType struct {
Name string
}
func (CustomTaskType) MarshalText ¶
func (c CustomTaskType) MarshalText() (text []byte, err error)
func (CustomTaskType) String ¶
func (c CustomTaskType) String() string
func (*CustomTaskType) UnmarshalText ¶
func (c *CustomTaskType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.