poc-v1/kb/README.md
william.dias 80d1f9d26a feat: Enhance SQL optimization tools with internal knowledge base and observability features
- Updated README.md to include new setup instructions for RAG and observability.
- Added internal knowledge base (KB) setup for SQL optimization team, supporting various document types.
- Implemented token usage logging in LLM tools to track costs and usage.
- Refactored SQL analysis and optimization prompts for clarity and consistency.
- Introduced filtering of external tools based on environment configuration.
- Enhanced conservative analysis agent with structured prompt for performance suggestions.
- Updated requirements.txt to include new dependencies for RAG functionality.
- Added internal KB helpers for building and attaching knowledge to agents.
2026-01-23 13:02:17 -03:00

18 lines
476 B
Markdown

# Base de Conhecimento Interna (KB)
Coloque aqui documentos internos que devem ser usados no RAG.
Suportado (por padrão):
- Markdown (.md)
- Texto (.txt)
- SQL (.sql)
- PDF (.pdf)
Configurações via ambiente:
- SQL_OPT_KB_PATH (padrão: kb)
- SQL_OPT_KB_CHROMA_PATH (padrão: tmp/kb_chroma)
- SQL_OPT_KB_EMBEDDER_ID (padrão: sentence-transformers/all-MiniLM-L6-v2)
- SQL_OPT_KB_DB_FILE (padrão: tmp/sql_optimizer_kb.db)
- SQL_OPT_BLOCK_EXTERNAL_TOOLS (padrão: true)