yangdx
484e441d0c
Optimize Postgres retry logic for HA switchover
...
- Increase default retries and backoff
- Raise connection retry parameter caps
- Update env example with HA defaults
- Extend frontend timeouts for updates
- Update integration test limits
2025-12-31 16:03:46 +08:00
yangdx
54f08cd768
Fix token renewal: exclude pipeline_status polling endpoint
...
- Add /documents/pipeline_status to TOKEN_RENEWAL_SKIP_PATHS
- Prevents continuous token renewal from 2-second polling
- Allows authenticated users to be logged out after inactivity
- Update env.example documentation with all polling intervals
2025-12-26 12:02:51 +08:00
yangdx
01aaded80c
Implement token auto-renewal and sliding window expiration mechanism
...
* Add backend token renewal logic
* Handle X-New-Token in frontend
* Add rate limiting and config options
* Implement silent refresh for guests
* Add unit tests for renewal logic
2025-12-26 11:31:48 +08:00
yangdx
0739ce2b80
Add Google Vertex AI support for Gemini LLM binding
...
- Add Vertex AI config to Gemini client
- Update env.example with Vertex AI vars
- Skip API key check in Vertex AI mode
- Support custom host/location config
2025-12-23 19:57:16 +08:00
palanisd
a898f0548d
Merge branch 'HKUDS:main' into cohere-rerank
2025-11-25 14:21:43 -05:00
yangdx
777c91794b
Add Langfuse observability configuration to env.example
...
- Add Langfuse environment variables
- Include setup instructions
- Support OpenAI compatible APIs
- Enable tracing configuration
- Add cloud/self-host options
2025-11-25 17:16:55 +08:00
netbrah
a05bbf105e
Add Cohere reranker config, chunking, and tests
2025-11-22 16:43:13 -05:00
yangdx
5f53de8866
Fix Azure configuration examples and correct typos in env.example
2025-11-22 09:05:52 +08:00
yangdx
fa6797f246
Update env.example
2025-11-22 00:32:12 +08:00
yangdx
49fb11e205
Update Azure OpenAI configuration examples
2025-11-22 00:19:23 +08:00
yangdx
dbae327a17
Merge branch 'main' into dev-postgres-vchordrq
2025-11-18 22:13:27 +08:00
wmsnp
d07023c962
feat(postgres_impl): add vchordrq vector index support and unify vector index creation logic
2025-11-18 11:45:16 +08:00
yangdx
926960e957
Refactor workspace handling to use default workspace and namespace locks
...
- Remove DB-specific workspace configs
- Add default workspace auto-setting
- Replace global locks with namespace locks
- Simplify pipeline status management
- Remove redundant graph DB locking
2025-11-17 12:54:33 +08:00
yangdx
acae404f04
Update env.example
...
• Comment out Ollama config
• Set OpenAI as active default
• Add EMBEDDING_TOKEN_LIMIT option
• Add Gemini embedding configuration
2025-11-17 12:54:33 +08:00
yangdx
72f68c2a61
Update env.example
2025-11-17 12:54:32 +08:00
yangdx
ff8f158891
Update env.example
2025-11-17 12:54:32 +08:00
yangdx
8722103550
Update env.example
...
• Comment out Ollama config
• Set OpenAI as active default
• Add EMBEDDING_TOKEN_LIMIT option
• Add Gemini embedding configuration
2025-11-15 01:25:56 +08:00
yangdx
343d30727a
Update env.example
2025-11-13 11:40:56 +08:00
yangdx
1ffb533812
Update env.example
2025-11-11 12:02:37 +08:00
yangdx
c14f25b7f8
Add mandatory dimension parameter handling for Jina API compliance
2025-11-07 21:08:34 +08:00
yangdx
d8a6355e41
Merge branch 'main' into apply-dim-to-embedding-call
2025-11-07 20:48:22 +08:00
yangdx
33a1482f7f
Add optional embedding dimension parameter control via env var
...
* Add EMBEDDING_SEND_DIM environment variable
* Update Jina/OpenAI embed functions
* Add send_dimensions to EmbeddingFunc
* Auto-inject embedding_dim when enabled
* Add parameter validation warnings
2025-11-07 20:46:40 +08:00
yangdx
fc40a36968
Add timeout support to Gemini LLM and improve parameter handling
...
• Add timeout parameter to Gemini client
• Convert timeout seconds to milliseconds
• Update function signatures consistently
• Add Gemini thinking config example
• Clean up parameter documentation
2025-11-07 15:50:14 +08:00
yangdx
5f49cee20f
Merge branch 'main' into VOXWAVE-FOUNDRY/main
2025-11-06 15:37:35 +08:00
yangdx
9c05706062
Add separate endpoint configuration for LLM and embeddings in evaluation
...
- Split LLM and embedding API configs
- Add fallback chain for API keys
- Update docs with usage examples
2025-11-05 18:54:38 +08:00
yangdx
c358f405a9
Update evaluation defaults and expand sample dataset
...
• Lower concurrent evals from 3 to 2
• Standardize project names in samples
• Add 3 new evaluation questions
• Expand ground truth detail coverage
• Improve dataset comprehensiveness
2025-11-04 22:17:17 +08:00
yangdx
d4b8a229b9
Update RAGAS evaluation to use gpt-4o-mini and improve compatibility
...
- Change default model to gpt-4o-mini
- Add deprecation warning suppression
- Update docs and comments for LightRAG
- Improve output formatting and timing
2025-11-04 18:50:53 +08:00
yangdx
7abc687742
Add comprehensive configuration and compatibility fixes for RAGAS
...
- Fix RAGAS LLM wrapper compatibility
- Add concurrency control for rate limits
- Add eval env vars for model config
- Improve error handling and logging
- Update documentation with examples
2025-11-04 14:39:27 +08:00
yangdx
72db042667
Update .env loading and add API authentication to RAG evaluator
...
• Load .env from current directory
• Support LIGHTRAG_API_KEY auth header
• Override=False for env precedence
• Add Bearer token to API requests
• Enable per-instance .env configs
2025-11-04 10:59:09 +08:00
yangdx
7b8223daad
Update env.example with host/endpoint clarifications for LLM/embedding
2025-11-03 04:02:40 +08:00
yangdx
61b57cbb5d
Add PDF decryption support for password-protected files
...
• Add PDF_DECRYPT_PASSWORD env variable
• Check encryption status before reading
• Handle decrypt errors gracefully
• Log detailed error messages
• Support both encrypted/plain PDFs
2025-11-01 15:01:17 +08:00
yangdx
6a29b5daa0
Update Docker deployment comments for LLM and embedding hosts
2025-10-23 13:53:26 +08:00
yangdx
c92ab8373a
Fix linting
2025-10-22 15:00:18 +08:00
yangdx
88a45523e2
Increase default max file paths from 30 to 100 and improve documentation
...
- Bump DEFAULT_MAX_FILE_PATHS to 100
- Add clarifying comment about display
2025-10-21 17:33:00 +08:00
yangdx
3ad616be4f
Change default source IDs limit method from KEEP to FIFO
2025-10-21 16:12:11 +08:00
yangdx
e0fd31a60d
Fix logging message formatting
2025-10-20 22:09:09 +08:00
yangdx
a9fec26798
Add file path limit configuration for entities and relations
...
• Add MAX_FILE_PATHS env variable
• Implement file path count limiting
• Support KEEP/FIFO strategies
• Add truncation placeholder
• Remove old build_file_path function
2025-10-20 20:12:53 +08:00
Humphry
0b3d31507e
extended to use gemini, sswitched to use gemini-flash-latest
2025-10-20 13:17:16 +03:00
yangdx
dc62c78f98
Add entity/relation chunk tracking with configurable source ID limits
...
- Add entity_chunks & relation_chunks storage
- Implement KEEP/FIFO limit strategies
- Update env.example with new settings
- Add migration for chunk tracking data
- Support all KV storage
2025-10-20 15:24:15 +08:00
yangdx
9f49e56a44
Merge branch 'main' into feat-entity-size-caps
2025-10-17 15:59:44 +08:00
yangdx
daeca17f38
Change default docker image to offline version
...
• Add lite verion docker image with tiktoken cache
• Update docs and build scripts
2025-10-16 16:52:01 +08:00
DivinesLight
c06522b927
Get max source Id config from .env and lightRAG init
2025-10-15 18:24:38 +05:00
haseebuchiha
d52c3377b4
Import from env and use default if none and removed useless import
2025-10-14 16:14:03 +05:00
yangdx
d0ae7a67a0
Fix typos and grammar in env.example configuration comments
2025-10-10 11:56:19 +08:00
yangdx
bd535e3e7a
Add PostgreSQL connection retry configuration options
...
- Add retry environment variables
- Fix asyncpg import in retry tests
2025-10-10 03:06:21 +08:00
kevinnkansah
22a7b482c5
fix: renamed PostGreSQL options env variable and allowed LRU cache to be an optional env variable
2025-10-06 11:56:09 +02:00
kevinnkansah
108cdbe133
feat: add options for PostGres connection
2025-10-05 23:29:04 +02:00
yangdx
9dd1790b5c
Add "Creature" entity type and reorganize type mappings
...
- Add Creature to default entity types
- Map animals/beings to creature type
2025-09-23 21:58:33 +08:00
yangdx
55176a24b4
Update env.example
2025-09-22 17:49:22 +08:00
yangdx
e14cee69a3
Fix Neo4j typo and add fulltext search with performance optimizations
...
- Fix NEO4J_DATABASE typo in env.example
- Add fulltext index for entity searches
- Implement get_popular_labels method
- Add search_labels with fuzzy matching
- Simplify B-Tree index creation logic
2025-09-20 12:37:13 +08:00