33 Commits

Author SHA1 Message Date
yangdx
385661b10e Removed query mode parsing and related tests
- Removed query mode parsing logic
- Removed test_generate_query_modes
- Simplified generate endpoint
- Updated test cases list
- Cleaned up unused code
2025-01-24 19:25:45 +08:00
yangdx
2c8885792c Refactor /api/generate:use llm_model_func directly 2025-01-24 18:39:43 +08:00
yangdx
b94cae9990 draft implementation of /api/generate endpoint 2025-01-24 18:18:14 +08:00
Soichi Sumi
a3306c4633
add "azure_openai" in llm_binding and embedding_binding 2025-01-23 21:30:57 +09:00
yangdx
11b618d434 Fix parameters missing in app creation in case openai is selected 2025-01-23 01:15:48 +08:00
yangdx
8a05ff459f Add environment variable for Ollama model tag 2025-01-21 03:13:13 +08:00
yangdx
81a0a7cff0 fixed linting 2025-01-21 01:03:37 +08:00
yangdx
2e62cf1c66 Add document indexing during FastAPI startup, Fix docx package name in requirements
- Initialize DocumentManager earlier
- Add lifespan context manager
- Scan and index documents on startup
- Fix docx package name in requirements
2025-01-21 00:50:11 +08:00
yangdx
a76abf23f2 Updated OpenAI configuration and documentation.
- Added OpenAI alike example in .env.example
- Updated README for OpenAI alike server
- Modified API key handling in lightrag_server.py
2025-01-20 14:50:06 +08:00
Saifeddine ALOUI
70425b0357 fixed linting 2025-01-20 00:26:28 +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
a78be2ab17 pre-commit run --all-files 2025-01-19 08:07:26 +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
Saifeddine ALOUI
35f04b51e6
Update lightrag_server.py 2025-01-17 11:18:45 +01:00
Saifeddine ALOUI
6813742a86 fixed some linting issues 2025-01-17 02:34:29 +01:00
Saifeddine ALOUI
5fe28d31e9 Fixed linting 2025-01-17 01:36:16 +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
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
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
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
Saifeddine ALOUI
224fce9b1b run precommit to fix linting issues 2025-01-11 01:37:07 +01:00
Saifeddine ALOUI
e0e656ab01 Added ssl support 2025-01-11 01:35:49 +01:00
Saifeddine ALOUI
a619b01064 Next test of timeout 2025-01-10 22:17:13 +01:00
Saifeddine ALOUI
ab3cc3f0f4 fixed missing coma 2025-01-10 21:39:41 +01:00
Saifeddine ALOUI
adb288c5bb added timeout 2025-01-10 21:39:25 +01:00
Saifeddine ALOUI
2297007b7b Simplified the api services issue #565 2025-01-10 20:30:58 +01:00