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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: synapse-pkg
3
- Version: 2.0.0a4
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "synapse-pkg"
7
- version = "2.0.0a4"
7
+ version = "2.0.0a6"
8
8
  description = "Knowledge graph extraction library powered by LLMs"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -10,7 +10,7 @@ def main():
10
10
  print("Available commands:")
11
11
  print(" init")
12
12
  print(" knowledge")
13
- print(" Setup")
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 Setup():
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.0a4
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