Skip to content

Commit cd7a09d

Browse files
committed
💡 chore(README): update hooks section with voice_hook details
Hooks control the EventMessage in sender and receiver. For example, we have `voice_hook` in built-in hooks. you can enable it by setting `VOICE_REPLY_ME=true` in `.env`. /env VOICE_REPLY_ME=true /env REECHO_VOICE_KEY=<key in dev.reecho.ai> check the source code in `llmkira/extra/voice_hook.py`, learn to write your own hooks.
1 parent 01450bb commit cd7a09d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,19 @@ env - Environment variables of the function
172172
Refer to the example plugins in the `plugins` directory and
173173
the [🧀 Plugin Development Document](https://llmkira.github.io/Docs/dev/basic) for plugin development documentation.
174174

175+
### Hooks
176+
177+
Hooks control the EventMessage in sender and receiver. For example, we have `voice_hook` in built-in hooks.
178+
179+
you can enable it by setting `VOICE_REPLY_ME=true` in `.env`.
180+
181+
```shell
182+
/env VOICE_REPLY_ME=true
183+
/env REECHO_VOICE_KEY=<key in dev.reecho.ai>
184+
```
185+
186+
check the source code in `llmkira/extra/voice_hook.py`, learn to write your own hooks.
187+
175188
## 🧀 Sponsor
176189

177190
[![sponsor](./.github/sponsor_ohmygpt.png)](https://www.ohmygpt.com)

0 commit comments

Comments
 (0)