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 |
|
Zhenyu Pan
|
24aedf35f2
|
[hotfix-#163] Fix asynchronous problem
|
2024-10-29 23:29:47 +08:00 |
|
Andrii Lazarchuk
|
84b60e4aa6
|
Fix lint issue
|
2024-10-28 17:05:38 +02:00 |
|
Andrii Lazarchuk
|
0e71a906af
|
Merge branch 'main' into before-sync-28-10-2024
|
2024-10-28 15:54:43 +02:00 |
|
zrguo
|
458b5e1537
|
Merge pull request #143 from thinkthinking/main
[feat] Add API server implementation and endpoints
|
2024-10-28 09:54:02 +08:00 |
|
tackhwa
|
2e703296d5
|
pre-commit
|
2024-10-26 16:13:18 +08:00 |
|
tackhwa
|
8deb30aa20
|
support lmdeploy backend
|
2024-10-26 16:11:15 +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 |
|
zrguo
|
e07b9f0530
|
Update graph_visual_with_html.py
|
2024-10-26 14:04:11 +08:00 |
|
Sanketh Kumar
|
a157e8e0a2
|
Manually reformatted files
|
2024-10-25 13:32:25 +05:30 |
|
Zhenyu Pan
|
bd160013fc
|
[hotfix-#75][embedding] Fix the potential embedding problem
|
2024-10-24 00:58:52 +08:00 |
|
tackhwa
|
dfec83de1d
|
fix hf bug
|
2024-10-23 15:02:28 +08:00 |
|
tpoisonooo
|
ed59b1e143
|
Update lightrag_siliconcloud_demo.py
|
2024-10-23 11:24:52 +08:00 |
|
zrguo
|
23971502fe
|
Merge pull request #96 from tpoisonooo/support-siliconcloud
feat(examples): support siliconcloud free API
|
2024-10-23 11:02:42 +08:00 |
|
Andrii Lazarchuk
|
1d24eaf656
|
Finetune example to be able to run ollama example without need to tweak context size in Modelfile
|
2024-10-22 14:35:42 +00:00 |
|
zhangjiawei
|
a097b48170
|
set encoding as utf-8 when reading ./book.txt in examples
|
2024-10-22 16:01:40 +08:00 |
|
tpoisonooo
|
1ef973c7fc
|
feat(examples): support siliconcloud free API
|
2024-10-22 15:16:57 +08:00 |
|
Andrii Lazarchuk
|
e54d0536c4
|
Small fix on demo
|
2024-10-21 13:53:28 +00:00 |
|
Andrii Lazarchuk
|
392bf05be1
|
Merge remote-tracking branch 'origin/main' into fix-ollama-integration
|
2024-10-21 12:00:37 +00:00 |
|
Andrii Lazarchuk
|
25a2dd41c1
|
Add ability to passadditional parameters to ollama library like host and timeout
|
2024-10-21 11:55:46 +00:00 |
|
Andrii Lazarchuk
|
108fc4a1ee
|
Add ability to passadditional parameters to ollama library like host and timeout
|
2024-10-21 11:53:06 +00:00 |
|
LarFii
|
bcd81e3a50
|
Add visualization methods
|
2024-10-20 23:08:26 +08:00 |
|
nongbin
|
1b45fe26c7
|
make graph visualization become colorful
|
2024-10-20 21:17:09 +08:00 |
|
zrguo
|
27f7114f86
|
Merge pull request #62 from BinNong/main
Graph Visualization
|
2024-10-20 18:16:00 +08:00 |
|
zrguo
|
004c870d50
|
Add vram_management_demo.py
|
2024-10-20 18:08:49 +08:00 |
|
hanbin49
|
2432fea90d
|
'update'
|
2024-10-20 11:27:47 +08:00 |
|
nongbin
|
6206e0e340
|
add visualizing graph
|
2024-10-20 09:55:52 +08:00 |
|
Sanketh Kumar
|
32464fab4e
|
chore: added pre-commit-hooks and ruff formatting for commit-hooks
|
2024-10-19 09:43:17 +05:30 |
|
João Galego
|
37d713a5c8
|
Fixed retry strategy, message history and inference params; Cleaned up Bedrock example
|
2024-10-18 16:50:02 +01:00 |
|
João Galego
|
1fc55b18d5
|
Added support for Amazon Bedrock models
|
2024-10-18 14:17:14 +01:00 |
|
zrguo
|
8e0877f4b0
|
Create lightrag_azure_openai_demo.py
|
2024-10-18 15:32:58 +08:00 |
|
LarFii
|
92c11179fe
|
ollama test
|
2024-10-16 15:15:10 +08:00 |
|
Sung Kim
|
eeded24b42
|
Added OpenAI compatible options and examples
|
2024-10-15 12:55:05 -07:00 |
|
LarFii
|
e34922d292
|
fix bug
|
2024-10-15 21:21:57 +08:00 |
|
LarFii
|
cc4af0d75f
|
fix bug
|
2024-10-15 21:11:12 +08:00 |
|
LarFii
|
1e78068268
|
Add huggingface model support
|
2024-10-15 19:40:08 +08:00 |
|
Larfii
|
c18697305e
|
update
|
2024-10-08 14:39:05 +08:00 |
|
Larfii
|
44463503fd
|
update
|
2024-10-08 10:38:50 +08:00 |
|
Larfii
|
286e5319b9
|
update
|
2024-10-07 18:55:43 +08:00 |
|
Larfii
|
fba232487b
|
update
|
2024-10-07 18:48:45 +08:00 |
|