MCPcopy Index your code
hub / github.com/google/adk-python / create_eval_set

Method create_eval_set

src/google/adk/cli/dev_server.py:714–726  ·  view source on GitHub ↗
(
        app_name: str, create_eval_set_request: CreateEvalSetRequest
    )

Source from the content-addressed store, hash-verified

712 tags=[TAG_EVALUATION],
713 )
714 async def create_eval_set(
715 app_name: str, create_eval_set_request: CreateEvalSetRequest
716 ) -> EvalSet:
717 try:
718 return self.eval_sets_manager.create_eval_set(
719 app_name=app_name,
720 eval_set_id=create_eval_set_request.eval_set.eval_set_id,
721 )
722 except ValueError as ve:
723 raise HTTPException(
724 status_code=400,
725 detail=str(ve),
726 ) from ve
727
728 # TODO - remove after migration
729 @deprecated(

Calls

no outgoing calls