llama-stack/llama_stack/apis
Matthew Farrellee fcc2132e6f
remove pydantic namespace warnings using model_config (#470)
# What does this PR do?

remove another model_ pydantic namespace warning and convert old-style
'class Config' to new-style 'model_config' workaround.

also a whitespace change to get past -


flake8...................................................................Failed
llama_stack/cli/download.py:296:85: E226 missing whitespace around
arithmetic operator
llama_stack/cli/download.py:297:54: E226 missing whitespace around
arithmetic operator


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [x] Ran pre-commit to handle lint / formatting issues.
- [x] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [x] Wrote necessary unit or integration tests.
2024-11-18 19:24:14 -08:00
..
agents migrate memory banks to Resource and new registration (#411) 2024-11-11 17:10:44 -08:00
batch_inference Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
common [Evals API][4/n] evals with generation meta-reference impl (#303) 2024-10-25 13:12:39 -07:00
datasetio migrate dataset to resource (#420) 2024-11-11 17:14:41 -08:00
datasets change schema -> dataset_schema for register_dataset api (#443) 2024-11-13 11:17:46 -05:00
eval [Evals API][11/n] huggingface dataset provider + mmlu scoring fn (#392) 2024-11-11 14:49:50 -05:00
eval_tasks Remove the "ShieldType" concept (#430) 2024-11-12 12:37:24 -08:00
inference Inference to use provider resource id to register and validate (#428) 2024-11-12 20:02:00 -08:00
inspect Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
memory migrate memory banks to Resource and new registration (#411) 2024-11-11 17:10:44 -08:00
memory_banks unregister for memory banks and remove update API (#458) 2024-11-14 17:12:11 -08:00
models remove pydantic namespace warnings using model_config (#470) 2024-11-18 19:24:14 -08:00
post_training [Evals API][4/n] evals with generation meta-reference impl (#303) 2024-10-25 13:12:39 -07:00
safety Remove the "ShieldType" concept (#430) 2024-11-12 12:37:24 -08:00
scoring migrate scoring fns to resource (#422) 2024-11-11 17:28:48 -08:00
scoring_functions Remove the "ShieldType" concept (#430) 2024-11-12 12:37:24 -08:00
shields Remove the "ShieldType" concept (#430) 2024-11-12 12:37:24 -08:00
synthetic_data_generation [Evals API][4/n] evals with generation meta-reference impl (#303) 2024-10-25 13:12:39 -07:00
telemetry Remove "routing_table" and "routing_key" concepts for the user (#201) 2024-10-10 10:24:13 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
resource.py Enable sane naming of registered objects with defaults (#429) 2024-11-12 11:18:05 -08:00