Open Yenhi501 opened 5 months ago
Please help me, I have a report related to this
Hello, I have fixed it
I update
const index = pinecone.Index(PINECONE_INDEX_NAME);
to
const pc = new Pinecone({ apiKey: 'key' }); const index = pc.index(PINECONE_INDEX_NAME);
Hello, I have fixed it I update
const index = pinecone.Index(PINECONE_INDEX_NAME);
toconst pc = new Pinecone({ apiKey: 'key' }); const index = pc.index(PINECONE_INDEX_NAME);
how to see the pinecone index's environment
Hello, I have fixed it I update
const index = pinecone.Index(PINECONE_INDEX_NAME);
toconst pc = new Pinecone({ apiKey: 'key' }); const index = pc.index(PINECONE_INDEX_NAME);
how to see the pinecone index's environment
the environment is the region specified here
Hello, I have fixed it I update
const index = pinecone.Index(PINECONE_INDEX_NAME);
toconst pc = new Pinecone({ apiKey: 'key' }); const index = pc.index(PINECONE_INDEX_NAME);
Im facing the same error @mayooear can you take a look at this please ?
Hello, I have fixed it I update
const index = pinecone.Index(PINECONE_INDEX_NAME);
toconst pc = new Pinecone({ apiKey: 'key' }); const index = pc.index(PINECONE_INDEX_NAME);
Im facing the same error @mayooear can you take a look at this please ?
I was able to fixe the issue by using the individual Langchain packages
import { PineconeStore } from "@langchain/pinecone";
import { Document } from "@langchain/core/documents";
import { OpenAIEmbeddings } from "@langchain/openai";
import { Pinecone } from "@pinecone-database/pinecone";
Check out a sample implementation https://github.com/arpeiks/gpt-langchain
run this command to update the package and it solves this issue for me: yarn add @pinecone-database/pinecone@latest
creating vector store... error TypeError: Cannot read properties of undefined (reading 'text') at (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\utils.js:44:57)
at step (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\utils.js:33:23)
at Object.next (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\utils.js:14:53)
at (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\utils.js:8:71)
at new Promise ()
at __awaiter (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\utils.js:4:12)
at extractMessage (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\utils.js:40:48)
at (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\handling.js:66:70)
at step (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\handling.js:33:23)
at Object.next (d:\demo\node_modules\@pinecone-database\pinecone\dist\errors\handling.js:14:53)
d:\demo\scripts\ingest-data.ts:46
throw new Error('Failed to ingest your data');
^
Error: Failed to ingest your data at run (d:\demo\scripts\ingest-data.ts:46:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at (d:\demo\scripts\ingest-data.ts:51:3)
Node.js v19.8.1
My code :