#2656-AI Processing & Memory Clarification Request

The Dreamaholics
RESOLVED
#1
The Dreamaholics

 The Dreamaholics

Could you please provide brief explanations (with an example or screenshot where possible) for the following? This will help us create better AI training for our clients.


1) Incoming Message Flow

Please explain the end-to-end processing flow for a user message (e.g., message → memory → knowledge retrieval → AI instructions → response).


2) Default AI Instructions

Which instructions are always sent with every AI request (tone, language, restrictions, escalation rules, etc.)? Are these permanent or retrieved dynamically?


3) Conversation Memory

How does memory work? What is stored, for how long, and how does the AI avoid asking for information the user has already provided?


4) Vector-Based Knowledge Retrieval

How are uploaded files chunked, how are relevant sections selected, how are conflicts handled, and can we see which file/chunk was used to generate a response?


5) Knowledge Retrieval Priority

What is the retrieval hierarchy when multiple knowledge sources exist (System Prompt, FAQs, Uploaded Files, Google Sheets, Websites, APIs, etc.)?


6) Multi-File Knowledge Base

How does the system handle multiple uploaded files? Can files have categories or priorities? If a file is replaced, is its previous knowledge completely removed?


Reason:

We're currently seeing cases where the AI repeats questions, ignores previously shared information, or doesn't consistently follow instructions. Understanding the retrieval and memory flow will help us structure our training content more effectively.

#2
Kamrul Hasan

 Kamrul Hasan

#1

The Dreamaholics

Dear User,


Thank you for your questions.

  1. Incoming Message Flow: Message → Conversation history → Knowledge retrieval (if enabled) → AI instructions → AI response.
  2. Default AI Instructions: The configured system prompt (tone, language, rules, etc.) is included with every AI request.
  3. Conversation Memory: Recent conversation history is used to maintain context and reduce repeated questions.
  4. Vector-Based Knowledge Retrieval: Uploaded files are split into chunks, and the most relevant chunks are retrieved based on the user's query.
  5. Knowledge Retrieval Priority: Typically: System Prompt → Conversation History → Retrieved Knowledge → AI Model Knowledge.
  6. Multi-File Knowledge Base: Multiple files are indexed separately, and the most relevant content is retrieved. Replacing a file requires re-indexing to remove old knowledge.


For more accurate responses, we recommend using a higher-capability AI model. If you are using your own API key, you can select a more advanced model to achieve better response quality and instruction following.


Thank you.

#3
Rahul Jain

 Rahul Jain

Yes there are cases where the AI repeats questions, ignores previously shared information.

Also the contextual memory limits to 10 now, previously I was using 30 for one of my client why is it reduced and I see options until 10 only

#4
The Dreamaholics

 The Dreamaholics

#3

Rahul Jain

We are facing the same issue after the recent update. Previously, we were able to configure the contextual memory (up to 30), but now it is limited to 10 only. This is causing AI agents to lose context, repeat questions, and enter conversation loops. We have already received similar feedback from 19-20 clients. Kindly consider restoring the configurable contextual memory option, as it was very useful for handling longer conversation flows.

#5
Rahul Jain

 Rahul Jain

@Botsailor Team,


Could we make this field a normal input instead of a dropdown with fixed limits?


If a client has configured their own OpenAI API key and is willing to spend more on AI tokens, there doesn't seem to be a reason to restrict them to only 10 or 30 conversations for contextual memory. It would be much more flexible if users could enter any value based on their own requirements and token budget.

#6
Kamrul Hasan

 Kamrul Hasan

Dear User,


We will bring back the option to select up to 30 Context and memory in the next update.


Thank you.

#7
Rahul Jain

 Rahul Jain

when can we expect the next update?


#8
Admin.

 Admin.

The current AI system is good, but basic. To have a more advanced and reliable system if or if I had to connect n8n via webhook to connect an advanced agent which works 10/10. The current AI system leaves much to be desired. They must leave without internal configurations pre-established by botsailor since sometimes it always responds the same regardless of the promp. As if to mention that you are out of office hours, again and again.

#9
Kamrul Hasan

 Kamrul Hasan

Dear Users,

We have brought back the option to select up to 30 contextual memory messages in the AI Agent.

Thank you.