@ai16z/eliza v0.1.5-alpha.3 / CharacterSchema
const
CharacterSchema:ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>
Main Character schema
id:
ZodOptional
<ZodString
>
name:
ZodString
system:
ZodOptional
<ZodString
>
modelProvider:
ZodNativeEnum
<typeofModelProviderName
>
modelEndpointOverride:
ZodOptional
<ZodString
>
templates:
ZodOptional
<ZodRecord
<ZodString
,ZodString
>>
bio:
ZodUnion
<[ZodString
,ZodArray
<ZodString
,"many"
>]>
lore:
ZodArray
<ZodString
,"many"
>
messageExamples:
ZodArray
<ZodArray
<ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>,"many"
>,"many"
>
postExamples:
ZodArray
<ZodString
,"many"
>
topics:
ZodArray
<ZodString
,"many"
>
adjectives:
ZodArray
<ZodString
,"many"
>
knowledge:
ZodOptional
<ZodArray
<ZodString
,"many"
>>
clients:
ZodArray
<ZodNativeEnum
<typeofClients
>,"many"
>
plugins:
ZodUnion
<[ZodArray
<ZodString
,"many"
>,ZodArray
<ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>,"many"
>]>
settings:
ZodOptional
<ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>>
clientConfig:
ZodOptional
<ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>>
style:
ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>
all:
ZodArray
<ZodString
,"many"
>
chat:
ZodArray
<ZodString
,"many"
>
post:
ZodArray
<ZodString
,"many"
>
twitterProfile:
ZodOptional
<ZodObject
<object
,"strip"
,ZodTypeAny
,object
,object
>>