-
Notifications
You must be signed in to change notification settings - Fork 165
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
feat: Add implementation and configuration classes for OpenSearch vector storage #240
base: main
Are you sure you want to change the base?
Conversation
- 新增 `OpenSearchVector.java` 文件,实现了 `VectorStore` 接口,用于与 Alibaba OpenSearch 进行交互。该类支持向量文档的添加、删除和相似度搜索功能。 - 新增 `OpenSearchConfig.java` 文件,定义了连接和配置 OpenSearch 所需的参数,包括实例 ID、endpoint、用户名和密码等配置项。 这些改动为项目引入了对 Alibaba OpenSearch 的支持,增强了系统的向量存储能力。
this.accessUserName = accessUserName; | ||
} | ||
|
||
public String getAccessPassWord() { // 新增 |
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.
注释用英语吧
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.
ok
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.
已删除中文注释,再Review下
/** | ||
* Represents the response body from a search operation. | ||
* | ||
* @author fuyou.lxm |
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.
方法上可以去掉,在类上加上作者注释
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.
这是record类型,实际是static class,并不是方法
Describe what this PR does / why we need it
Add implementation and configuration classes for OpenSearch vector storage
Does this pull request fix one issue?
yes,#230
Describe how you did it
Describe how to verify it
Special notes for reviews