Reference to deleted media files remain in custom agent but custom agent has no knowledge of the deleted file anymore
complete
smian
Steps to reproduce:
- Add a pdf as knowledge to a custom agent.
- Then go to media tab and delete that file.
- Then go back to the custom agent and the media file still remains as knowledge for the custom agent.
- Now ask the custom agent about specific knowledge.
- Custom agent will tell you that it has no knowledge even though the file reference is still in the knowledge.
This is quite confusing and misleading. We should either preserve a copy of the media file in the agent, separate from the media tab OR we should not allow deleting of the media file if it is being used by a custom agent. If we go with the 2nd option, we should list the custom agents that are currently using the media files as knowledge. User will be allowed to delete the media file only when no agents have references to it. I prefer the 2nd option since it preserves storage space and keep things tidy but you might have other reasons for the first option.
Log In
r
ryantaskade
complete
Hi there,
We recently released an update that removes the knowledge source from the agent upon media deletion
Thank you for your patience
r
ryantaskade
under review
Hi there, thank you for the insight, the team is aware of this and are looking into it
Narek Zograbian
It seems like the issue is that the Knowledge tab is not refreshing and accurately reflecting what knowledge is there.
I like the idea of having all references in a file. CCing the team here:
John at Taskade Dionis Loire ryantaskade