antimatter15 / alpaca.cpp

Locally run an Instruction-Tuned Chat-Style LLM
MIT License
10.25k stars 910 forks source link

Possible response in http request ? #192

Open LinkoMania opened 1 year ago

LinkoMania commented 1 year ago

Hello I was wondering if it was possible that the answers could be given in tts data? exemple : me: test IA : Testing... testing.... This message will self-destruct in five seconds! me: ...

the response should be sent like this http://192.168.1.5:8888/?tts=This message will self-destruct in five seconds!

how to use response variable ? I can't find in the code... I found to put a prefix in front of the robot's response but not to use the response variable

Or is it possible to save the answers obtained in a variable?