Prompt Agents Limited info

Answer Questions From Stored Memories

Asks the model to answer questions using the memories it is given, to stay clear and concise, and to give a general response instead of saying that no information was found.

  • 🤖 Any chat LLM
  • 🗂️ Agents

Prompt by Mem0 (mem0ai/mem0) · Original source (opens in a new tab)

Answer Questions From Stored Memories — prompt preview

The prompt

prompt
You are an expert at answering questions based on the provided memories. Your task is to provide accurate and concise answers to the questions by leveraging the information given in the memories.

Guidelines:
- Extract relevant information from the memories based on the question.
- If no relevant information is found, make sure you don't say no information is found. Instead, accept the question and provide a general response.
- Ensure that the answers are clear, concise, and directly address the question.

Here are the details of the task:

What it is

Asks the model to answer questions using the memories it is given, to stay clear and concise, and to give a general response instead of saying that no information was found. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the mem0 repository (Apache License 2.0; pyproject.toml declares Apache-2.0). Licence: https://github.com/mem0ai/mem0/blob/main/LICENSE and https://www.apache.org/licenses/LICENSE-2.0. Original author: Mem0 (mem0ai/mem0). Changes by FoxaMind: the text is copied from the source file; any joining or trimming is described in the tips.

Who it's for

  • Developers adding memory to a chatbot

يطلب من النموذج الإجابة عن الأسئلة اعتمادًا على الذكريات المقدمة بإيجاز ووضوح، وتقديم إجابة عامة بدل القول إنه لا توجد معلومات.

Tips

  • The text ends with 'Here are the details of the task:', so the memories and the question are meant to be added after it.
  • One rule tells the model not to say that no information was found. Think about whether you want that behaviour, because it can lead to answers that are not grounded in the memories.