86 Commits

Author SHA1 Message Date
hgaol 8dd55af6cd fix lint 2026-05-08 19:57:19 +08:00
hgaol 22c2a5c276 feat: implement vector search plugin and syncer for question/answer embeddings
- Added a new vector search syncer to aggregate questions and answers with comments for vector embedding.
- Introduced a new VectorSearch interface and related structures for managing vector storage and similarity search.
- Refactored embedding service to delegate semantic search to the new vector search plugin.
- Removed embedding-related fields from SiteAIProvider and UI forms as part of the transition to the new vector search architecture.
- Updated plugin registration to include vector search capabilities.
- Cleaned up embedding service methods and removed unused dependencies.
2026-05-08 19:57:19 +08:00
LinkinStars e5cb38bd74 chore: add license files and update Go version to 1.24.0 2026-01-28 17:30:31 +08:00
liruohrh 740ac61bb2 fix: get right lang 2025-12-08 20:06:18 +08:00
ferhat elmas 670aa32325 refactor(lint): add new linters and fix their issues
* gocritic
* misspell
* modernize (aside, bumping go would be nice)
* testifylint
* unconvert
* unparam
* whitespace

related to #1432

Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
2025-12-05 10:45:55 +08:00
LinkinStars 5e705a124b refactor(lint): improve error handling and code consistency across multiple files 2025-12-01 12:27:25 +08:00
kumfo a6d95ae8f9 feat: add sidebar plugin 2025-08-13 14:44:25 +08:00
Sonui 4175b06039 perf(tests): replace panic with os.Exit in TestMain for graceful test termination 2025-05-28 10:13:32 +08:00
Sonui 6df436c718 feat(tests): add comprehensive tests for KV storage plugin 2025-05-28 10:13:32 +08:00
Sonui d866ca71e1 fix(plugin): set params.Value in Get method to ensure correct value retrieval 2025-05-09 11:50:27 +08:00
Sonui beac023875 docs(plugin): Add comments to KVOperator methods to improve code readability 2025-05-09 11:50:27 +08:00
Sonui 56f36ec5e6 refactor(plugin): improve KV storage with better caching and param handling 2025-05-09 11:50:27 +08:00
Sonui 42d6ad6111 fix(plugin): rename 'close' to avoid builtin collision 2025-05-09 11:50:27 +08:00
Sonui 9f8cab5626 perf(plugin): remove unnecessary KV storage checks 2025-05-09 11:50:27 +08:00
Sonui 42cc06886a refactor(plugin): improved initialization of the KV storage plugin 2025-05-09 11:50:27 +08:00
Sonui 20d7e4bc10 feat(plugin): add key-value storage support for plugins 2025-05-09 11:50:27 +08:00
LinkinStars 0618947350 refactor(name): rename incubator-answer 2025-01-07 10:39:23 +08:00
LinkinStars 43a474b417 feat(storage): add upload file condition to plugin upload 2024-12-09 11:52:18 +08:00
LinkinStars a955ba0658 feat(upload): add support for file attachments and enhance image upload 2024-12-09 11:52:18 +08:00
LinkinStars 23cc755aa8 feat(question): add question linking feature for closing question 2024-10-18 15:55:31 +08:00
Anan 73c7a22900 Fix importer 2024-10-16 11:28:26 +08:00
Anan 5aad9e95b5 Add importer service 2024-10-16 11:28:26 +08:00
Anan 4c9e37fa6e Add importer plugin type 2024-10-16 11:28:26 +08:00
sy-records 0db889af38 fix: fix typo in plugin 2024-10-08 10:15:32 +08:00
robin 1af1f77a60 feat: Add RenderController to handle rendering configuration 2024-08-23 11:39:16 +08:00
kumfo 1d9f88f803 fix(embed): embed plugin type definition 2024-08-19 16:15:21 +08:00
Sonui 5e5551a16f perf: remove invalid nil pointer check in Translate function 2024-08-16 11:16:59 +08:00
kumfo 190d160dce fix(cdn): allow only 2024-07-22 15:56:24 +08:00
kumfo db540ac62b feat(cdn-plugin): add cdn plugin 2024-07-10 15:14:40 +08:00
LinkinStars 5dc79e665c chore(asf): add asf header 2024-06-17 18:57:26 +08:00
kumfo f972a23dd8 feat(plugin/embed): merge from dev and add embed plugin 2024-05-23 15:57:10 +08:00
kumfo 61f2e672bc feat(embed): init embed 2024-05-21 10:55:16 +08:00
LinkinStars e53c7b3c8a docs(asf): add ASF header 2024-03-22 17:30:48 +08:00
LinkinStars abe0680641 Release/1.3.0 (#876)
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: Han Gao <dhangao@hotmail.com>
Co-authored-by: wzy <770954908@qq.com>
Co-authored-by: zahash <zahash.z@gmail.com>
Co-authored-by: Hosein Beigi <hbsciw@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: 而立 <cuihengqing@cai-inc.com>
Co-authored-by: foxzero-007 <chq2549603631@gmail.com>
Co-authored-by: easy <58644520+foxzero-007@users.noreply.github.com>
Co-authored-by: robin <robin@rnode.me>
Co-authored-by: Akhil <surapuramakhil@gmail.com>
Co-authored-by: Shaobiao Lin <whalevocal@gmail.com>
2024-03-22 17:25:46 +08:00
LinkinStars 937de43978 Release/1.2.5 (#759)
Signed-off-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: shuai <lishuailing@sifou.com>
Co-authored-by: kelvinkuo <kelvinkuo224@gmail.com>
Co-authored-by: hgaol <dhangao@hotmail.com>
Co-authored-by: sy-records <52o@qq52o.cn>
Co-authored-by: Adam Vollrath <adam.d.vollrath@gmail.com>
Co-authored-by: kumfo <kumfo@sifou.com>
Co-authored-by: Yang Wong <yang wang>
Co-authored-by: hbsciw <hbsciw@gmail.com>
2024-01-29 17:19:41 +08:00
LinkinStars a458f3409c rename all old answerdev/answer link to apache/incubator-answer (#603)
Co-authored-by: shuai <lishuailing@sifou.com>
2023-11-01 14:48:35 +08:00
tison 3d2187d849 chore: add license headers
Signed-off-by: tison <wander4096@gmail.com>
2023-10-26 11:11:23 +08:00
LinkinStars 545342db50 feat(search): add link for search desc 2023-09-27 16:43:44 +08:00
LinkinStars b2d5781633 feat(user): support upload webp image 2023-09-22 14:36:40 +08:00
LinkinStars ad6e282416 feat(upload): support upload gif image 2023-09-20 11:37:42 +08:00
LinkinStars 8a037f00db feat(cache): upgrade cache interface 2023-08-22 16:10:41 +08:00
LinkinStars 0d2c9cfd45 feat(search): convert answer and question to search content 2023-08-17 15:25:14 +08:00
LinkinStars a5f74a656f feat(search): Refactor pagination in search syncer 2023-08-17 12:03:35 +08:00
LinkinStars 119effb98f Merge branch 'feat/1.1.2/search' into feat/1.1.2/user
# Conflicts:
#	plugin/search.go
2023-08-17 11:37:05 +08:00
LinkinStars be5231671f feat(search): Add search sync function 2023-08-17 11:33:45 +08:00
LinkinStars 8aa58bc182 feat(search): add description for search 2023-08-09 10:56:22 +08:00
LinkinStars 3c4c91b2aa fix(upload): Use the correct upload type 2023-08-02 17:27:42 +08:00
LinkinStars bf50c8971c feat(plugin): update search condition 2023-07-26 16:35:33 +08:00
LinkinStars 5a03fef6ec feat(plugin): update search condition 2023-07-21 17:27:01 +08:00
LinkinStars 6f812a0a56 fix(search): fix search condition 2023-07-20 18:48:35 +08:00