mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
Merge branch 'api_2' into api_3
This commit is contained in:
commit
3e0d4901da
1 changed files with 2 additions and 1 deletions
|
@ -248,7 +248,8 @@ class ScoringFunctions(Protocol):
|
||||||
|
|
||||||
@webmethod(route="/scoring-functions/{scoring_fn_id:path}", method="GET")
|
@webmethod(route="/scoring-functions/{scoring_fn_id:path}", method="GET")
|
||||||
async def get_scoring_function(
|
async def get_scoring_function(
|
||||||
self, scoring_fn_id: str, /
|
self,
|
||||||
|
scoring_fn_id: str,
|
||||||
) -> Optional[ScoringFn]: ...
|
) -> Optional[ScoringFn]: ...
|
||||||
|
|
||||||
@webmethod(route="/scoring-functions", method="POST")
|
@webmethod(route="/scoring-functions", method="POST")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue