mayooear / gpt4-pdf-chatbot-langchain

GPT4 & LangChain Chatbot for large PDF docs
https://www.youtube.com/watch?v=ih9PBGVVOO4
14.95k stars 3.02k forks source link

Ingest : ReferenceError: vectors is not defined #391

Closed JeanBrusau closed 1 year ago

JeanBrusau commented 1 year ago
gpt4-pdf-chatbot-langchain % npm run ingest             

> gpt4-langchain-pdf-chatbot@0.1.0 ingest
> tsx -r dotenv/config scripts/ingest-data.ts

/Users/jb/gpt4-pdf-chatbot-langchain/config/pinecone.ts:12
vectors
^

ReferenceError: vectors is not defined
    at <anonymous> (/Users/jb/gpt4-pdf-chatbot-langchain/config/pinecone.ts:12:1)
    at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
    at async CustomizedModuleLoader.import (node:internal/modules/esm/loader:228:24)
    at async loadESM (node:internal/process/esm_loader:40:7)
    at async handleMainPromise (node:internal/modules/run_main:66:12)

Node.js v20.5.0

Running on MAC ARM

I'm not familiar with ts so it's hard for me to know what's going wrong.

I have the newest version of node. Thanks in advance for any ideas.

dosubot[bot] commented 1 year ago

Hi, @JeanBrusau! I'm Dosu, and I'm helping the gpt4-pdf-chatbot-langchain team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, you encountered a ReferenceError in the pinecone.ts file due to the undefined vectors variable. You were seeking assistance to understand and fix the issue. However, there haven't been any further activities or comments on the issue.

Before we close this issue, we wanted to check if it is still relevant to the latest version of the gpt4-pdf-chatbot-langchain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your understanding and contribution to the gpt4-pdf-chatbot-langchain project!