ai_user
|
376603826b
|
fix keywords_extraction_examples format error
|
2024-12-27 03:12:55 +00:00 |
|
Magic_yuan
|
a09e1ba190
|
refactor(prompt): 优化提示模板以提高相似度评估的准确性- 明确了相似度评分的评判标准,包括不同情况下的评分依据
- 简化了评分流程,要求直接返回数字
- 期望通过这些改动提高评估的准确性和一致性
|
2024-12-11 12:57:58 +08:00 |
|
Magic_yuan
|
0a41cc8a9a
|
feat(llm, prompt):增加日志输出并扩展实体类型
- 在 llm.py 中添加了日志输出,用于调试和记录 LLM 查询输入
- 在 prompt.py 中增加了 "category" 实体类型,扩展了实体提取的范围
|
2024-12-11 12:45:10 +08:00 |
|
Magic_yuan
|
9724b59e19
|
提取关键词时LLM输出的关键词跟随用户提问的语言,可以避免一些指定英文而偶发的一些LLM输出的JSON不规范导致JSON解析失败的问题
|
2024-12-09 18:15:09 +08:00 |
|
Magic_yuan
|
ccf44dc334
|
feat(cache): 增加 LLM 相似性检查功能并优化缓存机制
- 在 embedding 缓存配置中添加 use_llm_check 参数
- 实现 LLM 相似性检查逻辑,作为缓存命中的二次验证- 优化 naive 模式的缓存处理流程
- 调整缓存数据结构,移除不必要的 model 字段
|
2024-12-08 17:35:52 +08:00 |
|
Yizhi Zhang
|
3a6645b78d
|
fix bug of example prompt
|
2024-12-03 22:25:50 +08:00 |
|
Sebastian Schramm
|
b0483ae91d
|
fix templating of language in prompts
|
2024-11-28 14:28:29 +01:00 |
|
jin
|
26ae240c65
|
Logic Optimization
|
2024-11-25 13:40:38 +08:00 |
|
jin
|
89c2de54a2
|
Optimization logic
|
2024-11-25 13:29:55 +08:00 |
|
jin
|
b1cf41d242
|
fix bug
|
2024-11-11 15:19:42 +08:00 |
|
jin
|
594470ab56
|
Oracle Database support
Add oracle 23ai database as the KV/vector/graph storage
|
2024-11-08 14:58:41 +08:00 |
|
zrguo
|
f9acf37398
|
Merge pull request #56 from sank8-2/dev
chore: added pre-commit-hooks and ruff formatting for commit-hooks
|
2024-10-19 20:44:11 +08:00 |
|
Sanketh Kumar
|
32464fab4e
|
chore: added pre-commit-hooks and ruff formatting for commit-hooks
|
2024-10-19 09:43:17 +05:30 |
|
zrguo
|
515b890aab
|
fix prompt.py
|
2024-10-19 11:46:03 +08:00 |
|
LarFii
|
3746eabf06
|
update
|
2024-10-10 15:02:30 +08:00 |
|
LarFii
|
130f7f391f
|
Revert "first commit"
|
2024-10-10 15:00:31 +08:00 |
|
LarFii
|
0c2640f4e2
|
update
|
2024-10-10 14:58:21 +08:00 |
|
LarFii
|
74c2f04146
|
Revert "first commit"
|
2024-10-10 14:57:32 +08:00 |
|
Larfii
|
25df09a8ac
|
first commit
|
2024-10-07 17:23:54 +08:00 |
|