gcloud-lab/apps/base/customer1/hermes-db/agent-memory-rag-db.yaml
Hermes Agent 4df7450461 feat(customer1): add pgvector RAG knowledge base with embedding service
- Custom PostgreSQL 15.2 image with pgvector 0.8.0 extension
- Updated pg-cluster-hermes.yaml: custom image, sharedPreloadLibraries, maintenance_work_mem
- RAG schema: documents table with vector(768) embeddings + HNSW index
- RAG init job: ConfigMap + Job to apply schema to agent_memory db
- Embedding service: FastAPI with nomic-embed-text-v1.5
  - OpenAI-compatible /v1/embeddings endpoint
  - Deployment (1 replica, 2Gi-4Gi memory) + Service manifests
- Updated kustomization.yaml to include new resources
2026-05-24 20:31:59 +00:00

12 lines
215 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Database
metadata:
name: agent-memory-rag
namespace: customer1
spec:
cluster:
name: hermes-pgdb
name: agent_memory
owner: memory
sql:
- "@rag-db-init.sql"