Condense
CondenseSettingsSchema
Bases: ConfigSchemaBase
max_additional_instructions = 1000
class-attribute
instance-attribute
max_additional_system_prompt = 500
class-attribute
instance-attribute
max_context = 2000
class-attribute
instance-attribute
max_intermediate_steps = 1000
class-attribute
instance-attribute
max_previous_messages = 1000
class-attribute
instance-attribute
max_summary = 1000
class-attribute
instance-attribute
max_total = 8000
class-attribute
instance-attribute
max_user_input = 1000
class-attribute
instance-attribute
non_total_components = {'max_additional_system_prompt', 'max_context', 'max_summary', 'max_previous_messages', 'max_user_input', 'max_additional_instructions', 'max_intermediate_steps'}
class-attribute
total_components
property
validate_against_max()
Each component should be set less than the max total.
Note: The individual components do not need to sum to less than the max total. This allows for more flexibility in how the full context length is used.