I am trying to reverse engineer the API call to upload files to an AI persona, I’ve replicated the call in postman, and it gives me a 200 response back:
But when I go back to the AI persona, the file is no where to be found. Is there something I’m missing?
2 个赞
Answering my own question here, but I found the answer! You also need to make a put to the AI persona for it to show up there:
Include the ID of the file you uploaded in the put body:
...
"rag_uploads": [
{"id": 13666}
]
...
And now it shows up under the persona!
3 个赞
system
(system)
关闭
2024 年7 月 5 日 19:28
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.