Prompt engineering for requirements analysis with Spring AI
Spring Boot and Spring AI example that uses prompt engineering with OpenAI. It shows how to combine a system role, user instructions and a structured output format to turn a short business request into a requirements analysis. It also exposes a REST endpoint that forwards a question to the model.
Full setup, endpoints and configuration are in the project README. The project page is here.