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