Hello - is it anyhow possible to send a file to the api (eg. a txt-file or also an xlsx-file) and get some answers for this files?
So some answers for the text in the file for example or some question about the excel-sheet?
- look into “embedding” that’s the complicated way
- or use something like TIKA to extract text from any document
- or, simplest way, is get text from the file yourself (however you want)
If doing 2 or 3, above then send text from any method above into the prompt, and say
“You will answer questions about the following text: ${text}. ${question_to_ask}”