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

Add Amazon Bedrock Retriever to leverage Knowledge Base deployed onto AWS #1219

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ajohn-wick
Copy link

No description provided.

Copy link

changeset-bot bot commented Sep 17, 2024

⚠️ No Changeset found

Latest commit: 6c22b5b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Sep 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
llama-index-ts-docs ❌ Failed (Inspect) Sep 19, 2024 7:27am

@parhammmm
Copy link
Contributor

The retrievers shouldn't be in the llm folder, they should be one level higher in src/retrievers

@ajohn-wick
Copy link
Author

The retrievers shouldn't be in the llm folder, they should be one level higher in src/retrievers

Thank you very much for your feedback @parhammmm
I just moved it according to your comment and pushed my changes.

Copy link
Member

@himself65 himself65 left a comment

Choose a reason for hiding this comment

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

we have 25k+ deletion on pnpm lock, please check that

@ajohn-wick
Copy link
Author

we have 25k+ deletion on pnpm lock, please check that

Done, it was a mistake from my end @himself65

type SearchType,
} from "@aws-sdk/client-bedrock-agent-runtime";

import { BaseRetriever, Document } from "llamaindex";
Copy link
Member

@himself65 himself65 Sep 19, 2024

Choose a reason for hiding this comment

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

import Document from llamaindex/core/schema and copy BaseRetriever type here for now.

llamaindex is the to end user level pacakge and shouldn't be imported from our other pacakge, so please remove llamaindex from deps

remind me that we need move BaseRetriever into core module. If you are interested please follow python repo file structure and my other PR in this repo. Or I will do it tmr

Copy link
Author

@ajohn-wick ajohn-wick Sep 20, 2024

Choose a reason for hiding this comment

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

Thank you a lot for your review, please proceed with moving BaseRetriever into core module. Then, I will update code to import it if you are OKay @himself65?
Otherwise, I will copy BaseRetriever type here.

Copy link
Member

Choose a reason for hiding this comment

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

too late to me, will do tmr

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.

3 participants