MCPcopy Create free account
hub / github.com/coderabbit214/document-ai / ChatCompletionChoice

Struct ChatCompletionChoice

pkg/openai/chat.go:61–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61type 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
68func SendChat(request ChatCompletionRequest) (chatCompletionResponse ChatCompletionResponse, err error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected