For more generic setup instructions, including how to install the uv tool, see the main README.
-
In a terminal, navigate to
semantic_kernel/python/samples/concepts/plugins/openapi. -
Run
uv syncfollowed bysource .venv/bin/activateto enter the virtual environment (depending on the os, the activate script may be in a different location). -
Start the server by running
python openapi_server.py. -
In another terminal, do steps 1 & 2. Then, run
python openapi_client.py, which will register a plugin representing the API defined in openapi.yaml