daggerai
Version:
A simple and powerful Typescript based agent framework to help businesses thrive in the AI Agent revolution.
26 lines • 807 B
TypeScript
import { SquadEventEmitter } from './events';
export declare class SquadResponseParser {
emitter: SquadEventEmitter | null;
parse(response: string): AgentStep | AgentFinish;
}
export declare class AgentFinish {
response: string;
constructor(response: string);
}
export declare class AgentAction {
tool: string;
toolInput: object;
log: string;
constructor(tool: string, toolInput: object, log: string);
}
export declare class AgentStep {
action: AgentAction;
observation?: string | undefined;
constructor(action: AgentAction, observation?: string | undefined);
}
export declare class ParserError extends Error {
observation: string;
constructor(message: string, observation: string);
}
export type Observation = string;
//# sourceMappingURL=parser.d.ts.map