Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateResult ¶
type GenerateResult struct { SingleResult *string `json:"singleResult,omitempty"` GroupedResult *string `json:"groupedResult,omitempty"` Error error `json:"error,omitempty"` }
GenerateResult used in generative OpenAI module to represent the answer to a given question
type RankResult ¶ added in v1.21.0
type RankResult struct {
Score *float64 `json:"score,omitempty"`
}
Answer used in qna module to represent the answer to a given question
Click to show internal directories.
Click to hide internal directories.