Quick example illustrating get_request_provider_data

This commit is contained in:
Ashwin Bharambe 2024-09-23 15:38:14 -07:00
parent 9eb5ec3e4b
commit 8266c75246
4 changed files with 18 additions and 2 deletions

View file

@ -50,6 +50,7 @@ def available_providers() -> List[ProviderSpec]:
pip_packages=["huggingface_hub"],
module="llama_stack.providers.adapters.inference.tgi",
config_class="llama_stack.providers.adapters.inference.tgi.TGIImplConfig",
provider_data_validator="llama_stack.providers.adapters.inference.tgi.TGIRequestProviderData",
),
),
remote_provider_spec(