const file = await openAI.files.create({
file: fs.createReadStream(“docs\currentDoc”),
purpose: “assistants”,
})
const vector_store = await openAI.beta.vector_stores.create({
name: "Docs",
file_ids: [file.id],
});
When I use this code to make a vector store, I am met with this error. Is there any solution?