Config
@daydreamsai/core / Config
Type Alias: Config<TContext>
Config<
TContext> =Partial<AgentDef<TContext>> &object
Defined in: packages/core/src/types.ts:870
Type declaration
contexts?
optionalcontexts:AnyContext[]
exportTrainingData?
optionalexportTrainingData:boolean
Whether to export training data for episodes
extensions?
optionalextensions:Extension<TContext>[]
logLevel?
optionallogLevel:LogLevel
model?
optionalmodel:Agent["model"]
modelSettings?
optionalmodelSettings:object
Index Signature
[key: string]: any
modelSettings.maxTokens?
optionalmaxTokens:number
modelSettings.providerOptions?
optionalproviderOptions:Record<string,any>
modelSettings.stopSequences?
optionalstopSequences:string[]
modelSettings.temperature?
optionaltemperature:number
modelSettings.topK?
optionaltopK:number
modelSettings.topP?
optionaltopP:number
services?
optionalservices:ServiceProvider[]
streaming?
optionalstreaming:boolean
tasks?
optionaltasks:TaskConfiguration
Task execution configuration
trainingDataPath?
optionaltrainingDataPath:string
Path to save training data
Type Parameters
TContext
TContext extends AnyContext = AnyContext