mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 02:03:44 +00:00
Implement include parameter specifically for adding logprobs in the output message
This commit is contained in:
parent
4ff0c25c52
commit
7d6c0aaf11
10 changed files with 255 additions and 8 deletions
|
|
@ -582,7 +582,7 @@ class OpenAITokenLogProb(BaseModel):
|
|||
token: str
|
||||
bytes: list[int] | None = None
|
||||
logprob: float
|
||||
top_logprobs: list[OpenAITopLogProb]
|
||||
top_logprobs: list[OpenAITopLogProb] | None = None
|
||||
|
||||
|
||||
@json_schema_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue