Parameter | Type | Description |
---|---|---|
algorithm | string | Must be set to "semantic" to use semantic load balancing |
embedding_config | object | Configuration for the embedding service |
embedding_config.provider | string | Embedding provider (currently only “openai” supported) |
embedding_config.model | string | Model to use for generating embeddings |
embedding_config.credentials | object | Credentials for the embedding service |
embedding_config.credentials.header_name | string | Name of the header for authentication |
embedding_config.credentials.header_value | string | Value of the header for authentication |
targets[].description | string | Description of the target’s capabilities or specialization (used for semantic matching) |
description
that accurately represents its capabilities or specialization.