synapse-pkg 2.0.0a4__tar.gz → 2.0.0a5__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.0a5
4
4
  Summary: Knowledge graph extraction library powered by LLMs
5
5
  Author: Piyush Garg
6
6
  Requires-Python: >=3.10
@@ -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.0a5"
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.0a5
4
4
  Summary: Knowledge graph extraction library powered by LLMs
5
5
  Author: Piyush Garg
6
6
  Requires-Python: >=3.10
File without changes
File without changes
File without changes