Skip to content

[Bug]: old documents retained in DB even if new docs replaced them #15930

Description

@carlos-encs

What happened?

HI

  • Using an Agent: Existing documents in "File Search" were deleted and replaced with new ones (updated info)
  • Asked questions to the Agent, it answered with the old information

Version Information

LibreChat v0.8.7

Steps to Reproduce

  • Using an Agent: Existing documents in "File Search" were deleted and replaced with new ones (updated info)
  • Asked questions to the Agent, it answers with the old information
  • Checking the DB, old documents are still there along with new ones

What browsers are you seeing the problem on?

No response

Relevant log output

file_id                |                                           source                                            | chunks
--------------------------------------+---------------------------------------------------------------------------------------------+--------
 3d5684cd-eccf-4f6b-b81f-3231f359730d | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/showconfig_125c0ebfc2db48cbb4c660dcf6762d6d.txt    |      8
 4e96b12b-6f9a-4e8a-9728-10b32026fd71 | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/showconfig_ea81ef5ce56841aab316784d65054435.txt    |      8
 dc109f4a-a69b-47f1-ba37-c06d7567b98e | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/showpartition_a6d2c7a8bb8b4b9dad0fbd9e203a1b41.txt |      8
 f6e616a2-6acd-4395-982e-cbe2dd81c589 | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/showpartition_b5d51ec85a2a47c9a17d0e48ce235637.txt |      8
 31d05732-edf9-4ce0-a0d6-6948be6ccf61 | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/sinfo_a4b19072d73946f88a3ec4bb24fc0c15.txt         |      9
 6d557f74-34fd-4edc-b740-1a057e1ebf97 | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/sinfo_a6e451b9d1924d3baf6f840178dfe48f.txt         |     11
 cea389a3-15c0-4aa1-9ac8-09e22b3fb0dd | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/slurm_62d677dd582a47a190553055c0075091.conf        |     18
 efa3667c-ecea-47ed-8893-a77f4ecdaaeb | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/Slurm-cases_f1cc7461cd024ffd8cb0cbdaa2a95faa.txt   |      2
 38227d4c-44a2-4440-90f6-1b23f4257055 | /app/uploads/agent_Ec6ck4sl8-ApqV4z_XfiC/slurm_d93cf84be81041c9b8f6f5cf271f3200.conf        |     18

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions