autogen/python/samples/core_chess_game
Jack Gerrits 70f7e998d2
fix: Fix provider string for AzureTokenProvider (#4992)
Fix provider string for AzureTokenProvider
2025-01-13 20:40:33 +00:00
..
.gitignore Move core samples to /python/samples (#4911) 2025-01-07 23:31:29 +00:00
README.md Update all versions to 0.4.0 (#4941) 2025-01-09 15:29:54 -05:00
main.py Fix chess sample (#4932) 2025-01-07 16:06:14 -08:00
model_config_template.json fix: Fix provider string for AzureTokenProvider (#4992) 2025-01-13 20:40:33 +00:00

README.md

Chess Game Example

An example with two chess player agents that executes its own tools to demonstrate tool use and reflection on tool use.

Running the example

Prerequisites

First, you need a shell with AutoGen core and required dependencies installed.

pip install "autogen-core" "autogen-ext[openai,azure]" "chess"

Model Configuration

The model configuration should defined in a model_config.json file. Use model_config_template.json as a template.

Running the example

python main.py