Add websearch module

This commit is contained in:
Cohee
2023-11-28 20:36:02 +02:00
parent 085b0a849d
commit 05cab1c918
4 changed files with 75 additions and 0 deletions

View File

@@ -155,6 +155,7 @@ cd SillyTavern-extras
| `edge-tts` | [Microsoft Edge TTS client](https://github.com/rany2/edge-tts) |
| `coqui-tts` | [Coqui TTS server](https://github.com/coqui-ai/TTS) |
| `rvc` | Real-time voice cloning |
| `websearch` | Google search using Selenium headless browser |
## Additional options
| Flag | Description |
@@ -556,3 +557,14 @@ loadchar (string, required): The URL of the character's image. The URL should po
`GET /api/talkinghead/result_feed`
#### **Output**
Animated transparent image
### Perform web search
`POST /api/websearch`
#### **Input**
```
{ "query": "what is beauty?" }
```
#### **Output**
```
{ "results": "that would fall within the purview of your conundrums of philosophy" }
```