maxConversationalMemoryLength property
Conversational memory length.
The number of previous messages to include in the model's context.
A higher value will result in more context-aware responses.
Example:
//1 means the last request and response are included
final settings = GroqChatSettings.defaults().copyWith(maxConversationalMemoryLength: 1);
Default: 1024
Implementation
final int maxConversationalMemoryLength;