- Newest
- Most votes
- Most comments
Hi,
You should try to add metadata with your date to the KB.
Announcement made in March: https://aws.amazon.com/about-aws/whats-new/2024/03/knowledge-bases-amazon-bedrock-metadata-filtering/
See documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-metadata.html
Best,
Didier
Is this really a semantic vector search use-case? It sounds like you're trying to do retrieval over structured/tabular data, more like "question-to-SQL" than search... Which might be a use case for Bedrock Knowledge Base's new structured data retrieval capabilities, as detailed (alongside other features) in this blog.
If the knowledge base includes other information aside from the weather, you could also consider whether to treat the weather separately as one "tool", and use a Bedrock Agent to dynamically decide when to call it vs the un-structured knowledge base.
Relevant content
asked 2 years ago
