| 59 | } |
| 60 | |
| 61 | type ChatCompletionChoice struct { |
| 62 | Index int `json:"index"` |
| 63 | Message ChatCompletionMessage `json:"message"` |
| 64 | FinishReason string `json:"finish_reason"` |
| 65 | } |
| 66 | |
| 67 | // SendChat returns an ChatCompletionResponse |
| 68 | func SendChat(request ChatCompletionRequest) (chatCompletionResponse ChatCompletionResponse, err error) { |
nothing calls this directly
no outgoing calls
no test coverage detected