Interface: PersonaLoaderConfig
Defined in: packages/agentos/src/cognition/substrate/personas/IPersonaLoader.ts:15
Configuration for the PersonaLoader.
Interface
PersonaLoaderConfig
Extended by
Properties
loaderType?
optionalloaderType:string
Defined in: packages/agentos/src/cognition/substrate/personas/IPersonaLoader.ts:33
Optional
Optional: Specifies the type of loader to use, if multiple strategies are supported by a factory or a more complex loader implementation.
Example
"file_system", "database", "http_endpoint"
options?
optionaloptions:Record<string,any>
Defined in: packages/agentos/src/cognition/substrate/personas/IPersonaLoader.ts:40
Optional
Optional: Additional configuration parameters specific to the loader type.
personaSource
personaSource:
string
Defined in: packages/agentos/src/cognition/substrate/personas/IPersonaLoader.ts:24
The source from which to load persona definitions. This could be a file system path, a database connection string, an API endpoint, etc. The interpretation of this field is up to the implementing class.
Examples
"./personas" (for file system loading)
"mongodb://localhost:27017/personas" (for database loading)