Interface IAdvisorSchema<T>

IAdvisorSchema Schema definition for advisor configuration

interface IAdvisorSchema<T = string> {
    advisorName: string;
    callbacks?: IAdvisorCallbacks<T>;
    docDescription?: string;
    getChat(message: T): Promise<string>;
}

Type Parameters

  • T = string

Properties

advisorName: string

Name identifier for the advisor

callbacks?: IAdvisorCallbacks<T>

Optional callbacks for advisor operations

docDescription?: string

Optional description of the advisor documentation

Methods

  • Function to get chat response

    Parameters

    • message: T

    Returns Promise<string>