Commit Graph

644 Commits

Author SHA1 Message Date
autobee-sparticle
85519da5a5
fix(memory): 改进 Memory 提取 prompt 使用大白话 (#20)
将 fact extraction prompt 中的技术性格式改为自然语言:
- "Contact: [name] (relationship, referred as [nick])" → "[name] is a [relationship], also called [nick]"
- 移除 "DEFAULT when user says" 等技术标记
- 添加 Plain Language Rule 明确要求输出通俗易懂的文本
- 更新所有示例为自然语言风格

Co-authored-by: zhuchao <zhuchaowe@163.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-26 10:14:13 +09:00
朱潮
b33acf9da0 Merge branch 'master' into prod 2026-03-25 23:59:04 +08:00
朱潮
ee65d208a8 Merge branch 'prod' into staging 2026-03-24 10:54:59 +08:00
朱潮
2d82d7c8b6 merge from developing 2026-03-24 10:54:54 +08:00
朱潮
c4cf8c0ee9 add weather mcp 2026-03-24 00:40:19 +08:00
朱潮
aeb1e27be6 baidu search 2026-03-24 00:19:12 +08:00
朱潮
2dbe16cfb9 Merge branch 'developing' into bot_manager 2026-03-24 00:12:58 +08:00
朱潮
e13405ba29 shell_env support 2026-03-24 00:12:19 +08:00
朱潮
2a955b138e 百度搜索 2026-03-24 00:10:14 +08:00
朱潮
9e9cb9ba77 添加百度搜索 2026-03-23 21:31:20 +08:00
朱潮
35a3683439 增加16khz 2026-03-23 17:32:07 +08:00
朱潮
30dc697071 realtime接口支持16khz输出 2026-03-23 10:37:17 +08:00
朱潮
2d2e1dbcdf vad 2026-03-22 00:52:11 +08:00
朱潮
7a547322e3 语义分割 2026-03-22 00:42:57 +08:00
朱潮
f9e9c3c26d 默认音色 2026-03-21 23:56:58 +08:00
朱潮
d68a87dba8 支持语音合成和语音识别api 2026-03-21 23:51:02 +08:00
朱潮
99273a91d3 支持语音合成和语音识别api 2026-03-21 23:50:51 +08:00
朱潮
ace37fbec2 添加百度搜索 2026-03-21 18:40:01 +08:00
朱潮
43a77b3015 语音播放优化 2026-03-21 17:24:42 +08:00
朱潮
3ee80a637e 语音优化 2026-03-21 16:52:54 +08:00
朱潮
ba65c44755 语音 2026-03-21 02:44:56 +08:00
朱潮
4b70da5bb0 语音 2026-03-21 02:41:10 +08:00
朱潮
16c50fa261 语音 2026-03-21 02:16:21 +08:00
朱潮
4fbc7e8667 已经实现基本对话 2026-03-21 01:00:02 +08:00
朱潮
a3f944450f 添加了从 os.environ 读取空值环境变量的逻辑 2026-03-20 19:01:50 +08:00
autobee-sparticle
e987cb6f6b
fix(novare): 添加位置粒度降级搜索策略,解决详细位置指定时设备匹配失败问题 (#18)
当用户指定过于详细的位置信息(如"3階執務スペース、フォーラム側窓側")时,
find_device_by_area 可能无法匹配到设备区域。新增降级搜索策略:
- 第1步:去除方位修饰语,保留核心区域名重新搜索
- 第2步:进一步简化到楼层级别搜索
- 降级成功时告知用户搜索范围变化并确认

Closes #2201 (mygpt-frontend)

Co-authored-by: zhuchao <zhuchaowe@163.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 15:47:48 +09:00
朱潮
3c01f9c245 soffice sharp 支持 2026-03-18 23:55:14 +08:00
朱潮
29da20fa22 soffice sharp 支持 2026-03-18 23:54:41 +08:00
朱潮
e713a0a903 Merge branch 'prod' into onprem 2026-03-18 15:40:52 +08:00
朱潮
f9839b9bc4 Merge branch 'prod' into onprem-release 2026-03-18 15:40:50 +08:00
朱潮
2adc8fc5e3 Merge branch 'prod' into dev
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 15:40:43 +08:00
朱潮
eda54757e6 Merge branch 'prod' into master
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-18 15:40:23 +08:00
朱潮
4b3cab0cc7 Merge branch 'prod' into onprem-dev 2026-03-18 15:38:08 +08:00
shuirong
822589eab6 ci: 重新调整CI 2026-03-18 16:16:53 +09:00
朱潮
2ad2c130ac add ppt-outline 2026-03-18 15:06:58 +08:00
朱潮
c5c7dea6e6 Merge branch 'developing' into bot_manager 2026-03-17 22:26:00 +08:00
朱潮
709a967537 Merge branch 'developing' 2026-03-17 22:06:23 +08:00
朱潮
0c985607b5 Merge branch 'master' of https://github.com/sparticleinc/catalog-agent 2026-03-17 22:04:50 +08:00
朱潮
cc99ba67ac merge 2026-03-17 22:04:30 +08:00
朱潮
e2e0a7d985 跨语言场景 - 即使用户用其他语言提问,也必须用指定语言回复 2026-03-17 22:03:23 +08:00
朱潮
137766440e add z-card-image 2026-03-17 21:55:10 +08:00
朱潮
d10843ad47 Merge branch 'master' into bot_manager 2026-03-17 14:48:56 +08:00
朱潮
380764d5ed add chromium 2026-03-17 14:48:50 +08:00
朱潮
c050916f8d Merge branch 'master' into bot_manager 2026-03-17 14:27:32 +08:00
朱潮
95e34ed172 add chromium 2026-03-17 14:27:16 +08:00
朱潮
7117fccb7a 自修改w 2026-03-17 13:43:26 +08:00
朱潮
09c4d5e804 master问题修复 2026-03-17 12:17:46 +08:00
朱潮
36f2a5b87a 支持master key 2026-03-17 11:18:15 +08:00
autobee-sparticle
a161e43421
feat: add POST /api/v1/memory endpoint for realtime conversation memory (#17)
* feat: add POST /api/v1/memory endpoint for realtime conversation memory

Add memory extraction API that accepts conversation messages and
stores them via Mem0. This enables realtime voice sessions to save
memories through the same pipeline as chat conversations.

Fixes: sparticleinc/mygpt-frontend#2126

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address code review findings for memory API

- Use Literal["user","assistant"] for role field validation
- Add Field constraints (min_length, max_length=200)
- Track and report pairs_failed in response
- Hide internal exception details from HTTP response
- Remove unused authorization parameter (internal API)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: zhuchao <zhuchaowe@163.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 11:14:02 +09:00
朱潮
a05da928f0 update shell_env 2026-03-17 10:09:48 +08:00