@squidcloud/client
    Preparing search index...

    Interface AiOntologyKnowledgeBase

    What an ontology stores about one attached knowledge base. A run replaces the summary and topics and adds links, none once a person set the links.

    interface AiOntologyKnowledgeBase {
        knowledgeBaseId: string;
        linksEditedAt?: number;
        ontologyId: string;
        refreshedAt: number;
        summary: string;
        topicLinks: AiOntologyKnowledgeBaseTopicLink[];
        topics: AiOntologyKnowledgeBaseTopic[];
        warning?: string;
    }
    Index
    knowledgeBaseId: string

    The knowledge base.

    linksEditedAt?: number

    When a person last set the links, in epoch milliseconds; later runs then leave the links alone.

    ontologyId: string

    The ontology.

    refreshedAt: number

    When the last refresh started reading the topics, in epoch milliseconds.

    summary: string

    What the documents cover, written by a model; empty before the first summary.

    The business entities each topic's documents are about. Only links whose topic is in topics and whose entity exists are returned, so a refresh that replaces the topics drops the links of topics that are gone.

    The root topics of the knowledge graph, most documents first.

    warning?: string

    Why the last refresh left something as it was.