I want to use the llamaindex package to parse documents with their parser model. However, this model also includes a VectorStoreIndex that is used in conjuction with openAI to create embeddings and store it in the llamacloud database. As I don't have access to openAI (based in Hong Kong) and I want to keep using convex for vector search, I don't use this functionality. But I believe there are the reason for the error below.
I put "use node" at the top of the file and inserted the packages that errored my build to the node.externalPackages convex.json file. But I still get the same errors.
Any clue on what that could be? The pg packages must be used for their vector database which I don't use.
{
"node": {
"externalPackages": [
"llamaindex",
"pg",
"pgvector/pg",
"@xenova/transformers"
]
}
}