interface VectaraFilter {
    callbacks?: Callbacks;
    contextConfig?: VectaraContextConfig;
    filter?: string;
    lambda?: number;
    metadata?: Record<string, unknown>;
    mmrConfig?: MMRConfig;
    runId?: string;
    runName?: string;
    start?: number;
    tags?: string[];
}

Hierarchy

  • BaseCallbackConfig
    • VectaraFilter

Properties

callbacks?: Callbacks

Callbacks for this call and any sub-calls (eg. a Chain calling an LLM). Tags are passed to all callbacks, metadata is passed to handle*Start callbacks.

contextConfig?: VectaraContextConfig
filter?: string
lambda?: number
metadata?: Record<string, unknown>

Metadata for this call and any sub-calls (eg. a Chain calling an LLM). Keys should be strings, values should be JSON-serializable.

mmrConfig?: MMRConfig
runId?: string

Unique identifier for the tracer run for this call. If not provided, a new UUID will be generated.

runName?: string

Name for the tracer run for this call. Defaults to the name of the class.

start?: number
tags?: string[]

Tags for this call and any sub-calls (eg. a Chain calling an LLM). You can use these to filter calls.