Saifeddine ALOUI
70425b0357
fixed linting
2025-01-20 00:26:28 +01:00
Saifeddine ALOUI
2dfbbec407
Started a dummy OpenWebUI tool. I will upload the working version in the next pull request
2025-01-19 23:25:26 +01:00
Saifeddine ALOUI
9cae05e1ff
Fixed a bug introduced by a modification by someone else in azure_openai_complete (please make sure you test before commiting code)
...
Added api_key to lollms, ollama, openai for both llm and embedding bindings allowing to use api key protected services.
2025-01-19 23:24:37 +01:00
Saifeddine ALOUI
34c051b0b9
Merge branch 'HKUDS:main' into main
2025-01-19 10:40:21 +01:00
yangdx
347843d545
Use LLM_MODEL env var in Azure OpenAI function
...
- Remove model parameter from azure_openai_complete (all LLM complete functions must have the same parameter structure)
- Use LLM_MODEL env var in Azure OpenAI function
- Comment out Lollms example in .env.example (duplication with Ollama example)
2025-01-19 14:04:03 +08:00
yangdx
b50fdeccaa
Merge branch 'main' into ollama-emulation
2025-01-19 13:32:07 +08:00
yangdx
b008c586ea
Refactor service and script paths for LightRAG.
...
- Renamed service file to `lightrag-server.service.example`
- Updated `ExecStart` path in service file
- Corrected README.md service file reference
- Moved `start_lightrag.sh.example` to root
- No functionality is changed
2025-01-19 13:28:29 +08:00
zrguo
476e31f1e5
Merge pull request #600 from danielaskdd/ollama-emulation
...
Migrate Ollama emulation features from lightrag_ollama to lightrag_server
2025-01-19 12:58:36 +08:00
zrguo
0a9089ff74
Merge pull request #597 from nickjfrench/fix-hardcoded-model
...
Fixes #596 - Hardcoded model deployment name in azure_openai_complete
2025-01-19 12:56:43 +08:00
yangdx
ef73ed4291
Install Lightrag as a Linux Service (sample files and installation guide)
2025-01-19 12:53:13 +08:00
yangdx
a7b37652cf
Add document scan API notes in API README.md
2025-01-19 12:24:46 +08:00
yangdx
3a227701b2
pre-commit run --all-files
2025-01-19 10:44:46 +08:00
yangdx
fb9a645f5e
Update README with Ollama API and Open WebUI details
...
- Add section on query mode selection
- Separate Ollama API and Open WebUI details
- Clarify query prefix usage
2025-01-19 10:38:01 +08:00
yangdx
a78be2ab17
pre-commit run --all-files
2025-01-19 08:07:26 +08:00
yangdx
ea88981146
Update README.md for LightRAG Server
2025-01-19 06:45:32 +08:00
yangdx
853a9d2064
Updated API version to 1.0.3
...
- Bumped API version to 1.0.3
- Fixed version reference in server code
2025-01-19 06:06:17 +08:00
yangdx
387be31f09
Refactor embedding function initialization and remove start-server.sh
...
- Simplified RAG initialization logic by deduplicating embedding function
- Removed start-server.sh script which is not needed
- No functional changes to the application
2025-01-19 05:19:02 +08:00
yangdx
8ea179a98b
Migrate Ollama API to lightrag_server.py
2025-01-19 04:44:30 +08:00
Nick French
df69d386c5
Fixes #596 - Hardcoded model deployment name in azure_openai_complete
...
Fixes #596
Update `azure_openai_complete` function to accept a model parameter with a default value of 'gpt-4o-mini'.
* Modify the function signature of `azure_openai_complete` to include a `model` parameter with a default value of 'gpt-4o-mini'.
* Pass the `model` parameter to the `azure_openai_complete_if_cache` function instead of the hardcoded model name 'conversation-4o-mini'.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/HKUDS/LightRAG/issues/596?shareId=XXXX-XXXX-XXXX-XXXX ).
2025-01-17 12:10:26 -05:00
yangdx
11f32555b1
Merge branch 'main' into linux-service
2025-01-17 19:58:33 +08:00
Saifeddine ALOUI
c6774390fd
Update .env.example
2025-01-17 11:44:46 +01:00
Saifeddine ALOUI
35f04b51e6
Update lightrag_server.py
2025-01-17 11:18:45 +01:00
zrguo
28a84b2aa2
Merge pull request #592 from danielaskdd/yangdx
...
Add Ollama compatible API server
2025-01-17 14:29:31 +08:00
yangdx
fde0aa32c7
pre-commit run --all-files
2025-01-17 14:28:24 +08:00
yangdx
a561879040
Translate comments to English
2025-01-17 14:27:27 +08:00
yangdx
fa9765ecd9
pre-commit run --all-files
2025-01-17 14:20:55 +08:00
yangdx
48f70ff8b4
Translate unit test comment and promts to English
2025-01-17 14:07:17 +08:00
yangdx
939e399dd4
Translate comment to English
2025-01-17 13:36:31 +08:00
zrguo
7e4ba8d14d
Merge pull request #591 from luohuanhuan2019/main
...
add readme_zh
2025-01-17 12:07:27 +08:00
zrguo
a93bd681b9
Merge pull request #593 from ParisNeo/main
...
Major Updates: Docker Support, Enhanced Configuration, and Documentation Restructuring #554
2025-01-17 12:06:59 +08:00
yangdx
3138ae7599
添加对 mix 查询模式的支持
2025-01-17 11:04:36 +08:00
Saifeddine ALOUI
6813742a86
fixed some linting issues
2025-01-17 02:34:29 +01:00
Saifeddine ALOUI
5bb9d9f0c0
Removed unnecessary files from docker
2025-01-17 02:31:23 +01:00
Saifeddine ALOUI
58f1058198
added some explanation to document
2025-01-17 02:03:02 +01:00
Saifeddine ALOUI
52ca5ea6aa
removed repeated dependency
2025-01-17 01:37:12 +01:00
Saifeddine ALOUI
5fe28d31e9
Fixed linting
2025-01-17 01:36:16 +01:00
Saifeddine ALOUI
c91b57196d
Fixed docker access to ollama and lollms
2025-01-17 01:18:28 +01:00
Saifeddine ALOUI
84f7f15046
Added optional Azure configuration
2025-01-17 00:54:24 +01:00
Saifeddine ALOUI
65a44a4644
Added api version and Configuration details at startup as well as more useful information
2025-01-17 00:53:49 +01:00
Saifeddine ALOUI
b8c0631e99
Enhanced documentation
2025-01-17 00:49:17 +01:00
Saifeddine ALOUI
c5e027aa9a
Added documentation about used environment variables
2025-01-17 00:42:22 +01:00
Saifeddine ALOUI
d8309c81d5
Fixed typing error
2025-01-16 23:22:57 +01:00
Saifeddine ALOUI
ea566d815d
Added environment variables control of all lightrag server parameters preparing for the usage in docker
2025-01-16 23:21:50 +01:00
Saifeddine ALOUI
b2e7c75f5a
Added Docker container setup
2025-01-16 22:28:28 +01:00
Saifeddine ALOUI
cbd02bbbab
Added link to documentation from main README.md
2025-01-16 22:16:34 +01:00
Saifeddine ALOUI
2c3ff234e9
Moving extended api documentation to new doc folder
2025-01-16 22:14:16 +01:00
yangdx
847963d19a
修复 /query 和 /query/stream 端点处理stream模式是的错误
2025-01-17 03:35:03 +08:00
yangdx
34d6b85adb
修复清理查询前缀时未能正确清理空格的问题
2025-01-17 01:50:07 +08:00
luohuanhuan2019
98f5d7c596
Prompt words to keep the pronunciation consistent
2025-01-16 21:50:43 +08:00
luohuanhuan2019
36c7abf358
Remove garbled characters from system prompt words
2025-01-16 21:35:37 +08:00