120 questions
Advice
2
votes
2
replies
97
views
RAG with Pinecone + GPT-5 for generating new math problems: incoherent outputs, mixed chunks, and lack of originality
I’m building a tool that generates new mathematics exam problems using an internal database of past problems.
My current setup uses a RAG pipeline, Pinecone as the vector database, and GPT-5 as the ...
Best practices
1
vote
2
replies
148
views
Regarding rag for telephony with deepgram
I'm building a voice-based calling system where users can create AI agents that make outbound phone calls.
The agent uses Deepgram for real-time transcription and ElevenLabs/Cartesia for speech ...
0
votes
2
answers
63
views
illegal condition for field filter error in pineconeStore similaritySearch
I am building an AI agent and the retrieval node causing issues when I am adding filter object.
Here is the core code or retrieval node :
const filter = {
info: state.info ,
};
const embeddings = ...
-1
votes
1
answer
308
views
ImportError: cannot import name 'Client' from 'pinecone' (unknown location)
The problem with this piece of code is that I am unable to import Client from the pinecone library. I tried to uninstalling and reinstalling different versions none of them worked. I also tried it ...
0
votes
0
answers
31
views
PineconeDB - Is it possible to change the region of an index?
Our team is currently on the PineconeDB standard plan on uscentral-1. We want to migrate the index to a different region. Is that possible to do? I couldn't find any options to do that in the console.
...
-1
votes
1
answer
359
views
AttributeError: module 'pinecone' has no attribute 'Index'
Hi I'm trying to create a pinecone index and write embeddings to it as per below code, but i'm keep getting AttributeError: module 'pinecone' has no attribute 'Index' error, i checked and found that ...
0
votes
1
answer
111
views
Memory leak due to accumulating threads after add_documents with Pinecone
I have a question regarding thread behavior when embedding data into Pinecone using LangChain.
When I call the add_documents method, I notice that seven new threads are spawned—which seems expected. ...
0
votes
0
answers
95
views
Low Cosine Similarity for Identical Words Using llama-text-embed-v2 in Pinecone
I'm using Pinecone with cosine metric to perform similarity search. I have the word "dog" with the llama-text-embed-v2 and I'm searching the word "dog". I'm expected a cosine ...
3
votes
2
answers
147
views
Accessing Pinecone via PHP
I am having trouble accessing Pinecone via PHP. I tried to follow the examples from the documentation, but it does not seem to work.
<?php
ini_set('display_errors', '1');
ini_set('...
0
votes
0
answers
151
views
Entire data is not ingested by AWS Bedrock
I am trying to create a vector data using AWS Bedrock. I am passing a CSV file(stored in S3). While ingesting data, some of the data is randomly dropped by AWS. The csv file has 1000 rows while the ...
0
votes
1
answer
185
views
Upserting in Pinecone takes too long
I'm trying to upsert reviews that i've scraped into pinecone. For the embedding model im using jina-embedding-v3. For 204 reviews this takes around 2.5 hours! in Colab. Tried using GPU but the ...
0
votes
1
answer
606
views
ValueError: client should be an instance of pinecone.Index, got <class 'pinecone.data.index.Index'>
Please help me fix this:
import os
from pinecone import Pinecone, ServerlessSpec
from langchain.vectorstores import Pinecone as PineconeLangchain
os.environ["PINECONE_API_KEY"] = ...
2
votes
2
answers
128
views
Python, filter vectors from Pinecone vector store based on a field saved in the metadata of these vectors
I have vectors stored in a Pinecone vector store, each vector represents a content of a pdf file:
Metadata::
hash_code: "d53d7ec8b0e66e9a83a97acda09edd3fe9867cadb42833f9bf5525cc3b89fe2d"
id:...
-1
votes
1
answer
54
views
Runtime exception System.Text.Json.JsonException: Pinecone databse
I am beginning to learn Vector databases, i am using Pinecone to make the databases, but in this code:
public static async Task SaveToDatabase(List<float> vector)
{
string ApiKey = "...
-1
votes
1
answer
106
views
'Specified method is not supported' runtime exception
I have seen this question before but i couldn't find a answer that helped my case, but somebody can probably find a way, so i came to ask here. When i run this code:
public static async Task<List&...