ChatCompletionRequest represents the request sent to OpenAI
| 57 | |
| 58 | // ChatCompletionRequest represents the request sent to OpenAI |
| 59 | type ChatCompletionRequest struct { |
| 60 | Model string `json:"model"` |
| 61 | Messages []openai.ChatCompletionMessageParamUnion `json:"messages"` |
| 62 | Tools []openai.ChatCompletionToolParam `json:"tools"` |
| 63 | Temperature *float32 `json:"temperature,omitempty"` |
| 64 | TopP *float32 `json:"top_p,omitempty"` |
| 65 | MaxTokens *int `json:"max_tokens,omitempty"` |
| 66 | } |
nothing calls this directly
no outgoing calls
no test coverage detected