Corrige dashboard físico, intake review e integra IA no SmartSearch - #545
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
PR das correções de schema do acervo físico, materialização do intake review e sintetizador OpenAI-compatible do SmartSearch. Antes do merge, restaurar git checkout origin/main -- InovaGed.Web/Program.cs
git commit -m "restore Program.cs from main"
git pushO registro da IA pode ficar em |
Contexto
Corrige os 500 reportados em
/Physical/Dashboarde no detalhe de upload, e liga/SmartSearcha um sintetizador de IA opcional (OpenAI-compatible), grounded nas fontes recuperadas.Problemas
GET /Physical/Dashboard—42703: coluna "status" não existe.DocumentIntakeReviewDto./SmartSearchrecuperava documentos, mas não sintetizava resposta com provedor de IA.Correções nesta branch
information_schemaantes de filtrar porstatus.2026_09_17_physical_archive_status_compat_fix.sql(já emmainvia feat(smartsearch): add OpenAI-compatible grounded answer synthesizer #544) + catalogação emrequired_migrations.json.DocumentIntakeReviewServicematerializaIntakeReviewRowe converte para o record público.OpenAiCompatibleSearchSynthesizer(OpenAI, xAI, Groq, Ollama local).Como ligar a IA
Também lê
IntelligentAssistante as envSMARTSEARCH_AI_APIKEY/OPENAI_API_KEY.Como validar
database/migrations/2026_09_17_physical_archive_status_compat_fix.sql./Physical/Dashboard— não pode retornar 500./SmartSearch, pesquisar e usar “Perguntar aos documentos”.