Hierarchy

  • BasePromptClient
    • ChatPromptClient

Constructors

  • Parameters

    • prompt: ChatPrompt
    • OptionalisFallback: boolean

    Returns ChatPromptClient

Properties

config: unknown
isFallback: boolean
labels: string[]
name: string
prompt: Omit<{
    content: string;
    role: string;
}, "externalId" | "traceIdType">[]
promptResponse: ChatPrompt
tags: string[]
type: "text" | "chat"
version: number

Methods

  • Parameters

    • content: string

    Returns string

  • Parameters

    • Optionalvariables: Record<string, string>

    Returns Omit<{
        content: string;
        role: string;
    }, "externalId" | "traceIdType">[]

  • Returns Omit<{
        content: string;
        role: string;
    }, "externalId" | "traceIdType">[]

  • Returns string