intellibrix v1.0.0
    Preparing search index...

    Type Alias BrickOptions

    Represents the options for creating a Brick instance.

    type BrickOptions = {
        database?: KeyValueStore;
        id?: string;
        intelligence?: Intelligence;
        logJSON?: boolean;
        logLevel?: pino.Level;
        name?: string;
        pinoOptions?: pino.LoggerOptions;
        structure?: Structure;
    }
    Index
    database?: KeyValueStore

    The key-value store of the Brick instance. Defaults to an in-memory store.

    id?: string

    The unique identifier of the Brick instance. If not provided, a random UUID will be generated.

    intelligence?: Intelligence

    The Intelligence of the Brick instance. This is used to manage the AI capabilities of the Brick.

    logJSON?: boolean

    A boolean indicating whether the logs should be in JSON format.

    logLevel?: pino.Level

    The log level of the Brick instance. This determines the level of detail of the logs.

    name?: string

    The name of the Brick instance. If not provided, the id will be used as the name.

    pinoOptions?: pino.LoggerOptions

    The options for the pino logger used by the Brick instance.

    structure?: Structure

    The parent Structure of the Brick, if any.