-
Notifications
You must be signed in to change notification settings - Fork 966
Added profile ontology and MCP server #875
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
Added profile ontology and MCP server #875
Conversation
Please make sure all the checkboxes are checked:
|
|
Caution Review failedThe pull request is closed. WalkthroughThis update adds several asynchronous tools to manage user context and memory in the Cognee MCP server, including retrieving user profiles, saving and retrieving memories, and placeholder methods for updating and removing memories. The search and other existing tools are refactored for improved output and type consistency. A new user profile ontology OWL file is introduced. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant MCP_Server
participant KnowledgeGraph
User->>MCP_Server: getUserContext(user_query)
MCP_Server->>KnowledgeGraph: Query user profile
KnowledgeGraph-->>MCP_Server: Return profile data
MCP_Server-->>User: Return formatted profile summary
User->>MCP_Server: saveMemory(content, type, importance)
MCP_Server->>KnowledgeGraph: Save memory as background task
MCP_Server-->>User: Confirm memory save (async)
User->>MCP_Server: retrieveMemories(query, type, importance)
MCP_Server->>KnowledgeGraph: Query memories
KnowledgeGraph-->>MCP_Server: Return memory results
MCP_Server-->>User: Return formatted memories
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
DCO Affirmation
I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin.