Hi, I'm new to creating a copilot chatbot, and I have two questions. First, how can I enable users to upload a file within the chatbot? Second, is there a way to implement something like a code interpreter?
The reason I'm asking is because a user wants to upload a .csv file containing performance data and then ask questions about it. I need to provide the chatbot with the capability to calculate averages, trends, generate insights, and perform other related tasks. Is this possible, and if so, how can I go about building this functionality?
Thanks in advance!
Hello, the example you've provided is very old, and is failing with the latest node JS. Additionally, there are old PVA or even url like this one:
https://va.ai.dynamics.com/api/botmanagement/v1/directline/directlinetoken
which are not working anymore.
Copilot without file upload is very limited nowadays, do you know if any efforts are in progress to add it to either chat by default (attachments) or maybe to adaptive cards as an Input. I think this question is especially valid as GPT4o became multimodal.
You can look at this sample to understand how uploaded files can be handled using a custom canvas. As for being able to answer questions based on the files content, depending on its size, you may be able to pass its content to a service like Azure OpenAI as part of the prompt.
Pablo Roldan
49
Romain The Low-Code...
35
stampcoin
10