diff --git a/.gemini/TASKS-TODO.md b/.gemini/TASKS-TODO.md new file mode 100644 index 0000000..0727e92 --- /dev/null +++ b/.gemini/TASKS-TODO.md @@ -0,0 +1,34 @@ +# Projeto Agente de Classificação Bancária + +- [ ] Configuração do Ambiente e Dependências + - [ ] Criar/Configurar ambiente virtual Python 3.12 + - [ ] Atualizar `requirements.txt` (FastAPI, Qdrant-client, llama-cpp-python, langfuse, pydantic-ai) + - [ ] Configurar variáveis de ambiente (`.env`) + +- [ ] Infraestrutura Base + - [ ] Configurar `docker-compose.yml` para Qdrant (Persistent) + - [ ] Configurar conexão com PostgreSQL (Persistência) + - [ ] Configurar conexão com Langfuse (Observabilidade) + +- [ ] Implementação do Core (Backend) + - [ ] Implementar Modelos de Dados (`src/models.py`) + - [ ] Request/Response Schemas + - [ ] Implementar Serviço Vector Store (`src/services/vector_db.py`) + - [ ] Inicialização Qdrant + - [ ] Embedding (BGE-small) + - [ ] Retrieval Logic + - [ ] Implementar LLM Engine (`src/services/llm_engine.py`) + - [ ] Carregamento do Llama 3.2 1B (GGUF) + - [ ] Prompt Template com Contexto + - [ ] Implementar Orquestrador (`src/controller.py` ou similar) + - [ ] Fluxo RAG + Inferência + +- [ ] API REST (FastAPI) + - [ ] Definir Rotas (`src/api/routes.py`) + - [ ] POST `/api/v1/classify` + - [ ] Configurar `main.py` + - [ ] Adicionar Health Checks + +- [ ] Testes e Verificação + - [ ] Teste de carga simples (garantir que roda em CPU) + - [ ] Validação da acurácia básica (Smoke test) \ No newline at end of file