Class PromptBuilder
java.lang.Object
io.jenkins.plugins.changeinvestigator.ai.PromptBuilder
Builds the prompt sent to the configured OpenAI-compatible endpoint. Only the fields
assembled here ever leave Jenkins - this is the single place that decides what data is
transmitted to an external AI provider.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionuserContent(BuildInvestigationEvidence evidence) Renders the evidence bundle as the compact JSON document sent as the user message.
-
Constructor Details
-
PromptBuilder
public PromptBuilder(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
systemPrompt
-
userContent
Renders the evidence bundle as the compact JSON document sent as the user message.
-