Skip to content

Commit

Permalink
doc: Make all all prompts in English
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Feb 14, 2024
1 parent 4437f74 commit b70cb58
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,22 +358,24 @@ An exampe is [available at `examples/import-training.ipynb`](examples/import-tra

Note that prompt examples contains `{xxx}` placeholders. These placeholders are replaced by the bot with the corresponding data. For example, `{bot_name}` is internally replaced by the bot name.

Be sure to write all the TTS prompts in English. This language is used as a pivot language for the conversation translation.

```yaml
# config.yaml
[...]
prompts:
tts:
hello_tpl: |
Bonjour, je suis {bot_name}, de {bot_company} ! Je suis spécialiste du support informatique.
Hello, I'm {bot_name}, from {bot_company}! I'm an IT support specialist.
Voici comment je fonctionne : lorsque je travaillerai, vous entendrez une petite musique ; après, au bip, ce sera à votre tour de parler. Vous pouvez me parler naturellement, je comprendrai.
Here's how I work: when I'm working, you'll hear a little music; then, at the beep, it's your turn to speak. You can speak to me naturally, I'll understand.
Exemples:
- "J'ai un problème avec mon ordinateur, il ne s'allume plus"
- "L'écran externe clignote, je ne sais pas pourquoi"
Examples:
- "I've got a problem with my computer, it won't turn on".
- "The external screen is flashing, I don't know why".
Quel est votre problème ?
What's your problem?
llm:
default_system_tpl: |
Assistant is called {bot_name} and is in a call center for the company {bot_company} as an expert with 20 years of experience in IT service.
Expand Down

0 comments on commit b70cb58

Please sign in to comment.