Skip to main content

Interface: IStructuredSchemaRegistry

Defined in: packages/agentos/src/api/runtime/structuredReply.ts:58

Where a schemaRef is looked up. A Map<string, ZodType | JsonSchemaObject> is one.

Methods​

get()​

get(ref): ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | JsonSchemaObject | undefined

Defined in: packages/agentos/src/api/runtime/structuredReply.ts:59

Parameters​

ref​

string

Returns​

ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>> | JsonSchemaObject | undefined