Find answers from the community

Updated 5 months ago

yeah, looks as if the way we're doing

yeah, looks as if the way we're doing this (using PGVector) doesn't have any real documentation or API exposed for creating filters, or even querying additional columns within the schema (we're using QueryEngineTool and ToolMetadata) so that quite different.
L
d
3 comments
the pgvector store has the same filter syntax as every vector store πŸ‘€ But running raw queries, youd have to directly query the db
yeah, the challenge is I'm looking to limit the total "scope" of a vector search by picking only documents in a date range
so, the "work around" would be potentially to search "by date" using a standard DB query, build a list of document_id's that match the date, and then pass those to VectorIndexRetriever as a doc_ids parameter?
Add a reply
Sign up and join the conversation on Discord