How to upload files to BuildShip database
The BuildShip database has a "file" type field. I would like to upload a file to such a field. How do I do that? I cannot find any predefined node for this.
6 Replies
AI Support Bot Information
<@1227983829856157809> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human!
Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers.
Please note: Team members will review and answer the questions on best efforts basis.
AI Response
To upload a file to a "file" type field in the BuildShip database, you can use the "Upload File to BuildShip Storage" example, which demonstrates how to utilize the File Upload Trigger to handle incoming multipart request file uploads and save the file to the BuildShip Cloud Storage, providing you with a public URL. Unfortunately, there isn't a predefined node specifically labeled for direct upload into the BuildShip database's "file" type field, but this approach allows you to manage file uploads and maintain the files in your application's storage solution, which can integrate with your database setup【4:0†buildship-site.json】.
BuildShip AI Support
@Gaurav Chadha What is the right solution to this? My goal is to upload an embedding file and then later use it for OpenAI ChatCompletions request so I am aiming for the lowest latency possible.
Hi @Brian , we are working on updating the existing BuildShip nodes, which use files with the new file type to allow you to upload to BuildShip as well.
Hello @Gaurav Chadha okay thanks for the update. Is this something that well be implemented in a couple of days or will it take longer?
in the coming week, very, very soon.