-
Notifications
You must be signed in to change notification settings - Fork 141
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
[RFC] Knowledge base in OpenSearch #2832
Comments
Let us have option 1 as the default option. |
Can you explain this with more details. May be add example as well so that reader can understand what is the current problem?
What do you mean by weird here? It not a good CX experience or anti design patter or what?
Why painless script only concerns for option 1? |
Why can't use ConnectorTool? |
Option 1 can also be done by ConnectorTool. In this case, let's consider it the same as the ML MODEL tool |
There are many parameters to be specified within the API config for Retrieve and RetrieveAndGenerate. We cannot assume that the user will only use some of the parameters. It is tiresome or a bit annoying to configure them at Besides, the user may wish to use configure the |
The customer may ask: Since we have RAG Tool, why must I use bedrock RAG service with ML Model tool or Connector tool? Connector tool to some extent makes sense but ML Model tool does not. |
Java is compiled and executed, but painless script is interpreted. It is a bit better to use JAVA. |
Problem statement
Users in ml-commons can use RAG (Retrieval Augmented Generation) service either from an OpenSearch index or a bedrock knowledge base. The RAG service mainly consists of two steps. First, retrieve documents from the knowledge base. Second, generate answer given retrieved documents.
Despite that, both OpenSearch index and bedrock knowledge base is accessible. The configuration steps are quite different. The only method to support bedrock knowledge base is ML Model tool. It is not straightforward for users to configure their bedrock RAG service because they are required to configure some specialized functions or parameters in connector. We are considering how to provide users with a more convenient method to configure the knowledge base workflow. It would be better if user could have a unified experience to use different knowledge bases.
In the scope
Out of the scope
Options
This RFC lists a few options along with their pros and cons. We expect to solicit feedbacks on or other potential better options.
Option 1
Instruct users to use bedrock knowledge base service via MLModel Tool or Connector Tool.
Pros
Cons
Option 2
Integrate bedrock knowledge base into RAGTool.
Pros
Cons
Option 3
Implement a new tool like RemoteRAG Tool (feel free to tell me if you can think of any better name.
Pros
Cons
The text was updated successfully, but these errors were encountered: