Interface: ChatConfig
Defined in: types/llm.ts:218
Object configuring chat management.
Properties
contextStrategy
contextStrategy:
ContextStrategy
Defined in: types/llm.ts:221
Defines a strategy for managing the conversation context window and message history.
initialMessageHistory
initialMessageHistory:
Message[]
Defined in: types/llm.ts:219
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:220
Often used to tell the model what is its purpose, for example - "Be a helpful translator".