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