mochow
config:
Parameter | Description | Default Value |
---|---|---|
endpoint | Endpoint URL for your Baidu VectorDB instance | Required |
account | Baidu VectorDB account name | root |
api_key | API key for accessing Baidu VectorDB | Required |
database_name | Name of the database | mem0 |
table_name | Name of the table | mem0_table |
embedding_model_dims | Dimensions of the embedding model | 1536 |
metric_type | Distance metric for similarity search | L2 |
L2
: Euclidean distance (default)IP
: Inner productCOSINE
: Cosine similaritym
: 16 (number of connections per element)efconstruction
: 200 (size of the dynamic candidate list)auto_build
: true (automatically build index)auto_build_index_policy
: Incremental build with 10000 rows increment