-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Connect bot to data source #17
Comments
just adding onto this - maybe it's just instructions, but I have built indexes already from my in-house Jira and Confluence pages, and wanted to just hook them up to the chat. That would be ideal as a first step - even better allow the various Llama Hub connectors to be added in. |
@adbutler007 currently there's no UI for changing the data source of a bot, meanwhile you'll have to modify the JSON of the bot to add a datasource as described in https://github.com/run-llama/chat-llamaindex#-data-sources |
Is the app built to take multiple pdf files in a datasources directory? Or must each directory take just one pdf file? |
@adbutler007 you can use multiple PDFs in the same directory, as it's using the SimpleDirectoryReader in the chat-llamaindex/scripts/generate.mjs Lines 30 to 32 in df548a1
|
it's not clear to me how bots created in the UI are added to the bot.data.ts file (to then subsequently be linked to the datasource as per above). Does one need to modify the bot.data.ts to create a bot and mirror that in the UI or vice versa. which wouldn't make sense isn't it? I think I think I am missing something 🧐... @marcusschiesser can you pls advise? thanks 🙏 |
@mourrr The bots are stored in localStorage. If it is empty, the data in |
本人不是很懂该如何在 UI 中创建的机器人添加到 bot.data.ts 文件中,可以给一个详细操作步骤吗。 |
It seems intuitive that, once a user creates a data source, he should be able to query it somehow. It would be great if there were a field in the 'create bot' window to connect the bot to an existing data source.
It's entirely possible I'm missing something, but I can't see how to make that connection at the moment.
Thank you very much,
Adam
The text was updated successfully, but these errors were encountered: