microsoft / TypeChat

TypeChat is a library that makes it easy to build natural language interfaces using types.
https://microsoft.github.io/TypeChat/
MIT License
8.06k stars 379 forks source link

Python: Add multi-schema routing #163

Closed hillary-mutisya closed 5 months ago

hillary-mutisya commented 6 months ago

This example shows how to use a translator to select a specific schema/agent to run. We register multiple schemas with corresponding descriptions to the first-level classifier. The first-level classifier routes messages to second-level classifiers/translators.

This example is ported from the TypeChat.Net implementation.