iachat/enterprise/app/services/captain/llm
Rodrigo Borba 972fc5c67b feat(captain): improve suite photo search accuracy with AI guidance
Melhorias na ferramenta send_suite_images para resolver confusão entre
categoria e número de suíte:

1. **Descrições de parâmetros mais claras**
   - suite_category: exemplos específicos (Hidromassagem, ALEXA, STILO)
   - suite_number: apenas números (101, 102, 103) - remove exemplos confusos

2. **Instruções explícitas no system prompt**
   - Seção [Galeria de Fotos] com regras claras
   - Prioriza suite_category quando ambíguo
   - Evita confirmações desnecessárias com cliente

3. **Mensagens de erro melhoradas**
   - Sugere buscar por categoria quando busca por número falha
   - Feedback mais útil para a IA

Resultado esperado:
- Cliente: "Me manda foto da suite Alexa"
- IA: busca por suite_category="Alexa" ✓ (sem pedir confirmação)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-26 23:04:28 -03:00
..
assistant_chat_service.rb feat: Migrate ruby llm captain (#12981) 2025-12-04 18:26:10 +05:30
contact_attributes_service.rb feat: legacy features to ruby llm (#12994) 2025-12-11 14:17:28 +05:30
contact_notes_service.rb fix: consistent instrumentation with conversation.display_id (#13194) 2026-01-08 12:27:44 +05:30
conversation_faq_service.rb fix: consistent instrumentation with conversation.display_id (#13194) 2026-01-08 12:27:44 +05:30
conversation_insight_service.rb feat(captain): improve suite photo search accuracy with AI guidance 2026-02-26 23:04:28 -03:00
embedding_service.rb feat: legacy features to ruby llm (#12994) 2025-12-11 14:17:28 +05:30
faq_generator_service.rb feat: legacy features to ruby llm (#12994) 2025-12-11 14:17:28 +05:30
paginated_faq_generator_service.rb fix: PDF errors not loading in CI (#13236) 2026-01-12 15:22:15 +05:30
pdf_processing_service.rb fix: PDF errors not loading in CI (#13236) 2026-01-12 15:22:15 +05:30
system_prompts_service.rb feat(captain): improve suite photo search accuracy with AI guidance 2026-02-26 23:04:28 -03:00
translate_query_service.rb fix: search faqs in account language (#13428) 2026-02-09 17:25:11 +05:30