Saifeddine ALOUI
|
34018cb1e0
|
Separated llms from the main llm.py file and fixed some deprication bugs
|
2025-01-25 00:11:00 +01:00 |
|
Larfii
|
e99832cc13
|
Fix: unexpected keyword argument error.
|
2024-12-05 14:11:43 +08:00 |
|
LarFii
|
d0c1844264
|
Linting
|
2024-11-11 10:45:22 +08:00 |
|
90houlaoheshang
|
846937195e
|
集中处理环境变量
|
2024-11-06 11:13:37 +08:00 |
|
90houlaoheshang
|
deca6305a9
|
feat(lightrag): 添加环境变量控制嵌入层最大 token 数量
- 在 lightrag_api_openai_compatible_demo.py 中,使用环境变量 EMBEDDING_MAX_TOKEN_SIZE 来设置嵌入层的最大 token 数量,默认值为 8192
|
2024-11-06 10:48:59 +08:00 |
|
90houlaoheshang
|
a140f744a3
|
refactor(lightrag): 优化文件上传接口
- 移除 InsertFileRequest 模型,改用 FastAPI 的 File 和 UploadFile
- 修改 insert_file 函数,以适应新的文件上传方式
- 更新函数参数和逻辑,支持直接上传文件
- 优化错误处理和响应消息
|
2024-11-05 17:22:04 +08:00 |
|
90houlaoheshang
|
3cc448fc26
|
API中可以通过POST参数控制查询是否only_need_context
|
2024-11-05 16:44:32 +08:00 |
|
90houlaoheshang
|
9bab630059
|
fastapi接收环境变量EMBEDDING_MODEL、LLM_MODEL、OPENAI_API_KEY、OPENAI_BASE_URL以自定模型
|
2024-11-05 15:13:48 +08:00 |
|
zhenjie.ye
|
981be9e569
|
Refactor code formatting in lightrag_api_openai_compatible_demo.py
|
2024-10-26 16:09:36 +08:00 |
|
zhenjie.ye
|
3d7b05b3e7
|
Refactor code formatting in lightrag_api_openai_compatible_demo.py
|
2024-10-26 16:00:30 +08:00 |
|
zhenjie.ye
|
dba7dad6df
|
[feat] Add API server implementation and endpoints
|
2024-10-26 15:56:48 +08:00 |
|