DefineExtractorConfig
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Properties
Section titled “Properties”includePrevious?
Section titled “includePrevious?”optional includePrevious?: boolean;instructions
Section titled “instructions”instructions: string | ((c) => string | Promise<string>);name: string;onExtracted?
Section titled “onExtracted?”optional onExtracted?: (c) => void | T | Promise<void | T>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”void | T | Promise<void | T>
persist?
Section titled “persist?”optional persist?: boolean;schema
Section titled “schema”schema: | ZodType<T, unknown, $ZodTypeInternals<T, unknown>> | ((c) => | ZodType<T, unknown, $ZodTypeInternals<T, unknown>> | Promise<ZodType<T, unknown, $ZodTypeInternals<T, unknown>>>);scope?
Section titled “scope?”optional scope?: MemoryBlockScope;