VectorPipeline
Pipeline that loads and processes vectors
Implements the Pipeline protocol.
| PARAMETER | DESCRIPTION |
|---|---|
vector_loader
|
Vector loader
TYPE:
|
vector_processor
|
Vector processor
TYPE:
|
from_config
classmethod
Creates a vector pipeline from the configuration.
| PARAMETER | DESCRIPTION |
|---|---|
config
|
Configuration
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
VectorPipeline
|
Vector pipeline |
__call__
Runs the vector pipeline.
VectorPipelineConfig
Bases: pydantic.BaseModel
Configuration for the from_config class method of VectorPipeline
Create the configuration from a config file
- Use null instead of None
Example
You can create the configuration from a config file.
package: 'aviary'
name: 'VectorPipeline'
config:
plugins_dir_path: null
vector_loader_config:
...
vector_processor_config:
...
| ATTRIBUTE | DESCRIPTION |
|---|---|
plugins_dir_path |
Path to the plugins directory - defaults to None
TYPE:
|
vector_loader_config |
Configuration for the vector loader
TYPE:
|
vector_processor_config |
Configuration for the vector processor
TYPE:
|