Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions studio/concepts/agents/translator-agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ The Translator Agent enables the bot to communicate in multiple languages by aut

When this option is enabled, the agent will automatically detect the language in which the user is communicating on the first incoming message it receives.

The message must be at least 3 tokens= in order to be processed by the agent. Note that this process will automatically overwrite the language variable, even if you set that variable manually at the beginning of the conversation.
The message must be at least 3 tokens in order to be processed by the agent. Note that this process will automatically overwrite the language variable, even if you set that variable manually at the beginning of the conversation.

### Detect Language Change

When this option is enabled, the agent will attempt to detect the user's language on ever conversation turn=. This is particularly useful if you expect the user's language to switch throughout a single conversation.
When this option is enabled, the agent will attempt to detect the user's language on ever conversation turn. This is particularly useful if you expect the user's language to switch throughout a single conversation.

If this option is disabled, the agent will only detect the user's language when it's designated as 'null'.

Expand Down
4 changes: 2 additions & 2 deletions studio/concepts/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This Hook type executes its code before your bot processes an incoming `event`.

### After Incoming

This Hook type executes its code after the incoming message has been processed, but before the bot has responded..
This Hook type executes its code after the incoming message has been processed, but before the bot has responded.

**Parameters**:

Expand Down Expand Up @@ -308,4 +308,4 @@ You can use a Hook of this type to [track AI spend and token cost](/studio/guide

## Troubleshooting

If your Hook isn't behaving as expected, you can [check your bot's logs](/studio/concepts/debugger-logs-json) to diagnose any problems.
If your Hook isn't behaving as expected, you can [check your bot's logs](/studio/concepts/debugger-logs-json) to diagnose any problems.