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