Documentation - v1.0.0
    Preparing search index...

    Interface Context

    Represents the execution context for ontology operations.

    The context provides necessary dependencies and configuration for performing operations on the ontology, such as the embedding model for semantic calculations.

    const context: Context = {
    embeddingModel: openai.embedding("text-embedding-3-small")
    };
    interface Context {
        embeddingModel: EmbeddingModel<string>;
    }
    Index

    Properties

    Properties

    embeddingModel: EmbeddingModel<string>

    The embedding model used for generating vector embeddings