diff --git a/dsLightRag/.gitignore b/dsLightRag/.gitignore deleted file mode 100644 index 2b6cf871..00000000 --- a/dsLightRag/.gitignore +++ /dev/null @@ -1,72 +0,0 @@ -# Python-related files -__pycache__/ -*.py[cod] -*.egg-info/ -.eggs/ -*.tgz -*.tar.gz -*.ini - -# Virtual Environment -.venv/ -env/ -venv/ -*.env* -.env_example - -# Build / Distribution -dist/ -build/ -site/ - -# Logs / Reports -*.log -*.log.* -*.logfire -*.coverage/ -log/ - -# Caches -.cache/ -.mypy_cache/ -.pytest_cache/ -.ruff_cache/ -.gradio/ -.history/ -temp/ - -# IDE / Editor Files -.idea/ -.vscode/ -.vscode/settings.json - -# Framework-specific files -local_neo4jWorkDir/ -neo4jWorkDir/ - -# Data & Storage -inputs/ -rag_storage/ -examples/input/ -examples/output/ -output*/ - -# Miscellaneous -.DS_Store -TODO.md -ignore_this.txt -*.ignore.* - -# Project-specific files -dickens*/ -examples/book.txt -LightRAG.pdf -download_models_hf.py -lightrag-dev/ -gui/ - -# unit-test files -test_* - -# Cline files -memory-bank/ diff --git a/dsLightRag/.idea/.gitignore b/dsLightRag/.idea/.gitignore new file mode 100644 index 00000000..a7cdac76 --- /dev/null +++ b/dsLightRag/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/dsLightRag/.idea/dsLightRag.iml b/dsLightRag/.idea/dsLightRag.iml new file mode 100644 index 00000000..55699d9e --- /dev/null +++ b/dsLightRag/.idea/dsLightRag.iml @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file diff --git a/dsLightRag/.idea/inspectionProfiles/profiles_settings.xml b/dsLightRag/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 00000000..105ce2da --- /dev/null +++ b/dsLightRag/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/dsLightRag/.idea/misc.xml b/dsLightRag/.idea/misc.xml new file mode 100644 index 00000000..a8cb0d4a --- /dev/null +++ b/dsLightRag/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/dsLightRag/.idea/modules.xml b/dsLightRag/.idea/modules.xml new file mode 100644 index 00000000..5ebd85f7 --- /dev/null +++ b/dsLightRag/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/dsLightRag/.idea/prettier.xml b/dsLightRag/.idea/prettier.xml new file mode 100644 index 00000000..8bc49dc7 --- /dev/null +++ b/dsLightRag/.idea/prettier.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/dsLightRag/.idea/vcs.xml b/dsLightRag/.idea/vcs.xml new file mode 100644 index 00000000..2e3f6920 --- /dev/null +++ b/dsLightRag/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/dsLightRag/Config/__pycache__/Config.cpython-310.pyc b/dsLightRag/Config/__pycache__/Config.cpython-310.pyc new file mode 100644 index 00000000..162d6000 Binary files /dev/null and b/dsLightRag/Config/__pycache__/Config.cpython-310.pyc differ diff --git a/dsLightRag/Config/__pycache__/__init__.cpython-310.pyc b/dsLightRag/Config/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 00000000..c4e22c15 Binary files /dev/null and b/dsLightRag/Config/__pycache__/__init__.cpython-310.pyc differ diff --git a/dsLightRag/Util/__pycache__/LightRagUtil.cpython-310.pyc b/dsLightRag/Util/__pycache__/LightRagUtil.cpython-310.pyc new file mode 100644 index 00000000..142ce007 Binary files /dev/null and b/dsLightRag/Util/__pycache__/LightRagUtil.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/__init__.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 00000000..a4abd8a7 Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/__init__.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/base.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/base.cpython-310.pyc new file mode 100644 index 00000000..a9892283 Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/base.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/constants.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/constants.cpython-310.pyc new file mode 100644 index 00000000..05222d2c Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/constants.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/lightrag.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/lightrag.cpython-310.pyc new file mode 100644 index 00000000..29ab4112 Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/lightrag.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/namespace.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/namespace.cpython-310.pyc new file mode 100644 index 00000000..2f9add71 Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/namespace.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/operate.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/operate.cpython-310.pyc new file mode 100644 index 00000000..b73be436 Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/operate.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/prompt.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/prompt.cpython-310.pyc new file mode 100644 index 00000000..ae2589fd Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/prompt.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/types.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/types.cpython-310.pyc new file mode 100644 index 00000000..fb658535 Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/types.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/__pycache__/utils.cpython-310.pyc b/dsLightRag/lightrag/__pycache__/utils.cpython-310.pyc new file mode 100644 index 00000000..d6b86e4a Binary files /dev/null and b/dsLightRag/lightrag/__pycache__/utils.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/api/__pycache__/__init__.cpython-310.pyc b/dsLightRag/lightrag/api/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 00000000..9de5204b Binary files /dev/null and b/dsLightRag/lightrag/api/__pycache__/__init__.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/kg/__pycache__/__init__.cpython-310.pyc b/dsLightRag/lightrag/kg/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 00000000..cf22af37 Binary files /dev/null and b/dsLightRag/lightrag/kg/__pycache__/__init__.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/kg/__pycache__/json_doc_status_impl.cpython-310.pyc b/dsLightRag/lightrag/kg/__pycache__/json_doc_status_impl.cpython-310.pyc new file mode 100644 index 00000000..740802ad Binary files /dev/null and b/dsLightRag/lightrag/kg/__pycache__/json_doc_status_impl.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/kg/__pycache__/json_kv_impl.cpython-310.pyc b/dsLightRag/lightrag/kg/__pycache__/json_kv_impl.cpython-310.pyc new file mode 100644 index 00000000..52b2fb37 Binary files /dev/null and b/dsLightRag/lightrag/kg/__pycache__/json_kv_impl.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/kg/__pycache__/nano_vector_db_impl.cpython-310.pyc b/dsLightRag/lightrag/kg/__pycache__/nano_vector_db_impl.cpython-310.pyc new file mode 100644 index 00000000..5e456932 Binary files /dev/null and b/dsLightRag/lightrag/kg/__pycache__/nano_vector_db_impl.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/kg/__pycache__/networkx_impl.cpython-310.pyc b/dsLightRag/lightrag/kg/__pycache__/networkx_impl.cpython-310.pyc new file mode 100644 index 00000000..047f12c6 Binary files /dev/null and b/dsLightRag/lightrag/kg/__pycache__/networkx_impl.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/kg/__pycache__/shared_storage.cpython-310.pyc b/dsLightRag/lightrag/kg/__pycache__/shared_storage.cpython-310.pyc new file mode 100644 index 00000000..857fd030 Binary files /dev/null and b/dsLightRag/lightrag/kg/__pycache__/shared_storage.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/llm/__pycache__/__init__.cpython-310.pyc b/dsLightRag/lightrag/llm/__pycache__/__init__.cpython-310.pyc new file mode 100644 index 00000000..6655ec74 Binary files /dev/null and b/dsLightRag/lightrag/llm/__pycache__/__init__.cpython-310.pyc differ diff --git a/dsLightRag/lightrag/llm/__pycache__/openai.cpython-310.pyc b/dsLightRag/lightrag/llm/__pycache__/openai.cpython-310.pyc new file mode 100644 index 00000000..2ed1d9b9 Binary files /dev/null and b/dsLightRag/lightrag/llm/__pycache__/openai.cpython-310.pyc differ