Function getUserPrompt

  • This function gets the prompt data.

    Parameters

    • settings: IGptPreset

      The settings object.

    • systemMessage: string[]

      The system message array.

    • placeholder: string

      The placeholder string.

    • Optional prompt: string

      The prompt string.

    Returns Promise<{
        input: string;
        instruction: string;
        temperature: number;
    }>

    • The prompt data.

Generated using TypeDoc