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

Class LogProbs

fastchat/protocol/openai_api_protocol.py:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51class LogProbs(BaseModel):
52 text_offset: List[int] = Field(default_factory=list)
53 token_logprobs: List[Optional[float]] = Field(default_factory=list)
54 tokens: List[str] = Field(default_factory=list)
55 top_logprobs: List[Optional[Dict[str, float]]] = Field(default_factory=list)
56
57
58class ChatCompletionRequest(BaseModel):

Callers 1

create_openai_logprobsFunction · 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…