Skip to main content
Version: v0.4.0

remote::tgi

Description​

Text Generation Inference (TGI) provider for HuggingFace model serving.

Configuration​

FieldTypeRequiredDefaultDescription
allowed_modelslist[str] | NoneNoList of models that should be registered with the model registry. If None, all models are allowed.
refresh_modelsboolNoFalseWhether to refresh models periodically from the provider
base_urlHttpUrl | NoneNoThe URL for the TGI serving endpoint (should include /v1 path)

Sample Configuration​

base_url: ${env.TGI_URL:=}