# Hasznos promptok

<details>

<summary>Hozzáférési Kód Ellenőrzés az AI Ügynök Beszélgetéseihez</summary>

#### Célkitűzés

Biztosítsa a biztonságos kommunikációt az AI ügynök és a szándékolt felhasználó között egy hozzáférési kód ellenőrzési folyamat bevezetésével.

#### Felhasználási Eset

Ez a megvalósítás ideális olyan helyzetekben, amikor az AI ügynökök bizalmas vagy projekt-specifikus információkat kezelnek, biztosítva, hogy csak az arra jogosult személyek léphessenek kapcsolatba a rendszerrel.

***

**Implementation Details (copy & paste into base promt):**

1. **Access Code Requirement:**\
   Every time a new conversation begins, the AI agent must ask the customer for the access code **9876** before proceeding. The agent should only continue the conversation if this specific code is provided.
2. **Conversation Flow:**
   * **Initial Prompt:** At the start of each new conversation, the agent should ask:\
     \&#xNAN;*“Before we begin, please provide your access code to proceed.”*
   * **Correct Code Response:** If the customer enters the correct code (**9876**), the agent should respond with:\
     \&#xNAN;*“Thank you! The code is verified. How can I assist you today?”*\
     The conversation can then continue as normal.
   * **Incorrect or Missing Code Response:** If the code is incorrect or not provided, the agent should respond with:\
     \&#xNAN;*“The code you provided is incorrect, or no code was entered. Please provide the correct access code to continue.”*\
     The agent must not proceed with the conversation until the correct code is entered.
3. **Session Handling:**
   * Once the correct code (**9876**) is verified at the start of the conversation, the code does not need to be requested again during the same session.
   * Ensure that the access code is always requested at the beginning of any new conversation.
4. **Security Considerations:**
   * The access code should not be stored or reused across sessions for security purposes.
   * The access code verification process should be clearly documented and communicated to the intended users to avoid confusion.
   * If needed, allow for the access code to be updated periodically for added security.

***

#### Előnyök

* Megakadályozza az illetéktelen hozzáférést az AI ügynök által megosztott érzékeny információkhoz.
* Biztosítja, hogy csak a megfelelő hozzáférési kóddal rendelkező felhasználók léphessenek kapcsolatba az AI ügynökkel.
* További biztonsági réteget ad azokhoz a projektekhez vagy együttműködésekhez, ahol szabályozott hozzáférés szükséges.

</details>

<details>

<summary>Nyelvhez Alkalmazkodó AI Ügynök Prompt</summary>

#### Célkitűzés

Biztosítani, hogy az AI ügynök ugyanabban a nyelven válaszoljon az ügyfeleknek, amelyet a kérdésükben használtak, függetlenül attól, hogy a tudásbázis dokumentumai milyen nyelven vannak.

***

**Prompt:**

"When responding to a customer query, always reply in the same language the customer used, regardless of the language of the information available in the knowledge base. If the query contains mixed languages, prioritize responding in the primary language of the query (the language that appears most frequently in the text). Ensure that your response is natural, fluent, and matches the tone and style of the query. If the language cannot be determined or is unsupported, politely ask the customer to clarify their preferred language."

</details>


---

# 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.gpt4business.ai/hu/getting-started/promptolas/hasznos-promptok.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.
