config - Initialization - Author Aide API

Author Aide API Initialization

config

Configuration options relating to the authoring experience and behavior of Author Aide API.

You would want to use this to specify the configuration options for Author Aide API, such as the router, generation options, and dependencies.

Examples

const initializationOptions = {
    "config": {
        "dependencies": {
            // ...
        },
        "router": "hash"
    },
    // ...
};

Values

Attribute path config

Type object

Properties

  • router string

    Specifies the router used by Author Aide API.

  • custom_contexts object

    Specifies the custom preset to be used by Author Aide API as default.

  • generation object

    Specifies the generation options for Author Aide API.

  • dependencies object

    Allows to configure the dependencies for Author Aide API.

  • rag object

    Specifies the configuration options of Retrieval-Augmented Generation.

  • bulk_operations object

    Specifies the configuration options of bulk operations.

  • math object

    Specifies the configuration options for the Math Question type.

  • match_list object

    Specifies the configuration options for the Match List Question type.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.