Replies: 1 comment
|
hey <@576433490518736974> IDs are automatically generated from the content hash, making them deterministic. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
=Not sure if already there but I can't see on the docs that I can use my own unique ID when indexing documents. That would allow me to maintain a file indexing system based on say filepathname+date on a hash, so when I delete a document I can instruct cognee to remove it. I am not even certain now that when I add a document via API I receive a unique ID to save, if that is so deleting/updating documents seems problematic.
The purpose is to maintain a process that detects new documents... generates my ID for it so I can check if it has been indexed in which case I would need to delete pre insert. Ideally I would like to handle that myself but alterantively at least I need to have a uniqueID return on add so I can store it and use it when I need to delete. Can't see that on the API
This discussion was automatically pulled from Discord.
All reactions