llama-stack/llama_stack/providers/inline
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
..
agents [#407] Agents: Avoid calling tools that haven't been explicitly enabled (#637) 2025-01-02 09:21:35 -08:00
datasetio [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
eval move DataSchemaValidatorMixin into standalone utils (#720) 2025-01-06 13:25:09 -08:00
inference [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
ios/inference impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00
memory [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
post_training/torchtune support llama3.1 8B instruct in post training (#698) 2025-01-03 17:33:05 -08:00
safety [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
scoring move DataSchemaValidatorMixin into standalone utils (#720) 2025-01-06 13:25:09 -08:00
telemetry Kill autocomplete slop 2025-01-03 09:29:25 -08:00
tool_runtime/brave_search Tools API with brave and MCP providers (#639) 2024-12-19 21:25:17 -08:00
__init__.py impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00