package
Version:
v1.27.7
Opens a new window with list of versions in this module.
Published: Dec 5, 2024
License: BSD-3-Clause
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetResponseParams(result map[string]interface{}) *responseParams
type Choice struct {
Index int `json:"index"`
Message Message `json:"message"`
FinishReason string `json:"finish_reason"`
Logprobs *string `json:"logprobs"`
}
type Message struct {
Role string `json:"role"`
Content string `json:"content"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.