Replies: 14 comments
-
|
<@218266741921284096>, could you have a look at this? |
Beta Was this translation helpful? Give feedback.
-
|
<@876713586972569640> Hi, we don't have any known issues with cognee.add. Could you please provide the piece of code that adds Alice's and Bob's data? |
Beta Was this translation helpful? Give feedback.
-
|
Another thing, I don't see |
Beta Was this translation helpful? Give feedback.
-
|
Sure 🙂 Here's the exact code I used to test - all via curl commands to Cognee Cloud REST API: Alice's data:
Response:
Then cognify:
|
Beta Was this translation helpful? Give feedback.
-
|
I will provide for Bob |
Beta Was this translation helpful? Give feedback.
-
|
Bob's data:
Response:
Check Alice's dataset Check Bob's dataset |
Beta Was this translation helpful? Give feedback.
-
|
I will reset the datasets and will test again, but i am calling cognify for sure |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for providing the code, will check it to see what can be wrong |
Beta Was this translation helpful? Give feedback.
-
|
Thank you very much 🙂 I am looking forward to complete the integration. Will wait for your conclusion |
Beta Was this translation helpful? Give feedback.
-
|
<@876713586972569640> The parameter for |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for identifying the issue. Switching to text_data fixed it. Tested again with the same users: Search now returns actual user content instead of placeholder data. I will proceed with the integration on my side and will reach out if any other issues appear. Thank you so much |
Beta Was this translation helpful? Give feedback.
-
|
Good to hear that 🙂 Glad I could help |
Beta Was this translation helpful? Give feedback.
-
|
You can see it also documented here: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
=Hi Cognee team! 👋
I'm building an AI app using Cognee Cloud REST API to store user memories. Each user should have isolated, searchable memories.
The Problem:
All users share the same data_id, and search returns placeholder text instead of actual content.
Test Evidence:
User 1 (Alice):
Added: "My name is Alice. I am a software engineer at Google. I specialize in machine learning and Python programming."
API: POST /api/add with dataset_name="user_alice"
Response: dataset_id=b1f17f72-e3c2-5b7f-b789-199e472d0ffa, data_id=c934b0f4-9927-5a75-b128-ab91c89f0973
Searched for: "Alice software engineer Google Python"
Got back: "Warning: long-term memory may contain dad jokes!" ❌
User 2 (Bob):
Added: "My name is Bob. I am a marketing director at Microsoft. I specialize in digital marketing campaigns."
API: POST /api/add with dataset_name="user_bob"
Response: dataset_id=9a00238f-b1eb-50ea-8607-a8005ea1a69f ✅ (different), data_id=c934b0f4-9927-5a75-b128-ab91c89f0973 ❌ (SAME as Alice!)
Searched for: "Bob marketing director Microsoft"
Got back: "Warning: long-term memory may contain dad jokes!" ❌ (same placeholder)
Both datasets:
Expected: Different users = different data_ids = different search results
Actual: All users = same data_id = same placeholder
This prevents multi-user memory isolation. Is this a bug? Tested multiple times with cleared datasets. I would appreciate any assistance
This discussion was automatically pulled from Discord.
Beta Was this translation helpful? Give feedback.
All reactions