Hi there! I was playing around with the endpoints for ragapp. I can't seem to figure out which endpoint to hit to upload a file.
I tried a curl like so:
curl -X 'POST' \
'http://localhost:3030/api/management/files' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@3M_2016_10K.pdf;type=application/pdf' \
-F 'fileIndex=0' \
-F 'totalFiles=1'
What do I add in the fileIndex and totalFiles if I want to add another 3 files let's say
And there's also another endpoint like:
curl -X 'POST' \
'http://localhost:3030/api/chat/upload' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"base64": "string",
"name": "string",
"params": "string"
}'
and what params are permissible here? it does not seem to accept an empty string