How to configure Traceloop Hub and connect it to different LLM providers
config.yaml
file that should be placed in the root directory of the hub.
Here’s an example of the configuration file:
type
which is how the hub understands that 2 model specifications are actually the same “model”,
logging
: Logs the request and response.tracing
: Enables OpenTelemetry tracing for requests going through the pipeline.model-router
: Routes the request to a model, according to the list specified in the models
section.