Nando
WWasp-lang
•Created by Nando on 10/12/2024 in #đŸ™‹questions
pinecone
Hey Guys currently trying to get the embeddings sample to run but i keep getting error connections with pinecone. I followed https://github.com/wasp-lang/starters/pull/11/files and changed the files needed but still get :
[ Wasp ] ext-src/embeddings/generateEmbeddings.ts(192,7): error TS2353: Object literal may only specify known properties, and 'spec' does not exist in type 'CreateIndexOptions'.
[ Wasp ] ext-src/embeddings/utils.ts(6,23): error TS2345: Argument of type '{ apiKey: string; }' is not assignable to parameter of type 'PineconeConfiguration'.
[ Wasp ] Property 'environment' is missing in type '{ apiKey: string; }' but required in type 'PineconeConfiguration'. any solutions for this?
9 replies