Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/AWS Bedrock Knowledge Bases retriever #2905

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

RPKosec
Copy link
Contributor

@RPKosec RPKosec commented Jul 29, 2024

Changes:

  • AWS Bedrock Knowledge bases retriever added
  • root package.json updated with @langchain/aws v0.0.6 in overrides

@HenryHengZJ
Copy link
Contributor

looks good! Do you have a screenshot of working flow? I dont have one handy

@RPKosec
Copy link
Contributor Author

RPKosec commented Jul 30, 2024

looks good! Do you have a screenshot of working flow? I dont have one handy

Sure, this is screenshot of simple flow using https://www.zamg.ac.at/histalp/download/abstract/Auer-etal-2001b-F.pdf as test document. Filter is set up (second screenshot) according to metadata file:

{
    "metadataAttributes" : { 
        "Source" : "austrian-long-term-climate-1767-2000",
        "yearFrom" :  1767,
        "yearTo" :  2000,
        "topic": "climate"
    }
}

which returns answer to query. If filter is set to something else that does not match the metadata, response states that there is no context for this query. Search type is default if nothing is stated or the selected hybrid/semantic if selected.

FWExample FWExample2

@HenryHengZJ HenryHengZJ marked this pull request as ready for review July 30, 2024 15:40
Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @RPKosec !

@HenryHengZJ HenryHengZJ merged commit c899c05 into FlowiseAI:main Jul 30, 2024
2 checks passed
@RPKosec RPKosec deleted the feature/aws-bedrock-kbases-2901 branch July 31, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants