mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-02 11:04:31 +00:00
remove evals from top-level
This commit is contained in:
parent
a475d72155
commit
86486a94ce
10 changed files with 166 additions and 263 deletions
|
|
@ -13,7 +13,6 @@ from llama_stack.apis.benchmarks import Benchmark
|
|||
from llama_stack.apis.datasets import Dataset
|
||||
from llama_stack.apis.datatypes import Api
|
||||
from llama_stack.apis.models import Model
|
||||
from llama_stack.apis.scoring_functions import ScoringFn
|
||||
from llama_stack.apis.shields import Shield
|
||||
from llama_stack.apis.tools import Tool
|
||||
from llama_stack.apis.vector_dbs import VectorDB
|
||||
|
|
@ -42,12 +41,6 @@ class DatasetsProtocolPrivate(Protocol):
|
|||
async def unregister_dataset(self, dataset_id: str) -> None: ...
|
||||
|
||||
|
||||
class ScoringFunctionsProtocolPrivate(Protocol):
|
||||
async def list_scoring_functions(self) -> List[ScoringFn]: ...
|
||||
|
||||
async def register_scoring_function(self, scoring_fn: ScoringFn) -> None: ...
|
||||
|
||||
|
||||
class BenchmarksProtocolPrivate(Protocol):
|
||||
async def register_benchmark(self, benchmark: Benchmark) -> None: ...
|
||||
|
||||
|
|
|
|||
|
|
@ -20,5 +20,7 @@ context_entity_recall_fn_def = ScoringFn(
|
|||
provider_id="braintrust",
|
||||
provider_resource_id="context-entity-recall",
|
||||
return_type=NumberType(),
|
||||
params=BasicScoringFnParams(aggregation_functions=[AggregationFunctionType.average]),
|
||||
params=BasicScoringFnParams(
|
||||
aggregation_functions=[AggregationFunctionType.average]
|
||||
),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue