Pinecone Module Not Found in Fresh Create-Llama Setup for DuckDuckGo Search RAG #63

Closed
opened 2026-02-15 19:15:35 -05:00 by yindo · 6 comments
Owner

Originally created by @klei30 on GitHub (Sep 23, 2024).

Originally assigned to: @thucpn on GitHub.

Hi,

I'm encountering an issue with a fresh create-llama project using the Agentic RAG (DuckDuckGo Search) template. After setting it up and performing the first query, I receive an error indicating that the Pinecone module cannot be resolved.

Steps to Reproduce:

Run npx create-llama@latest.
Choose the following options:
Template: Agentic RAG (e.g., chat with docs)
Framework: NextJS
OpenAI API key: Skip
Data source: Example PDF
Add another data source: No
Use LlamaParse for RAG: No
LlamaCloud API key: Skip
Vector database: Pinecone
Tools: DuckDuckGo search, Wikipedia, Weather, Code Interpreter, etc.
Run the project and execute a query.
Error is thrown.
image

image

Originally created by @klei30 on GitHub (Sep 23, 2024). Originally assigned to: @thucpn on GitHub. Hi, I'm encountering an issue with a fresh create-llama project using the Agentic RAG (DuckDuckGo Search) template. After setting it up and performing the first query, I receive an error indicating that the Pinecone module cannot be resolved. Steps to Reproduce: Run npx create-llama@latest. Choose the following options: Template: Agentic RAG (e.g., chat with docs) Framework: NextJS OpenAI API key: Skip Data source: Example PDF Add another data source: No Use LlamaParse for RAG: No LlamaCloud API key: Skip Vector database: Pinecone Tools: DuckDuckGo search, Wikipedia, Weather, Code Interpreter, etc. Run the project and execute a query. Error is thrown. ![image](https://github.com/user-attachments/assets/a12bde9d-723a-438e-910e-5f5e4ee208bb) ![image](https://github.com/user-attachments/assets/424e951c-adf2-475f-98fb-230cbf9853ef)
yindo closed this issue 2026-02-15 19:15:35 -05:00
Author
Owner

@robotson commented on GitHub (Sep 23, 2024):

can you try importing like

import { PineconeVectorStore } from "llamaindex";

I've noticed the create-llama installer currently seem to be a little out of date with regard to where some packages are actually exported from

@robotson commented on GitHub (Sep 23, 2024): can you try importing like ``` import { PineconeVectorStore } from "llamaindex"; ``` I've noticed the create-llama installer currently seem to be a little out of date with regard to where some packages are actually exported from
Author
Owner

@klei30 commented on GitHub (Sep 23, 2024):

after i do this i also get a llamaparsereader library import problem and i do the same, but then i have an error saying :llamaindexWEBPACK_IMPORTED_MODULE_0.PineconeVectorStore is not a constructor
what "create llamaindex with ts" is stable version of both rag agent with duckduck search
i need to use both of them

@klei30 commented on GitHub (Sep 23, 2024): after i do this i also get a llamaparsereader library import problem and i do the same, but then i have an error saying :llamaindexWEBPACK_IMPORTED_MODULE_0.PineconeVectorStore is not a constructor what "create llamaindex with ts" is stable version of both rag agent with duckduck search i need to use both of them
Author
Owner

@marcusschiesser commented on GitHub (Sep 24, 2024):

Sorry for the trouble. The imports and the package.jsons are now updated in create-llama 0.2.9. Please try again.

@marcusschiesser commented on GitHub (Sep 24, 2024): Sorry for the trouble. The imports and the package.jsons are now updated in create-llama 0.2.9. Please try again.
Author
Owner

@klei30 commented on GitHub (Sep 24, 2024):

hi, yes thank you for that.

i have the same error with LLamaindexparser, i change the import into import { LlamaParseReader } from "llamaindex"; but when i do and ask chat i dont see any resources in the UI . Is there any workaround for that ?

Thanks again

image

@klei30 commented on GitHub (Sep 24, 2024): hi, yes thank you for that. i have the same error with LLamaindexparser, i change the import into import { LlamaParseReader } from "llamaindex"; but when i do and ask chat i dont see any resources in the UI . Is there any workaround for that ? Thanks again ![image](https://github.com/user-attachments/assets/9d8a3e67-aa24-4f3b-b4e1-0486e5a80fc7)
Author
Owner

@thucpn commented on GitHub (Sep 25, 2024):

Thank you, @klei30 . In my PR #322, I changed the import to import { LlamaParseReader } from "llamaindex".

LlamaParseReader is used for generating data sources, so it doesn't seem to be directly related to your chatting issue.
Can you try again?

@thucpn commented on GitHub (Sep 25, 2024): Thank you, @klei30 . In my PR #322, I changed the import to `import { LlamaParseReader } from "llamaindex"`. LlamaParseReader is used for generating data sources, so it doesn't seem to be directly related to your chatting issue. Can you try again?
Author
Owner

@marcusschiesser commented on GitHub (Sep 25, 2024):

fixed in release 0.2.11

@marcusschiesser commented on GitHub (Sep 25, 2024): fixed in release 0.2.11
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#63