Closed microsoftbuild closed 2 years ago
It's already there. Can you try it?
// FILES
listFiles()
retrieveFile(fileId: string)
retrieveFileContent(fileId: string)
uploadFile(data: FileRequest)
deleteFile(fileId: string)
Thanks for the help @dalenguyen
I didn't see this in the readme. Hence asked.
Hi @dalenguyen
There are two functionalities i.e. retrieve file and retrieve file contents, that are offered by the OpenAI API.Requesting you to please add them. I'd also love to contribute but haven't worked on writing packages.
Link for reference: https://beta.openai.com/docs/api-reference/files/retrieve