Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Completion ¶
type Completion struct {
Text string `json:"text"`
}
type PalmRequest ¶
type PalmRequest struct {
Instances []Content `json:"instances"`
Parameters *Parameters `json:"parameters"`
}
type PalmResponse ¶
type PalmResponse struct {
Predictions []struct {
SafetyAttributes struct {
Categories []string `json:"categories"`
Blocked bool `json:"blocked"`
Scores []float64 `json:"scores"`
} `json:"safetyAttributes"`
CitationMetadata struct {
Citations []any `json:"citations"`
} `json:"citationMetadata"`
Content string `json:"content"`
} `json:"predictions"`
}
Click to show internal directories.
Click to hide internal directories.