Hey all,
My agent works correctly when I upload Knowledge during the design phase (either uploading a PDF or using a public website).
However, I want users to provide the Knowledge themselves. So that each time a user activates the agent, they provide a public website or a locally saved file (eg PDF/DOCX) and the agent uses that Knowledge, in that instance.
The ability for users to upload a file is already possible; as well as typing in the chat, there is the option to attach files.
I can then save that attachment as a file-type variable under the Question node.
Then in the Create Generative Answers node, I can edit the Data Sources to Custom Data and select the variable associated with the attachment.
However, this is when the issue arises. The error message says: "Variable is being set to an incorrect type. Assigned: File, expected: Table".
What do I need to do to allow the Create Generative Answers node to use the uploaded file as Knowledge? Might I have to create an Action?
I know there is the option for users to save files in Sharepoint and then use that Sharepoint site as Knowledge. But that isn't the ideal option, for example, the agent is public and the user doesn't have access to that Sharepoint site.
Any ideas?
Thanks
James