-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multi-user setup with slack doesn't work with a single agent #1356
Comments
@deefactorial we have considered making the "core memory" (the memory held in the LLM's context) more flexible (e.g. a key/value store) rather than having designated human/persona sections, but don't have concrete on the roadmap yet. If this is something you're interested in, I recommend implementing an extension of the Once you have a custom memory class, you want to give the agent the ability to modify that custom memory class. You can do that by modifying the core memory related functions (https://github.com/cpacker/MemGPT/blob/main/memgpt/functions/function_sets/base.py#L59) to match your memory class. Once you have the memory editing function, you'll want to create a custom preset that connects your memory functions instead:
You can also add other functions like This is a pretty advanced use-case that I'm not sure someone has tried before, but we do want to make the memory "programmable" to developers so feel free to reach out here or on discord and we'd be happy to help you make it work. |
Describe the bug
A clear and concise description of what the bug is.
In the root
readme.md
file it mentions the suggested setup for a multi-user setup.From that implementation suggestion this what I what I heard the suggested implementation is:
Please correct me if I'm wrong in my assumptions.
From what I understand is that this creates a personalised agent for each user, and only interactions with that user are recorded within it's memory.
There are some problems that I can see with this structure:
I've done a search for similar issues and found this one.
#668
In order to address these issues here is what I'm thinking should be done in order refactor memGPT to support a multi-tenant group chat environment like slack.
@
syntaxI did a brief overview of the code prompts and logic and found that Persona and Human objects appear to be like object storage banks for memories in order to implement a structure suggested above I would need to create an Organization object, refactor the Human object to be an array/map of Human objects, and create a channels/threads array/map of objects to store memories about.
Please let me know if there is any current or planned development in any of these directions. or any suggestions you may have in developing this.
Thank you for your time and your efforts in developing MemGPT, I think the work done here is excellent and I'm looking forward to developing it further.
The text was updated successfully, but these errors were encountered: