Class AiAnalysisService

java.lang.Object
io.jenkins.plugins.changeinvestigator.ai.AiAnalysisService

public final class AiAnalysisService extends Object
Orchestrates one AI analysis: builds the prompt, calls the configured provider, parses the result. Never throws - every failure mode becomes a AiAssessment.failed(String) so callers can always render observed evidence even when AI analysis is unavailable. Which provider is called, and how, is entirely delegated to providerConfig - this class knows nothing about any specific provider's API.
  • Constructor Details

    • AiAnalysisService

      public AiAnalysisService(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details