SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
549 stars 124 forks source link

ChromaDB not working (no summary) #110

Open rosx27 opened 1 year ago

rosx27 commented 1 year ago
  1. chromadb does not automatically save the chat
  2. i had to manually copy and paste the chat into a txt file and inject it in the chromadb option
  3. whenever i do (2), the chat becomes repetitive, like the AI literally repeating the previous chats
  4. when i didnt do (2), and export the json file, its empty when i open it

i just reinstalled the app due to mistake i made, however, i have never been able to use chromadb since it was integrated, i always got the same issue mentioned above.

image

Cohee1207 commented 1 year ago

Screenshot your extension settings. How long is your chat?

rosx27 commented 1 year ago

my chat vary in length, but the current chat is around 15. heres the ss of the setting: image

Cohee1207 commented 1 year ago

Can you see if using another injection strategy helps?

rosx27 commented 1 year ago

i think it helps when i manually injects data (txt file) into the db. it just inconvenient and i think i makes the ai repeat the previous messages? idk. anyway, attached is the notification when i manually inject data: image

however, i just checked the prompt (on wsl), i think i doesnt include the summary based on the chromadb in the prompt?

Cohee1207 commented 1 year ago

I'll talk to a developer of this injection algorithm. There might be a mistake on the UI plugin side. The extras server seems to be working normally.

rosx27 commented 1 year ago

thank you. youve been very helpful and responsive. please let me know if you need additional context to fix the issue.