Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenPipe/OpenPipe
/ Choice
Class
Choice
trainer/src/lora_inference/api.py:5–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
4
5
class
Choice(BaseModel):
6
text: str
7
finish_reason: Literal[
"stop"
,
"length"
]
8
9
10
class
Usage(BaseModel):
Callers
2
generate
Method · 0.70
merge_openai_chunks
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected