mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-07 04:45:44 +00:00
Add OpenAPI generation utility, update SPEC to reflect latest types
This commit is contained in:
parent
417ba2aea0
commit
1f5eb9ff96
10 changed files with 770 additions and 656 deletions
|
@ -27,7 +27,7 @@ class RewardScoringResponse(BaseModel):
|
|||
|
||||
class RewardScoring(Protocol):
|
||||
@webmethod(route="/reward_scoring/score")
|
||||
def post_score(
|
||||
def reward_score(
|
||||
self,
|
||||
request: RewardScoringRequest,
|
||||
) -> Union[RewardScoringResponse]: ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue