# Retrieval inaccuracy

**URL:** <https://community.pinecone.io/t/retrieval-inaccuracy/7043>\
**Category:** Support\
**Tags:** semantic-search, serverless\
**Created:** [November 28, 2024, 6:28am UTC](https://community.pinecone.io/t/retrieval-inaccuracy/7043 "2024-11-28T06:28:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nag](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/nag/32/3549_2.png) [@nag](https://community.pinecone.io/u/nag)\
**Post date:** [November 28, 2024, 6:28am UTC](https://community.pinecone.io/t/retrieval-inaccuracy/7043/1 "2024-11-28T06:28:16Z")

</div>

I specifically have a vector with ID: aaa24e8f-142c-49af-9789-59888c408ce0 with the below metadata

 ![Screenshot 2024-11-28_metadata_text](https://us1.discourse-cdn.com/flex020/uploads/pinecone/original/2X/6/61d99f974f0921cf6722a5a53658e29184d5d85c.png)

but when I query by bot for “give me an AI tool for Mental wellness” it returns a response as below.

Currently, it seems we don’t have a specific AI tool for mental wellness in our database.

I am querying the correct index and namespace.

why is the correct vector not being retrieved from my Pinecone serverless index?

I saw the trace on Langsmith and I find the correct namespace and index being retrieved but the results don’t  
make sense based on similarity search (which is what I have set to). Pls refer screenshot (i was able to upload only one screenshot). thanks

My index name is “elevatespot-1”  
namespace: “ai-tools”  
namespace: “elvspot-abt-blog-artic”  
I tried querying with both the namespaces (both have the tool name and function) (the “ai-tools” namespace has a detailed info and “elvspot-abt-blog-artic” has only tool name, category and function)

---

<div class="post-metadata">

**Author:** ![nag](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/nag/32/3549_2.png) [@nag](https://community.pinecone.io/u/nag)\
**Post date:** [November 29, 2024, 7:39am UTC](https://community.pinecone.io/t/retrieval-inaccuracy/7043/2 "2024-11-29T07:39:23Z")

</div>

Hello, I figured the reason for the error. my index was embedded using OpenAI text-embedding-3-small and my user query was embedded using text-embedding-ada-002. I corrected the embeddings for user query to use text-embedding-3-small and now the retrieval works fine.

---

<div class="post-metadata">

**Author:** ![bear](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/bear/32/1488_2.png) [@bear](https://community.pinecone.io/u/bear)\
**Post date:** [December 2, 2024, 9:35pm UTC](https://community.pinecone.io/t/retrieval-inaccuracy/7043/3 "2024-12-02T21:35:28Z")

</div>

Thank you for posting your solution!
