Config

@daydreamsai/core


@daydreamsai/core / Config

Type Alias: Config<TContext>

Config<TContext> = Partial<AgentDef<TContext>> & object

Defined in: packages/core/src/types.ts:886

Type declaration

contexts?

optional contexts: AnyContext[]

exportTrainingData?

optional exportTrainingData: boolean

Whether to export training data for episodes

extensions?

optional extensions: Extension<TContext>[]

logLevel?

optional logLevel: LogLevel

model?

optional model: Agent["model"]

modelSettings?

optional modelSettings: object

Index Signature

[key: string]: any

modelSettings.maxTokens?

optional maxTokens: number

modelSettings.providerOptions?

optional providerOptions: Record<string, any>

modelSettings.stopSequences?

optional stopSequences: string[]

modelSettings.temperature?

optional temperature: number

modelSettings.topK?

optional topK: number

modelSettings.topP?

optional topP: number

services?

optional services: ServiceProvider[]

streaming?

optional streaming: boolean

tasks?

optional tasks: TaskConfiguration

Task execution configuration

trainingDataPath?

optional trainingDataPath: string

Path to save training data

Type Parameters

TContext

TContext extends AnyContext = AnyContext