Table of contents
Official Content
  • This documentation is valid for:

This article explains how to configure the language in which the Data Analyst Assistant responds to your prompts.

To set the language, you need to modify the interpreter_prompt_template and final_answer_error_prompt_template within the Data Analyst Assistant's prompts.

Step 1: Access the Data Analyst Assistant's Edit Page

Navigate to the Assistants home page and click on EDIT.

DataAnalystAssistant5

A window will open, displaying the General section.

Step 2: Select "Update Prompts"

In the General section, choose Update prompts. A new window will appear, listing the default prompts.

Step 3: Locate the Language Settings

In the list of prompts, find the following two prompts:

  • interpreter_prompt_template
  • final_answer_error_prompt_template

Step 4: Specify the Desired Language

Modify the content of the prompt to include the language instruction.

For example, to set the language to English, add the following line to the prompt: Always answer in English.

Then, your interpreter_prompt_template, and your final_answer_error_prompt_template might look as follows:

After modifying the prompt, click on the CONFIRM button at the bottom of the interface to save your changes.

Last update: October 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant