/** * An evaluation using the transcript and a prompt for a yes/no achieved answer */ export interface PromptEvaluationCriteria { /** The unique identifier for the evaluation criteria */ id: string; name: string; /** The type of evaluation criteria */ type?: "prompt"; /** The prompt that the agent should use to evaluate the conversation */ conversationGoalPrompt: string; /** When evaluating the prompt, should the agent's knowledge base be used. */ useKnowledgeBase?: boolean; }