Interface: ApiEmbedderConfig
Defined in: Services/Search/SearchPipelineConfig.ts:10
Configuration types for the search pipeline.
Uses discriminated unions so the factory can instantiate
the correct implementation based on the provider field.
Properties
apiKey
apiKey:
string
Defined in: Services/Search/SearchPipelineConfig.ts:15
API key for authentication
dimensions?
optionaldimensions?:number
Defined in: Services/Search/SearchPipelineConfig.ts:19
Embedding dimensions (for Matryoshka truncation). Default: 768
endpoint
endpoint:
string
Defined in: Services/Search/SearchPipelineConfig.ts:13
OpenAI-compatible embedding endpoint URL
model
model:
string
Defined in: Services/Search/SearchPipelineConfig.ts:17
Model name to pass in the request
provider
provider:
"api"
Defined in: Services/Search/SearchPipelineConfig.ts:11
queryPrefix?
optionalqueryPrefix?:string
Defined in: Services/Search/SearchPipelineConfig.ts:21
Prefix prepended to query text. Default: 'search_query: '