Skills skill-local-vector-store

apiVersion: skill.ooder.net/v1

install
source · Clone the upstream repo
git clone https://github.com/oodercn/skills
manifest: skills/_drivers/vector/skill-local-vector-store/skill.yaml
source content

apiVersion: skill.ooder.net/v1 kind: Skill

metadata: id: skill-local-vector-store name: 本地向量存储 version: "1.0.0" description: 提供基于SQLite的本地向量存储支持,通过SPI接口提供向量存储和检索能力 author: ooder Team type: driver-service license: Apache-2.0

spec: skillForm: DRIVER skillCategory: VECTOR sceneType: AUTO purposes: - TEAM

ownership: platform

capability: address: 0x49 category: VECTOR code: DRV_LOCAL_VECTOR operations: [store, search, delete]

runtime: language: java javaVersion: "21" framework: spring-boot

providedInterfaces: - id: vector-store-provider version: "1.0" description: "向量存储提供者SPI接口"

capabilities: - id: local-vector-store name: 本地向量存储 description: 基于SQLite的向量存储和检索 category: vector

config: optional: - name: VECTOR_DATA_DIR type: string default: "${user.home}/.apexos/data" description: 向量数据目录 - name: VECTOR_DATABASE_NAME type: string default: "vectors" description: 向量数据库名称 - name: VECTOR_DEFAULT_DIMENSION type: integer default: 1536 description: 默认向量维度 - name: VECTOR_METRIC_TYPE type: string default: "cosine" description: 距离度量类型

resources: cpu: "50m" memory: "128Mi" storage: "200Mi"