0

Async Human-in-the-Loop Example

An example showing human-in-the-loop which waits for human input before making the tool call.

Example · مثالpython

Content

Async Human-in-the-Loop Example

An example showing human-in-the-loop which waits for human input before making the tool call.

Prerequisites

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

pip install "autogen-ext[openai,azure]" "pyyaml"

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

Source and license

Source
Microsoft AutoGen
Original
microsoft/autogen/python/samples/core_async_human_in_the_loop
License
CC-BY-4.0