synapse-pkg 2.0.0a4__tar.gz → 2.0.0a6__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.
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/PKG-INFO +7 -1
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/README.md +6 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/pyproject.toml +1 -1
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/cli.py +4 -1
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/commands.py +2 -1
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse_pkg.egg-info/PKG-INFO +7 -1
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/LICENSE +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/setup.cfg +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/__init__.py +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/extractor.py +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/git_manager.py +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/persistence.py +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/processor.py +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse/provider.py +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse_pkg.egg-info/SOURCES.txt +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse_pkg.egg-info/dependency_links.txt +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse_pkg.egg-info/entry_points.txt +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse_pkg.egg-info/requires.txt +0 -0
- {synapse_pkg-2.0.0a4 → synapse_pkg-2.0.0a6}/synapse_pkg.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: synapse-pkg
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0a6
|
|
4
4
|
Summary: Knowledge graph extraction library powered by LLMs
|
|
5
5
|
Author: Piyush Garg
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -124,6 +124,12 @@ This creates the `.synapse/` directory containing:
|
|
|
124
124
|
└── config.json
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
+
Set up and select the local Ollama model:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
synapse setup
|
|
131
|
+
```
|
|
132
|
+
|
|
127
133
|
Build the initial Repository Context and Repository Memory:
|
|
128
134
|
|
|
129
135
|
```bash
|
|
@@ -112,6 +112,12 @@ This creates the `.synapse/` directory containing:
|
|
|
112
112
|
└── config.json
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
+
Set up and select the local Ollama model:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
synapse setup
|
|
119
|
+
```
|
|
120
|
+
|
|
115
121
|
Build the initial Repository Context and Repository Memory:
|
|
116
122
|
|
|
117
123
|
```bash
|
|
@@ -10,7 +10,7 @@ def main():
|
|
|
10
10
|
print("Available commands:")
|
|
11
11
|
print(" init")
|
|
12
12
|
print(" knowledge")
|
|
13
|
-
print("
|
|
13
|
+
print(" setup")
|
|
14
14
|
return
|
|
15
15
|
|
|
16
16
|
command = sys.argv[1].lower()
|
|
@@ -20,6 +20,9 @@ def main():
|
|
|
20
20
|
|
|
21
21
|
elif command == "knowledge":
|
|
22
22
|
commands.knowledge()
|
|
23
|
+
|
|
24
|
+
elif command == "setup":
|
|
25
|
+
commands.setup()
|
|
23
26
|
|
|
24
27
|
else:
|
|
25
28
|
print(f"Unknown command: {command}")
|
|
@@ -4,7 +4,7 @@ from .extractor import build_compressed_context
|
|
|
4
4
|
from .provider import get_ollama_model
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
def
|
|
7
|
+
def setup():
|
|
8
8
|
models = get_ollama_model()
|
|
9
9
|
|
|
10
10
|
for i,model in enumerate(models,start=1):
|
|
@@ -17,6 +17,7 @@ def Setup():
|
|
|
17
17
|
"model": selected_model
|
|
18
18
|
}
|
|
19
19
|
)
|
|
20
|
+
print("configuration saved")
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
def init():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: synapse-pkg
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0a6
|
|
4
4
|
Summary: Knowledge graph extraction library powered by LLMs
|
|
5
5
|
Author: Piyush Garg
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -124,6 +124,12 @@ This creates the `.synapse/` directory containing:
|
|
|
124
124
|
└── config.json
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
+
Set up and select the local Ollama model:
|
|
128
|
+
|
|
129
|
+
```bash
|
|
130
|
+
synapse setup
|
|
131
|
+
```
|
|
132
|
+
|
|
127
133
|
Build the initial Repository Context and Repository Memory:
|
|
128
134
|
|
|
129
135
|
```bash
|
|
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
|