|
|
@ -47,7 +47,8 @@ type OpenAIRequest struct { |
|
|
|
|
|
|
|
|
|
|
|
// Prompt is read only by completion API calls
|
|
|
|
// Prompt is read only by completion API calls
|
|
|
|
Prompt string `json:"prompt"` |
|
|
|
Prompt string `json:"prompt"` |
|
|
|
// Messages is readh only by chat/completion API calls
|
|
|
|
|
|
|
|
|
|
|
|
// Messages is read only by chat/completion API calls
|
|
|
|
Messages []Message `json:"messages"` |
|
|
|
Messages []Message `json:"messages"` |
|
|
|
|
|
|
|
|
|
|
|
// Common options between all the API calls
|
|
|
|
// Common options between all the API calls
|
|
|
|