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

Class CompletionResponseChoice

fastchat/protocol/openai_api_protocol.py:171–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170
171class CompletionResponseChoice(BaseModel):
172 index: int
173 text: str
174 logprobs: Optional[LogProbs] = None
175 finish_reason: Optional[Literal["stop", "length"]] = None
176
177
178class CompletionResponse(BaseModel):

Callers 1

create_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…