MCPcopy
hub / github.com/lm-sys/FastChat / ChatCompletionResponseChoice

Class ChatCompletionResponseChoice

fastchat/protocol/openai_api_protocol.py:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82class ChatCompletionResponseChoice(BaseModel):
83 index: int
84 message: ChatMessage
85 finish_reason: Optional[Literal["stop", "length"]] = None
86
87
88class ChatCompletionResponse(BaseModel):

Callers 1

create_chat_completionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…