https://github.com/rhasspy/wyoming-handle-external
Wyoming protocol server that calls an external program to handle intents
https://github.com/rhasspy/wyoming-handle-external
Last synced: 3 months ago
JSON representation
Wyoming protocol server that calls an external program to handle intents
- Host: GitHub
- URL: https://github.com/rhasspy/wyoming-handle-external
- Owner: rhasspy
- License: mit
- Created: 2023-11-06T21:55:42.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-06T21:55:57.000Z (over 1 year ago)
- Last Synced: 2024-11-05T17:49:59.497Z (4 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wyoming Handle External
[Wyoming protocol](https://github.com/rhasspy/wyoming) server that runs an external program to handle intents and generate a response.
Input text is sent to the standard input of `--program` and its standard output is sent back as the response in a "handled". If the program's exit code is not 0, a "not handled" event is sent back.
## Example
Run a server that repeats back whatever it was sent:
``` sh
script/run \
--uri 'tcp://127.0.0.1:10500' \
--program cat \
--language en
```