Over 10 years we help companies reach their financial and branding goals. Engitech is a values-driven technology agency dedicated.

Gallery

Contacts

411 University St, Seattle, USA

engitech@oceanthemes.net

+1 -800-456-478-23

Development Technology

Spring AI + Angular: API REST para Chat com Memória



Agora que já entendemos como funciona o Memory Chat no Spring AI, neste vídeo você vai aprender a desenvolver uma API REST completa para simular um chat com memória — ideal para aplicações com histórico de conversas e múltiplas sessões! 💬🧠
📌 Você vai implementar, na prática, 4 endpoints essenciais:
🔹 POST /api/chat-memory/start – Inicia um novo chat
🔹 POST /api/chat-memory/{chatId} – Envia mensagens em um chat existente
🔹 GET /api/chat-memory/{chatId} – Retorna o histórico de um chat específico
🔹 GET /api/chat-memory – Lista todos os chats criados

📂 Código-fonte no GitHub:
🔗 https://github.com/loiane/spring-ai-angular

💡 Ganhe 3 meses grátis de IntelliJ com o cupom: LoianeGroner
🔗 https://www.jetbrains.com/store/redeem/

📱 Me acompanhe nas redes sociais:
▸ Cursos Grátis: https://loiane.training/
▸ Blog: https://loiane.com/
▸ Instagram: https://www.instagram.com/loiane
▸ GitHub: https://github.com/loiane
▸ Twitter/X: https://x.com/loiane

🔖 Tags:
#SpringAI #Angular #IAGenerativa

source

Author

MQ

Leave a comment

Your email address will not be published. Required fields are marked *