llama-stack-mirror/llama_stack
Xi Yan 7a90fc5854
move DataSchemaValidatorMixin into standalone utils (#720)
# What does this PR do?

- there's no value in keeping data schema validation logic in a
DataSchemaValidatorMixin
- move into data schema validation logic into standalone utils

## Test Plan
```
pytest -v -s -m llm_as_judge_scoring_together_inference scoring/test_scoring.py --judge-model meta-llama/Llama-3.2-3B-Instruct
pytest -v -s -m basic_scoring_together_inference scoring/test_scoring.py
pytest -v -s -m braintrust_scoring_together_inference scoring/test_scoring.py

pytest -v -s -m meta_reference_eval_together_inference eval/test_eval.py
pytest -v -s -m meta_reference_eval_together_inference_huggingface_datasetio eval/test_eval.py
```



## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
2025-01-06 13:25:09 -08:00
..
apis [Post training] make validation steps configurable (#715) 2025-01-03 08:43:24 -08:00
cli [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
distribution remove default logger handlers when using libcli with notebook (#718) 2025-01-06 13:06:22 -08:00
providers move DataSchemaValidatorMixin into standalone utils (#720) 2025-01-06 13:25:09 -08:00
scripts Fix to conda env build script 2024-12-17 12:19:34 -08:00
templates Change post training run.yaml inference config (#710) 2025-01-03 08:37:48 -08:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00