@cpod/sdk - v0.2.7
    Preparing search index...

    Interface AddEntityRequest

    Request to add a new entity

    interface AddEntityRequest {
        entity: string;
        id: string;
        userName: string;
        entityType: string;
        description?: string;
        updateType?: "chunk" | "file";
    }
    Index

    Properties

    entity: string

    Entity name (required)

    id: string

    Chunk or file ID (required)

    userName: string

    User name performing the operation (required)

    entityType: string

    Entity type (required) - e.g., "PERSON", "ORGANIZATION", "LOCATION", "PRODUCT"

    description?: string

    Entity description (optional)

    updateType?: "chunk" | "file"

    Update type: 'chunk' for single chunk, 'file' for all chunks (default: 'chunk')