LightRAG/examples
90houlaoheshang 5099a2e763 refactor(lightrag): 优化文件上传接口
- 移除 InsertFileRequest 模型,改用 FastAPI 的 File 和 UploadFile
- 修改 insert_file 函数,以适应新的文件上传方式
- 更新函数参数和逻辑,支持直接上传文件
- 优化错误处理和响应消息
2024-11-05 17:22:04 +08:00
..
batch_eval.py chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
generate_query.py chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
graph_visual_with_html.py Update graph_visual_with_html.py 2024-10-26 14:04:11 +08:00
graph_visual_with_neo4j.py Manually reformatted files 2024-10-25 13:32:25 +05:30
lightrag_api_openai_compatible_demo.py refactor(lightrag): 优化文件上传接口 2024-11-05 17:22:04 +08:00
lightrag_azure_openai_demo.py chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
lightrag_bedrock_demo.py chore: added pre-commit-hooks and ruff formatting for commit-hooks 2024-10-19 09:43:17 +05:30
lightrag_hf_demo.py set encoding as utf-8 when reading ./book.txt in examples 2024-10-22 16:01:40 +08:00
lightrag_lmdeploy_demo.py pre-commit 2024-10-26 16:13:18 +08:00
lightrag_ollama_demo.py Fix lint issue 2024-10-28 17:05:38 +02:00
lightrag_openai_compatible_demo.py [hotfix-#163] Fix asynchronous problem 2024-10-29 23:29:47 +08:00
lightrag_openai_demo.py set encoding as utf-8 when reading ./book.txt in examples 2024-10-22 16:01:40 +08:00
lightrag_siliconcloud_demo.py Manually reformatted files 2024-10-25 13:32:25 +05:30
vram_management_demo.py Manually reformatted files 2024-10-25 13:32:25 +05:30