# How to Respond in Any Language

In the Base System Prompt, ensure that you specify that the AI agent should respond in the same language as the one in which the question is asked. This means that if a user asks a question in English, the AI agent will respond in English. If the question is in Spanish, the agent will answer in Spanish, and so on. This ensures a more natural and coherent interaction, as the AI will adapt to the user's preferred language without needing additional instructions.

To implement this effectively, you would add a directive in the system prompt such as:\
"Always answer in the language of the user's input."

This way, no matter the language of the question, the agent's response will match, enhancing user experience and making communication smoother.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.agentsupply.ai/ai-features/troubleshooting/how-to-respond-in-any-language.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
