@n8n/n8n-nodes-langchain
Version:

10 lines (9 loc) • 426 B
TypeScript
import { type GroupedGuardrailResults, type StageGuardRails } from '../actions/types';
type RunStageGuardrailsOptions = {
stageGuardrails: StageGuardRails;
stage: keyof StageGuardRails;
inputText: string;
failOnlyOnErrors?: boolean;
};
export declare function runStageGuardrails({ stageGuardrails, stage, inputText, failOnlyOnErrors, }: RunStageGuardrailsOptions): Promise<GroupedGuardrailResults>;
export {};