Files
FastGPT/projects
Archer 64f70a41c1 feat: vector integrationTest;feat: ob quantization (#6366)
* 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>
2026-02-02 18:48:25 +08:00
..
2025-10-10 21:24:14 +08:00
2025-04-15 16:26:10 +08:00

目录说明

该目录为 FastGPT 主项目。

  • app fastgpt 核心应用。

  • sandbox 沙盒项目,用于运行工作流里的代码执行 需求python环境为python:3.11额外安装的包请于requirements.txt填写在运行时会读取安装。

    • 注意个别安装的包可能需要额外安装库如pandas需要安装libffi

    • 新加入python的包遇见超时或者权限拦截的问题(确定不是自己的语法问题)请进入docker容器内部执行以下指令

      docker exec -it 《替换成容器名》 /bin/bash
      chmod -x testSystemCall.sh
      bash ./testSystemCall.sh
    

    然后将新的数组替换或追加到src下sandbox的constants.py中的SYSTEM_CALLS数组即可