Replies: 3 comments
-
Does pinecone support lists as metadata? If so, we can fix that. If not though, I would advise to use another vector db |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Logan,
Yes, pinecone supports lists as metadata. Please help us fix this issue.
https://docs.pinecone.io/docs/metadata-filtering
Thanks and Regards,
Selvaganapathy C
Sr Technical Architect
[cid:efd0a270-367f-458a-a386-15416ad436d7]
Mintmesh Inc| ISO & SOC 2 Certified[cid:cabd647c-dfd8-40f7-a624-9a9833878b66]
Corporate Office: 400 Renaissance Center, Suite 2600, Detroit, MI 48243
M:+91 9884336369 | E: ***@***.******@***.***> | www.mintmesh.ai<http://www.mintmesh.ai/>
…________________________________
From: Logan ***@***.***>
Sent: 07 January 2024 22:39
To: run-llama/llama_index ***@***.***>
Cc: Selvaganapathy C ***@***.***>; Author ***@***.***>
Subject: Re: [run-llama/llama_index] Metadata array not working through Llamaindex pinecone (Discussion #9048)
Does pinecone support lists as metadata? If so, we can fix that. If not though, I would advise to use another vector db
—
Reply to this email directly, view it on GitHub<#9048 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AWG4FY6VE2RJVFW5EDHX3NDYNLJEBAVCNFSM6AAAAAA7UE3MW2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DAMZYGY3TA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, you can fix this with a custom metadata extractor - i had same problem: Here are the code parts that differ from the shipped class:
And the template:
And the json cleaner (needed if openai is your llm)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are accessing pinecone using Llamaindex library. One of our use cases is that we need to add an array of strings as metadata. However, we could not do because Llamaindex throwing below error when we add an array as metadata.
Error: Value for metadata tag_id must be one of (str, int, float, None)
Llamaindex version is 0.8.65.
Please let us know if there is a support for metadata array in Llamaindex- pinecone connector in the latest or future versions. Or Let us know of there is any work around.
Thanks,
Selva.
Beta Was this translation helpful? Give feedback.
All reactions