mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-24 22:38:57 +00:00
* New sample of chess playing showing R1's thought process in streaming mode * Modify existing samples to use `model_config.yml` instead of JSON configs for better clarity. --------- Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Chess Game Example
An example with two chess player agents that executes its own tools to demonstrate tool use and reflection on tool use.
Prerequisites
First, you need a shell with AutoGen core and required dependencies installed.
pip install "autogen-ext[openai,azure]" "chess"
Model Configuration
The model configuration should defined in a model_config.yml file.
Use model_config_template.yml as a template.
Running the example
python main.py