@squidcloud/client
    Preparing search index...

    Interface TextContextRequest

    Request structure for adding text-based context to an AI agent.

    interface TextContextRequest {
        contextId: string;
        metadata?: AiContextMetadata;
        text: string;
        title: string;
        type: "text";
    }

    Hierarchy

    • BaseContextRequest
      • TextContextRequest
    Index

    Properties

    contextId: string
    text: string

    The text content to add to the context.

    title: string

    A title for the text context.

    type: "text"

    Specifies the context type as 'text'.