Theia API Documentation v1.65.0
    Preparing search index...

    A variable is a short string that is used to reference a value that is resolved and replaced in the user prompt at request-time.

    interface AIContextVariable {
        args?: AIVariableDescription[];
        description: string;
        iconClasses?: string[];
        id: string;
        isContextVariable: true;
        label: string;
        name: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    optional arguments for resolving the variable into a value

    description: string

    variable description

    iconClasses?: string[]

    optional icon classes, used for showing the variable in the UI.

    id: string

    provider id

    isContextVariable: true

    specifies whether this variable contributes to the context --

    ResolvedAIContextVariable

    label: string

    optional label, used for showing the variable in the UI. If not provided, the variable name is used

    name: string

    variable name, used for referencing variables in the chat