Eric Zhu 69d3af7324
Add a new sample to show streaming and R1 usage (#5285)
* 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>
2025-01-31 22:25:29 +00:00
..

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