This is the documentation of version 0.59.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ClassifierContext

    Context passed to a classifier function.

    type ClassifierContext = {
        messages: ReadonlyArray<ModelMessage>;
        toolsMetadata: Record<string, ToolMetadata>;
    }
    Index
    messages: ReadonlyArray<ModelMessage>

    Full message history for the current conversation.

    toolsMetadata: Record<string, ToolMetadata>

    Metadata for all registered tools.