feat 存档
This commit is contained in:
@@ -30,14 +30,19 @@ type SearchOptions struct {
|
||||
type RequestBody struct {
|
||||
Model string `json:"model"`
|
||||
Input Input `json:"input"`
|
||||
Parameters Parameters `json:"parameters"`
|
||||
Parameters Parameters `json:"parameters,omitempty"`
|
||||
}
|
||||
|
||||
type ResponseBody struct {
|
||||
Output struct {
|
||||
Choices []struct {
|
||||
Message Message `json:"message"`
|
||||
StatusCode string `json:"status_code"`
|
||||
RequestID string `json:"request_id"`
|
||||
Code string `json:"code"`
|
||||
Output struct {
|
||||
Text string `json:"text"`
|
||||
FinishReason string `json:"finish_reason"`
|
||||
Choices []struct {
|
||||
FinishReason string `json:"finish_reason"`
|
||||
Message Message `json:"message"`
|
||||
} `json:"choices"`
|
||||
} `json:"output"`
|
||||
Usage struct {
|
||||
|
||||
Reference in New Issue
Block a user