Interface: ChatConfig
Defined in: types/llm.ts:320
Object configuring chat management.
Properties
contextStrategy
contextStrategy:
ContextStrategy
Defined in: types/llm.ts:323
Defines a strategy for managing the conversation context window and message history.
initialMessageHistory
initialMessageHistory:
Message[]
Defined in: types/llm.ts:321
An array of Message objects that represent the conversation history. This can be used to provide initial context to the model.
systemPrompt
systemPrompt:
string
Defined in: types/llm.ts:322
Often used to tell the model what is its purpose, for example - "Be a helpful translator".