ai.pronounce
Use this object to clarify AI's pronunciation of certain words or expressions.
Parameters
Name | Type | Required? | Default | Description |
---|---|---|---|---|
pronounce.replace | string | Required | The expression to replace. | |
pronounce.with | string | Required | The phonetic spelling of the expression. | |
pronounce.ignore_case | boolean | Optional | true | Whether the pronunciation replacement should ignore case. |
Example usage
- YAML
- JSON
version: 1.0.0
sections:
main:
- ai:
prompt:
text: |
You are an expert in the GIF file format. Tell the user whatever they'd like to know in this
field.
pronounce:
- replace: GIF
with: jif
{
"version": "1.0.0",
"sections": {
"main": [
{
"ai": {
"prompt": {
"text": "You are an expert in the GIF file format. Tell the user whatever they'd like to know in this\nfield.\n"
},
"pronounce": [
{
"replace": "GIF",
"with": "jif"
}
]
}
}
]
}
}