-
Notifications
You must be signed in to change notification settings - Fork 341
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
base: main
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
The retrievers shouldn't be in the llm folder, they should be one level higher in |
Thank you very much for your feedback @parhammmm |
There was a problem hiding this 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
Done, it was a mistake from my end @himself65 |
type SearchType, | ||
} from "@aws-sdk/client-bedrock-agent-runtime"; | ||
|
||
import { BaseRetriever, Document } from "llamaindex"; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
No description provided.