122 questions
Best practices
0
votes
1
replies
103
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
55
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 = ...
0
votes
0
answers
30
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.
...
0
votes
1
answer
103
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. ...
3
votes
2
answers
124
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
1
answer
162
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 ...
2
votes
2
answers
114
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
88
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&...
0
votes
0
answers
73
views
My Pinecone query simply won't return any match (Using Langchain + NodeJS)
I'm using a Node script to load a vectored txt file into a Pinecone index and then trying to query something about the loaded text. My index has the following characteristics:
metric: cosine
...
0
votes
0
answers
519
views
How to Build a Chatbot That Queries an SQL Database and Uses Vector Search for RAG?
I'm working on a chatbot that answers based on a department store's SQL database, and I need help.
The database looks like this:
If the user asks something like this:
The chatbot should answer like ...
0
votes
1
answer
97
views
AttributeError: type object 'Pinecone' has no attribute 'from_existing_index'
I'm developing a medical chatbot that uses Pinecone for vector storage and SentenceTransformer for generating embeddings. The issue in your code arises from attempting to use a deprecated method ...
0
votes
1
answer
264
views
How to get rid of "PineconeApiException: (400)" and "ValueError: Index 'None' not found in your Pinecone project" in jupyter notebook?
I am using this link to learn langhain and pinecone. Just copy pasted the code as bellow:
I am using default PINECONE_API_KEY and using bellow code I am able to create index in pinecone, facing ...
1
vote
0
answers
44
views
How can I automatically sync data upsertion from SQLite to my Pinecone index?
I'm working on a project where I need to sync data from a SQLite database to a Pinecone index. I have two Python scripts: one to handle the SQLite database and another to set up and connect to ...
0
votes
1
answer
581
views
RateLimitError: Error code: 429 while running a RAG application consisting gpt-4oAPI,Pinecone vector store,AzureAIDocumentIntelligenceLoader
Hi I am currently trying to run a RAG application (FAQ chatbot) which consists of 2 UI one where we can separately upload the files and store its embeddings in PineCone Vector store and another where ...
0
votes
0
answers
187
views
Need to upsert vectors in pinecone DB in Next JS
So I need help pushing vectors into the db, currently something is wrong with the await function here, I am getting an error.
Here is my code for the pinecone.ts file that uploads to the db:
import {
...
0
votes
1
answer
494
views
ScoredVector has no attribute 'metadata' at ['['received_data', 'matches', 0]']['metadata']
I'm building a chatbot RAG using HuggingFace, Mistral, LangChain and Pinecone.
I have a Python Script to watch changes in my MongoDB collection and send the data to Pinecone as a vector.
import os
...
0
votes
1
answer
918
views
PineconeConfigurationError: You haven't specified an Api-Key
## Vector Search DB In Pinecone
from pinecone import Pinecone, ServerlessSpec
import os
pc = Pinecone(api_key='a561dac3-3246-4aff-97fb-1f648d2ce750')
index_name = "text-embeddings"
if ...
0
votes
1
answer
468
views
TypeError: Cannot read properties of undefined (reading '0') open ai
` this is embedding.ts
import { OpenAIApi, Configuration } from "openai-edge";
const config = new Configuration({
apiKey: process.env.OPENAI_API_KEY,
});
const openai = new OpenAIApi(...
5
votes
0
answers
231
views
RAG model chat history does not work properly
I am currently trying to develop a sample project by learning RAG. In this code, I aim to chat with a document in Pinecone and while doing this, I try to keep the spoken conversations. These chat ...
0
votes
2
answers
532
views
RetrievalQA.from_chain_type showing a validation error of not being able to instantiate abstract
When I am trying to build a RetrievalQA.from_chain_type with my local llm and PineCone VectorDataBase. However, it is not able to create a retriever owing to the error of not being able to instantiate ...
0
votes
0
answers
341
views
I am unable to perform the vector embeddings with the help of pinecone and python
I have done chunking of the data prior to this and intend to do embeddings and store in pinecone. I have referred to Youtube on this as well and found this code and its not working.
docsearch = pc....
-2
votes
1
answer
354
views
How to create a pinecone client, it's giving error
The is present in the pinecone.ts
import { PineconeClient } from '@pinecone-database/pinecone'
export const getPineconeClient = async () => {
const client = new PineconeClient()
await client....
0
votes
2
answers
133
views
Problem with inserting vectors into PineconeDB
I am trying to insert the vectors into by pinecone database by this lines of code:
console.log('inserting vectors into Pinecone');
const namespace = pineconeIndex.namespace(convertToAscii(filekey)...
2
votes
1
answer
824
views
Recommended approach for managing entries in a vector database when the embeddings are identical but their metadata differs?
In my project, I encounter numerous documents that have identical embeddings but differ in metadata, which might influence retrieval through filtering. (400K documents but only 22040 different ...
1
vote
0
answers
266
views
Pinecone query not bringing up any matches?
Here is what I have done - Converted a Snowflake schema into vectors and uploaded them to a Pinecone vector DB.
However when I try to run a query against the Pinecone DB, it does not bring up any ...