LightRAG/lightrag/llm
clssck dd1413f3eb test(lightrag,examples): add prompt accuracy and quality tests
Add comprehensive test suites for prompt evaluation:
- test_prompt_accuracy.py: 365 lines testing prompt extraction accuracy
- test_prompt_quality_deep.py: 672 lines for deep quality analysis
- Refactor prompt.py to consolidate optimized variants (removed prompt_optimized.py)
- Apply ruff formatting and type hints across 30 files
- Update pyrightconfig.json for static type checking
- Modernize reproduce scripts and examples with improved type annotations
- Sync uv.lock dependencies
2025-12-05 16:39:52 +01:00
..
deprecated test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
__init__.py Separated llms from the main llm.py file and fixed some deprication bugs 2025-01-25 00:11:00 +01:00
anthropic.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
azure_openai.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
bedrock.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
binding_options.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
gemini.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
hf.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
jina.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
llama_index_impl.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
lmdeploy.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
lollms.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
nvidia_openai.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00
ollama.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
openai.py test(lightrag,examples,api): comprehensive ruff formatting and type hints 2025-12-05 15:17:06 +01:00
zhipu.py test(lightrag,examples): add prompt accuracy and quality tests 2025-12-05 16:39:52 +01:00