Ricky Loynd b3f59057fa
Expose more Task-Centric Memory parameters (#6246)
<!-- Thank you for your contribution! Please review
https://microsoft.github.io/autogen/docs/Contribute before opening a
pull request. -->

<!-- Please add a reviewer to the assignee section when you create a PR.
If you don't have the access to it, we will shortly find a reviewer and
assign them to your PR. -->

## Why are these changes needed?

- Exposes a few optional memory controller parameters for more detailed
control and evaluation.
- Fixes a couple formatting issues in the documentation.

## Related issue number

None

## Checks

- [x] I've included any doc changes needed for
<https://microsoft.github.io/autogen/>. See
<https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to
build and test documentation locally.
- [x] I've added tests (if relevant) corresponding to the changes
introduced in this PR.
- [x] I've made sure all auto checks have passed.
2025-04-08 15:13:34 -07:00

32 lines
942 B
YAML

PageLogger:
level: DEBUG # DEBUG, INFO, WARNING, ERROR, CRITICAL, or NONE.
path: ./pagelogs/self-teaching
client:
model: gpt-4o-2024-08-06
temperature: 0.8
max_completion_tokens: 4096
presence_penalty: 0.0
frequency_penalty: 0.0
top_p: 1.0
max_retries: 65535
Apprentice:
name_of_agent_or_team: AssistantAgent # AssistantAgent or MagenticOneGroupChat
disable_prefix_caching: 1 # If true, prepends a small random string to the context, to decorrelate repeated runs.
MemoryController:
max_train_trials: 10
max_test_trials: 3
MemoryBank:
path: ./memory_bank/self_teaching
relevance_conversion_threshold: 1.7
n_results: 25
distance_threshold: 100
test:
task_file_1: data_files/tasks/10_liars.yaml # Train and test on this task.
task_file_2: data_files/tasks/100_vampires.yaml # Test generalization on this different, similar task.
num_loops: 10
num_final_test_trials: 3