Hello, now that we don’t have the embed option in MindStudio, to effectively implement a chatbot that retains contextual memory and personalizes interactions, what are the options? A system that maintains contextual memory so that the AI can “remember” previous conversation details. For example, if the human first asks, “What is the capital of France?” and the AI answers “Paris,” then later—even if the query is vague—the AI can recall that answer.
You can use AI and/or no-code tools to build the interface and connect it to a MindStudio backend. An example would be the bubble template: Mindstudio Frontend Template Template | Bubble
People are building frontend apps that interact with the MindStudio API in platforms like Bubble, Softr, WeWeb, Lovable, and more.
Hi @giorgiob , thanks for the reply.
I now this is possible, but we don’t want to depend on another third-party platform due to the risks and lack of data protection guarantees. Additionally, the costs are prohibitively high.
We managed to create a frontend internally that communicates with Mindstudio’s AI Agents via API. In this specific case, they are virtual assistants/bots that, in this case, in order to work properly, need to have the history of the conversation in order to have context (exactly what the “embed” feature did), but now we have to find another way, we just don’t know which one.
thanks
The “history” can be as simple as passing all previous chats into the context, so instead of sending currentText (an example of the input field value) you’d send
-context- all previous messages -/context-
-newMessage- and here the input message -newMessage-
That’s how the bubble template does it as well.
As a non-technical user, I want to ensure I implement contextual memory correctly via MindStudio’s API. Could you clarify a few points with simple examples?
- API Format:
o Is the -context-/-newMessage- structure literal, or is it a placeholder for JSON keys like “context” and “newMessage”? Could you share an example API request? - Storing History:
o How do I save chat history without a backend? Can I use browser storage (like localStorage), and ensure it persists across page refreshes? - Limits:
o Is there a character/token limit for the context field? If so, how do I trim old messages but keep recent ones?
A simple example would help me understand! Thank you for your patience.