graphrag_sdk 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graphrag_sdk-0.2.1/LICENSE +21 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/PKG-INFO +14 -8
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/README.md +8 -5
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/pyproject.toml +3 -3
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/__init__.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/agents/__init__.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/agents/agent.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/agents/kg_agent.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/attribute.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/chat_session.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document_loaders/__init__.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document_loaders/csv.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document_loaders/html.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document_loaders/jsonl.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document_loaders/pdf.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document_loaders/text.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/document_loaders/url.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/entity.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/fixtures/prompts.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/fixtures/regex.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/helpers.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/kg.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/model_config.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/models/__init__.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/models/gemini.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/models/model.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/models/ollama.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/models/openai.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/ontology.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/__init__.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/execution_plan.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/orchestrator.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/orchestrator_decision.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/orchestrator_runner.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/step.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/step_result.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/steps/__init__.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/steps/agent.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/steps/parallel.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/steps/summary.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/steps/user_input.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/relation.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/source.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/steps/Step.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/steps/create_ontology_step.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/steps/extract_data_step.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/steps/graph_query_step.py +0 -0
- {graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/steps/qa_step.py +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 FalkorDB
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: graphrag_sdk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary:
|
|
5
5
|
Home-page: http://RAG-SDK.readthedocs.io
|
|
6
6
|
License: MIT
|
|
7
7
|
Keywords: RAG,Graph-RAG,KnowledgeGraph
|
|
8
8
|
Author: FalkorDB
|
|
9
9
|
Author-email: info@falkordb.com
|
|
10
|
-
Requires-Python: >=3.
|
|
10
|
+
Requires-Python: >=3.9.0,<4.0.0
|
|
11
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
17
|
Requires-Dist: backoff (>=2.2.1,<3.0.0)
|
|
15
18
|
Requires-Dist: bs4 (>=0.0.2,<0.0.3)
|
|
@@ -25,14 +28,17 @@ Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
|
|
|
25
28
|
Requires-Dist: ratelimit (>=2.2.1,<3.0.0)
|
|
26
29
|
Requires-Dist: typing-extensions (>=4.12.1,<5.0.0)
|
|
27
30
|
Requires-Dist: vertexai (>=1.49.0,<2.0.0)
|
|
28
|
-
Project-URL: Repository, https://github.com/FalkorDB/
|
|
31
|
+
Project-URL: Repository, https://github.com/FalkorDB/GraphRAG-SDK
|
|
29
32
|
Description-Content-Type: text/markdown
|
|
30
33
|
|
|
34
|
+
[](https://hub.docker.com/r/falkordb/falkordb/)
|
|
35
|
+
[](https://pypi.org/project/graphrag_sdk/)
|
|
36
|
+
[](https://discord.gg/6M4QwDXn2w)
|
|
37
|
+
[](code_of_conduct.md)
|
|
38
|
+
|
|
31
39
|
# GraphRAG-SDK
|
|
32
40
|
|
|
33
41
|
[](https://app.falkordb.cloud)
|
|
34
|
-
[](https://hub.docker.com/r/falkordb/falkordb/)
|
|
35
|
-
[](https://discord.gg/6M4QwDXn2w)
|
|
36
42
|
|
|
37
43
|
GraphRAG-SDK is a comprehensive solution for building Graph Retrieval-Augmented Generation (GraphRAG) applications, leveraging [FalkorDB](https://www.falkordb.com/) for optimal performance.
|
|
38
44
|
|
|
@@ -91,10 +97,10 @@ The following example demonstrates the basic usage of this SDK to create a Graph
|
|
|
91
97
|
```python
|
|
92
98
|
from dotenv import load_dotenv
|
|
93
99
|
|
|
94
|
-
from graphrag_sdk.
|
|
100
|
+
from graphrag_sdk.source import URL
|
|
95
101
|
from graphrag_sdk import KnowledgeGraph, Ontology
|
|
96
102
|
from graphrag_sdk.models.openai import OpenAiGenerativeModel
|
|
97
|
-
from graphrag_sdk.
|
|
103
|
+
from graphrag_sdk.model_config import KnowledgeGraphModelConfig
|
|
98
104
|
load_dotenv()
|
|
99
105
|
|
|
100
106
|
# Import Data
|
|
@@ -150,7 +156,7 @@ The SDK supports the following file formats:
|
|
|
150
156
|
|
|
151
157
|
```python
|
|
152
158
|
import os
|
|
153
|
-
from graphrag_sdk.
|
|
159
|
+
from graphrag_sdk.source import Source
|
|
154
160
|
|
|
155
161
|
src_files = "data_folder"
|
|
156
162
|
sources = []
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
[](https://hub.docker.com/r/falkordb/falkordb/)
|
|
2
|
+
[](https://pypi.org/project/graphrag_sdk/)
|
|
3
|
+
[](https://discord.gg/6M4QwDXn2w)
|
|
4
|
+
[](code_of_conduct.md)
|
|
5
|
+
|
|
1
6
|
# GraphRAG-SDK
|
|
2
7
|
|
|
3
8
|
[](https://app.falkordb.cloud)
|
|
4
|
-
[](https://hub.docker.com/r/falkordb/falkordb/)
|
|
5
|
-
[](https://discord.gg/6M4QwDXn2w)
|
|
6
9
|
|
|
7
10
|
GraphRAG-SDK is a comprehensive solution for building Graph Retrieval-Augmented Generation (GraphRAG) applications, leveraging [FalkorDB](https://www.falkordb.com/) for optimal performance.
|
|
8
11
|
|
|
@@ -61,10 +64,10 @@ The following example demonstrates the basic usage of this SDK to create a Graph
|
|
|
61
64
|
```python
|
|
62
65
|
from dotenv import load_dotenv
|
|
63
66
|
|
|
64
|
-
from graphrag_sdk.
|
|
67
|
+
from graphrag_sdk.source import URL
|
|
65
68
|
from graphrag_sdk import KnowledgeGraph, Ontology
|
|
66
69
|
from graphrag_sdk.models.openai import OpenAiGenerativeModel
|
|
67
|
-
from graphrag_sdk.
|
|
70
|
+
from graphrag_sdk.model_config import KnowledgeGraphModelConfig
|
|
68
71
|
load_dotenv()
|
|
69
72
|
|
|
70
73
|
# Import Data
|
|
@@ -120,7 +123,7 @@ The SDK supports the following file formats:
|
|
|
120
123
|
|
|
121
124
|
```python
|
|
122
125
|
import os
|
|
123
|
-
from graphrag_sdk.
|
|
126
|
+
from graphrag_sdk.source import Source
|
|
124
127
|
|
|
125
128
|
src_files = "data_folder"
|
|
126
129
|
sources = []
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "graphrag_sdk"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
license = "MIT"
|
|
5
5
|
description = ""
|
|
6
6
|
authors = ["FalkorDB <info@falkordb.com>"]
|
|
7
7
|
readme = "README.md"
|
|
8
|
-
repository = "https://github.com/FalkorDB/
|
|
8
|
+
repository = "https://github.com/FalkorDB/GraphRAG-SDK"
|
|
9
9
|
homepage = "http://RAG-SDK.readthedocs.io"
|
|
10
10
|
keywords = ['RAG', 'Graph-RAG', 'KnowledgeGraph']
|
|
11
11
|
|
|
12
12
|
[tool.poetry.dependencies]
|
|
13
|
-
python = "^3.
|
|
13
|
+
python = "^3.9.0"
|
|
14
14
|
falkordb = "^1.0.4"
|
|
15
15
|
typing-extensions = "^4.12.1"
|
|
16
16
|
bs4 = "^0.0.2"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{graphrag_sdk-0.2.0 → graphrag_sdk-0.2.1}/graphrag_sdk/orchestrator/orchestrator_decision.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|