@squidcloud/client
    Preparing search index...

    Interface GenerateAiOntologyRequest

    Request to generate the relationships, business entities and properties of an ontology. The run saves nothing: it proposes the whole content, read with GetAiOntologyGenerationResultRequest and stored with SaveAiOntologyContentRequest. Answered by AiOntologyResponse.

    interface GenerateAiOntologyRequest {
        mode?: AiOntologyGenerationMode;
        ontologyId: string;
        usePreviousOntology?: boolean;
    }
    Index

    update (the default) adds what is missing. regenerate reads the sources without the AI-generated rows and proposes removing those it does not find again; rows people made or edited stay. It needs usePreviousOntology left true (ONTOLOGY_REGENERATE_STARTS_OVER).

    ontologyId: string

    Id of the ontology.

    usePreviousOntology?: boolean

    Whether the run starts from the stored content. Defaults to true: it adds to the stored rows, refreshes the imported relationships people did not edit and removes those whose association is gone. With false it starts from nothing and generates everything again, refused with ONTOLOGY_HAS_NO_SOURCES when nothing is attached.