run-llama / chat-llamaindex

https://chat.llamaindex.ai
MIT License
849 stars 261 forks source link

Unclear where to add datasource for bots created in UI #22

Closed steviedrew67 closed 11 months ago

steviedrew67 commented 11 months ago

First of all, thanks for the great solution.

Everything is running fine locally but I'm not clear where to edit the bots created from the UI. When I go to the apps/bots/bot.data.ts i do not see the bot I created and when I edit one of the demo bots in that file I don't see the changes in the UI.

SamirTafesh commented 11 months ago

@steviedrew67

Screenshot from 2023-11-04 17-57-38 I was facing the same, but i overcome it by

1- go to setting button 2- backup Bots (it will back up the bots into a JSON file 3- edit the Json file with the changes you need (you can remove ones as well) 4- restore from the json file

Hope it answers your question

marcusschiesser commented 11 months ago

Thanks for your help here @SamirTafesh. The two of you didn't see the updates of the bot.data.ts file because the bots are stored in local storage. Local storage needs to be cleared to see any changes.

I updated the readme:

https://github.com/run-llama/chat-llamaindex/blob/bcea837b17ec9f1d0a58c71cd3a78e9e7cc75147/README.md?plain=1#L81