@squidcloud/client
    Preparing search index...

    Interface AiKnowledgeBase

    Represents an AI knowledge base that can be attached to an AI agent.

    interface AiKnowledgeBase {
        appId: string;
        chatModel: AiChatModelSelection;
        description: string;
        embeddingModel: AiEmbeddingsModelSelection;
        id: string;
        metadataFields: AiKnowledgeBaseMetadataField[];
        updatedAt: Date;
        vectorDbType?: "postgres" | "mongoAtlas";
    }
    Index

    Properties

    appId: string

    The app id that the knowledge base belongs to.

    The model name that should be used when asking questions of this knowledge base.

    description: string

    The user's description of the knowledge base

    The embedding model that should be used for this knowledge base.

    id: string

    The unique identifier of the knowledge base.

    A set of predefined metadata fields for the knowledge base that can be used for filtering.

    updatedAt: Date

    The timestamp the knowledge base was last updated

    vectorDbType?: "postgres" | "mongoAtlas"

    The vector store backend this knowledge base reads/writes from. Set at creation (defaulting to the server's SQUID_DEFAULT_VECTOR_DB_TYPE, otherwise 'postgres') and immutable thereafter. Optional on the read type for backwards compatibility with older records.