refactor: example

This commit is contained in:
莘权 马 2023-09-19 21:33:23 +08:00
parent 4bf3510832
commit c69928a174

View file

@ -10,7 +10,7 @@ entities:
description: assistant
skills:
- name: text_to_speech
description: Text-to-speech
description: Generate a voice file from the input text, text-to-speech
id: text_to_speech.text_to_speech
x-prerequisite:
configurations:
@ -90,7 +90,7 @@ entities:
- ask: 'A boy affectionate says "hello world"'
answer: 'text_to_speech(text="hello world", role="Boy", style="affectionate")'
- ask: 'A boy says "你好"'
answer: 'text_to_speech(text="hello world", role="Boy", lang="Chinese")'
answer: 'text_to_speech(text="你好", role="Boy", lang="Chinese")'
returns:
type: string
format: base64