default
chainalign-backend / services/InsightValidationService / default
Class: default
Defined in: services/InsightValidationService.js:10
Constructors
Constructor
new default():
InsightValidationService
Returns
InsightValidationService
Methods
performAutomatedAction()
staticperformAutomatedAction(feedbackEntry,llmImpactAnalysis):Promise<void>
Defined in: services/InsightValidationService.js:132
Performs the final automated action based on the LLM's recommendation.
Parameters
feedbackEntry
any
The full feedback entry from the database.
llmImpactAnalysis
any
The structured output from the LLM's impact analysis.
Returns
Promise<void>
processFeedback()
staticprocessFeedback(feedbackId):Promise<void>
Defined in: services/InsightValidationService.js:15
Orchestrates the multi-step validation process for user-submitted insight feedback.
Parameters
feedbackId
string
The ID of the feedback entry to process.
Returns
Promise<void>