mirror of
https://github.com/labring/FastGPT.git
synced 2026-05-06 01:02:54 +08:00
64f70a41c1
* feat(vectordb): add OceanBase HNSW quantization (HNSW_SQ/HNSW_BQ) (#6348) Support OceanBase vector index quantization via VECTOR_VQ_LEVEL: - 32 (default): hnsw + inner_product - 8: hnsw_sq + inner_product (2-3x memory savings) - 1: hnsw_bq + cosine (~15x memory savings) HNSW_BQ requires cosine distance per OceanBase docs. Tested on OceanBase 4.3.5.5 (BP5). Closes #6202 * feat: add test inclusion for vectorDB tests in vitest configuration (#6358) * feat: add test inclusion for vectorDB tests in vitest configuration * refactor: update vectorDB README and setup for environment configuration - Enhanced README to clarify the use of factory pattern for vectorDB integration tests. - Updated instructions for setting up environment variables from a local file. - Removed obsolete PG integration test file and adjusted test execution instructions. - Improved structure explanation for shared test data and factory functions. * perf: integrationTest * feat: vector integration --------- Co-authored-by: ZHANG Yixin <hi.yixinz@gmail.com> Co-authored-by: Jingchao <alswlx@gmail.com>
24 lines
714 B
Plaintext
24 lines
714 B
Plaintext
vectorDB:
|
|
image: ${{seekdb.image}}:${{seekdb.tag}}
|
|
container_name: seekdb
|
|
restart: always
|
|
# ports: # 生产环境建议不要暴露
|
|
# - 2881:2881
|
|
# - 2886:2886
|
|
networks:
|
|
- fastgpt
|
|
environment:
|
|
# SeekDB 连接配置(兼容 MySQL 协议)
|
|
- ROOT_PASSWORD=seekdbpassword
|
|
# MODE分为MINI和NORMAL, 后者会最大程度使用主机资源
|
|
- MODE=MINI
|
|
volumes:
|
|
- ./seekdb/data:/var/lib/mysql
|
|
- ./seekdb/config:/etc/mysql/conf.d
|
|
healthcheck:
|
|
test: ['CMD', 'mysqladmin', 'ping', '-h', '127.0.0.1', '-P2881', '-uroot', '-pseekdbpassword']
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 1000
|
|
start_period: 10s
|