Find answers from the community

Home
Members
mohammed
m
mohammed
Offline, last seen 3 months ago
Joined September 25, 2024
I have a set of nodes with metadata like below for each of my documents ingested into a PostgresDB with pgvector
Plain Text
{'name': 'Reliance Industries Ltd.', 'date': '2023-05-02', 'type': 'NCM', 'uuid': '91f19fce-1dc6-4a8b-9a4a-4fdfdcabfbfc'}

When I query the documents using query like "What is the EBITDA for the year 2023 and 2020 for XYZ company?" I want to retrieve different documents based on the "date" metadata and "name" along with semantic search using LLM.

Currently metadata is not taken into consideration and documents returned are also from 2013 etc.
2 comments
L
m
Is there a way to create a keyword based retriever like BM25Retriever based on an existing index? I have already embedded and ingested my documents into a postgres vectorstore and want to create a retriever from an already existing index.
3 comments
W
m
Is there a way to do Recency filtering using FixedRecencyPostprocessor when the metadata 'date' key has values in %d-%m-%Y format and not in "%m-%d-%Y"
1 comment
W
Is there a way to do metadata filtering based on multiple keys like below and using combination of "AND" / "OR" queries?
PS: I am using ChromaDB locally as vector index
Plain Text
filters = MetadataFilters(filters=[MetadataFilters(key='key1', value='value1'), MetadataFilters(key='key2', value='value2')])
2 comments
m
L