This is an automated email from the ASF dual-hosted git repository.
LinkinStars pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/answer.git
from 71d11b62 fix: resolve local plugin paths to absolute and enhance
module replacement logic
new dea18f99 feat: support semantic search in AI chat and embedding ability
new dc71f4a2 fix lint issue
new f346bcc8 update init tables
new 22c2a5c2 feat: implement vector search plugin and syncer for
question/answer embeddings
new 8dd55af6 fix lint
new 7d0714dd fix lint
new 5d923f8c feat: add vector sync service and integrate with answer and
question services
new 057679a2 refactor: remove unused build-local-vector-plugins target and
delete VECTOR_SEARCH_DESIGN.md
new ac7bdda0 fix lint
new 2836d0ea chore: add Apache License header to multiple files
new 278fdfd8 refactor: rename UpdateSearch to updateSearch for consistency
new c93f3bc5 refactor: simplify SaveSiteAI method by removing unnecessary
error handling
new e3831b6f refactor: streamline plugin initialization by removing
redundant search syncer registration
The 13 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
cmd/wire_gen.go | 14 +-
internal/base/constant/ai_config.go | 2 +
internal/controller/ai_controller.go | 7 +
internal/controller/mcp_controller.go | 133 ++++++++++++
internal/repo/vector_search_sync/syncer.go | 240 +++++++++++++++++++++
internal/schema/mcp_schema.go | 62 +++++-
internal/schema/mcp_tools/mcp_tools.go | 15 ++
internal/service/comment/comment_service.go | 32 +++
internal/service/content/answer_service.go | 29 +++
internal/service/content/question_service.go | 16 ++
internal/service/embedding/embedding_service.go | 60 ++++++
.../service/plugin_common/plugin_common_service.go | 13 ++
internal/service/provider.go | 4 +
internal/service/review/review_service.go | 17 ++
internal/service/vector_sync/vector_sync.go | 115 ++++++++++
plugin/plugin.go | 4 +
plugin/vector_search.go | 174 +++++++++++++++
17 files changed, 923 insertions(+), 14 deletions(-)
create mode 100644 internal/repo/vector_search_sync/syncer.go
create mode 100644 internal/service/embedding/embedding_service.go
create mode 100644 internal/service/vector_sync/vector_sync.go
create mode 100644 plugin/vector_search.go