mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-19 07:37:18 +00:00
rebase
This commit is contained in:
parent
86fdad3be3
commit
a15a4a4be2
2 changed files with 3 additions and 4 deletions
|
@ -64,7 +64,6 @@ class BraintrustScoringImpl(Scoring, ScoringFunctionsProtocolPrivate):
|
|||
|
||||
async def validate_scoring_input_dataset_schema(self, dataset_id: str) -> None:
|
||||
dataset_def = await self.datasets_api.get_dataset(dataset_id=dataset_id)
|
||||
print(dataset_def)
|
||||
if not dataset_def.schema or len(dataset_def.schema) == 0:
|
||||
raise ValueError(
|
||||
f"Dataset {dataset_id} does not have a schema defined. Please define a schema for the dataset."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue