Commit Graph

1259 Commits

Author SHA1 Message Date
yangdx
e978a15593 移除未使用的导入并简化类型注解 2025-01-15 22:39:41 +08:00
yangdx
f441a45453 完善测试用例 2025-01-15 22:15:46 +08:00
yangdx
ca2caf47bc 修改流式响应的输出格式:从event-stream改为x-ndjson 2025-01-15 22:14:57 +08:00
yangdx
6d44178f63 修复测试用例流结束判断 2025-01-15 21:26:20 +08:00
yangdx
af9ac188f0 增强聊天接口的调试和性能统计功能
- 添加原始请求日志记录
- 修改响应结构以包含性能统计
- 更新测试用例以展示性能数据
- 优化响应格式为字典结构
- 增加请求体解码功能
2025-01-15 21:15:12 +08:00
yangdx
8ef1248c76 将OllamaChatRequest的stream参数默认值改为True 2025-01-15 20:54:22 +08:00
yangdx
f81b1cdf0a 为Ollama API返回结果添加图像字段和性能统计信息
- 在OllamaMessage中添加images字段
- 响应消息中增加images字段
- 完成标记中添加性能统计信息
- 更新测试用例以处理性能统计
- 移除测试用例中的/naive前缀
2025-01-15 20:46:45 +08:00
yangdx
23f838ec94 优化流式响应处理并添加测试用例
- 修复流式响应中的完成标记逻辑
- 添加非流式调用测试
- 添加流式调用测试
- 优化JSON序列化,支持非ASCII字符
- 确保生成器在完成标记后立即结束
2025-01-15 20:18:17 +08:00
yangdx
f15f97a51d 临时保存 2025-01-15 19:32:03 +08:00
yangdx
828af49d6b 能够正确调用rag,rag执行完成后,无法返回内容 2025-01-15 18:47:01 +08:00
yangdx
4e5517a602 修复rag调用参数不正确问题 2025-01-15 18:27:35 +08:00
yangdx
882da88603 解决模型名称返回错误问题 2025-01-15 18:19:39 +08:00
yangdx
fd50c3a240 修改流处理逻辑,修改 /api/tags错误 2025-01-15 17:43:00 +08:00
yangdx
c1f4f4a20e 优化ollama返回数据的格式 2025-01-15 15:06:28 +08:00
yangdx
be134878fe 完成ollma接口的代码编写 2025-01-15 14:31:49 +08:00
yangdx
b97d1ecd72 修改文件名 2025-01-15 13:35:20 +08:00
yangdx
9bfba88600 准备增加ollama服务 2025-01-15 13:32:06 +08:00
yangdx
da91510363 修改server启动命令 2025-01-15 13:14:09 +08:00
✨Data Intelligence Lab@HKU✨
8f0196f6b9 Update README.md 2025-01-15 13:08:07 +08:00
Samuel Chan
2b7d253117 Merge remote-tracking branch 'origin/main' 2025-01-15 12:09:05 +08:00
Samuel Chan
d91a330e9d Enrich README.md for postgres usage, make some change to cater python version<12 2025-01-15 12:02:55 +08:00
zrguo
51792e3573 Merge pull request #587 from ParisNeo/main
Enhancement: Multi-format document support and dynamic dependency management #565
2025-01-15 11:12:29 +08:00
yangdx
1088e10fb2 修改lightrag_server的LLM和Embedding配置 2025-01-15 10:44:12 +08:00
Saifeddine ALOUI
29661c92da fixed linting 2025-01-14 23:11:23 +01:00
Saifeddine ALOUI
c3aba5423f Added more file types support 2025-01-14 23:08:39 +01:00
yangdx
4b32648eb5 去掉流式查询和输出 2025-01-15 02:25:01 +08:00
yangdx
33e211789e 删除 .DS_Store 文件 2025-01-15 01:35:28 +08:00
yangdx
b11c33d7a1 修复embedding模型纬度数错误 2025-01-15 01:25:49 +08:00
yangdx
294b0359e8 修改llm为deepseek-chat 2025-01-15 00:55:48 +08:00
Gurjot Singh
bc79f6650e Fix linting errors 2025-01-14 22:23:14 +05:30
Gurjot Singh
ef61ffe444 Add custom function with separate keyword extraction for user's query and a separate prompt 2025-01-14 22:10:47 +05:30
yangdx
0bfeb237e3 创建yangdx分支,并添加测试脚本 2025-01-14 23:04:41 +08:00
zrguo
61349b0fe7 Merge pull request #581 from jiabin2wang20230918/fix_mongo
Fix for mongoDB document 16MB limit and add os env NEO4J_MAX_CONNECTION_POOL_SIZE for neo4j
2025-01-13 18:38:22 +08:00
bingo
1984da0fd6 add logger.debug for mongo_impl get_by_mode_and_id() 2025-01-13 07:27:30 +00:00
bingo
f28b90b2b3 1. add os env NEO4J_MAX_CONNECTION_POOL_SIZE to for neo4j ;
2. fix https://github.com/HKUDS/LightRAG/issues/580 issue for mongoDB document 16MB limit.
2025-01-13 07:06:01 +00:00
zrguo
867475fd1f Update README.md 2025-01-13 10:28:19 +08:00
zrguo
057e23c4e9 Update __init__.py 2025-01-13 10:13:01 +08:00
zrguo
9f48124a69 Merge pull request #576 from ShanGor/main
Revise the AGE implementation on get_node_edges, to align with Neo4j behavior.
2025-01-13 09:29:01 +08:00
zrguo
94088dbfaa Merge pull request #575 from ParisNeo/main
Fix 500 error in LightRAG's API insert_text endpoint
2025-01-13 09:28:07 +08:00
zrguo
4b060305ce Merge pull request #572 from iridium-soda/main
fix: Resolve 500 error caused by missing `len()` for `LightRAG`
2025-01-13 09:27:37 +08:00
Samuel Chan
de6ddee312 Merge branch 'HKUDS:main' into main 2025-01-12 21:39:59 +08:00
Samuel Chan
c016934021 Revise the AGE implementation on get_node_edges, to align with Neo4j behavior. 2025-01-12 21:38:39 +08:00
Saifeddine ALOUI
7aaab219ee Fixed awaiting insert 2025-01-12 12:56:08 +01:00
Saifeddine ALOUI
5c67938467 Resolve 500 error caused by missing len() for LightRAG's API insert_text endpoint 2025-01-12 12:46:23 +01:00
zrguo
78d7b596bd Merge pull request #573 from ShanGor/main
Highlight the Apache AGE release version issue in the README.MD
2025-01-12 19:31:15 +08:00
iridium-soda
51f683d636 Merge remote-tracking branch 'upstream/main' 2025-01-12 09:45:31 +00:00
Samuel Chan
cfaffb17a3 Merge remote-tracking branch 'origin/main' 2025-01-12 17:08:18 +08:00
Samuel Chan
f3e0fb87f5 Add known issue of Apache AGE to the readme. 2025-01-12 17:01:31 +08:00
Samuel Chan
63a71c04fd Add known issue of Apache AGE to the readme. 2025-01-12 16:56:30 +08:00
zrguo
a2e96b67e9 Merge pull request #570 from ShanGor/main
Revise the AGE usage for postgres_impl
2025-01-12 13:23:06 +08:00