mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 07:32:36 +00:00
add benchmark scoring fn, agent->agents
This commit is contained in:
parent
436afa68be
commit
4cb2243b10
3 changed files with 96 additions and 2 deletions
|
|
@ -40,14 +40,14 @@ class MetaReferenceEvalImpl(Eval, EvalTasksProtocolPrivate):
|
|||
datasets_api: Datasets,
|
||||
scoring_api: Scoring,
|
||||
inference_api: Inference,
|
||||
agent_api: Agents,
|
||||
agents_api: Agents,
|
||||
) -> None:
|
||||
self.config = config
|
||||
self.datasetio_api = datasetio_api
|
||||
self.datasets_api = datasets_api
|
||||
self.scoring_api = scoring_api
|
||||
self.inference_api = inference_api
|
||||
self.agent_api = agent_api
|
||||
self.agents_api = agents_api
|
||||
|
||||
# TODO: assume sync job, will need jobs API for async scheduling
|
||||
self.jobs = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue