atomzero 0.1.0__tar.gz → 0.1.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.
Files changed (33) hide show
  1. {atomzero-0.1.0/src/atomzero.egg-info → atomzero-0.1.1}/PKG-INFO +1 -1
  2. {atomzero-0.1.0 → atomzero-0.1.1}/pyproject.toml +4 -1
  3. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/__init__.py +1 -1
  4. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/chat_human.py +1 -1
  5. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/chat_server.py +1 -1
  6. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/ml_safety.py +2 -2
  7. atomzero-0.1.1/src/atomzero/moderation_head.json +4263 -0
  8. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/neural_embedder.py +1 -1
  9. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/teacher_provider.py +1 -1
  10. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/web_research.py +1 -1
  11. {atomzero-0.1.0 → atomzero-0.1.1/src/atomzero.egg-info}/PKG-INFO +1 -1
  12. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/SOURCES.txt +1 -0
  13. {atomzero-0.1.0 → atomzero-0.1.1}/tests/test_smoke.py +9 -2
  14. {atomzero-0.1.0 → atomzero-0.1.1}/LICENSE +0 -0
  15. {atomzero-0.1.0 → atomzero-0.1.1}/NOTICE +0 -0
  16. {atomzero-0.1.0 → atomzero-0.1.1}/README.md +0 -0
  17. {atomzero-0.1.0 → atomzero-0.1.1}/setup.cfg +0 -0
  18. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/agent_runtime.py +0 -0
  19. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/curiosity.py +0 -0
  20. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/doc_ingest.py +0 -0
  21. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/doc_memory.py +0 -0
  22. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/feedback.py +0 -0
  23. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/knowledge_gaps.py +0 -0
  24. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/lora.py +0 -0
  25. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/research_queue.py +0 -0
  26. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/safety.py +0 -0
  27. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/teacher_notes.py +0 -0
  28. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/tool_planner.py +0 -0
  29. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero/transformer.py +0 -0
  30. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/dependency_links.txt +0 -0
  31. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/entry_points.txt +0 -0
  32. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/requires.txt +0 -0
  33. {atomzero-0.1.0 → atomzero-0.1.1}/src/atomzero.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomzero
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Atom Zero: a local source-cited 49.2M assistant with RAG, documents, evidence and constrained tools.
5
5
  Author-email: Gokhan Cava <gokhancava@gmail.com>
6
6
  License: Apache-2.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "atomzero"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "Atom Zero: a local source-cited 49.2M assistant with RAG, documents, evidence and constrained tools."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -38,5 +38,8 @@ LinkedIn = "https://www.linkedin.com/in/g%C3%B6khan-cava-874a32157/"
38
38
  [tool.setuptools.packages.find]
39
39
  where = ["src"]
40
40
 
41
+ [tool.setuptools.package-data]
42
+ atomzero = ["moderation_head.json"]
43
+
41
44
  [tool.setuptools]
42
45
  license-files = ["LICENSE", "NOTICE"]
@@ -5,4 +5,4 @@ in the separate `streamft` distribution.
5
5
  """
6
6
  from __future__ import annotations
7
7
 
8
- __version__ = "0.1.0"
8
+ __version__ = "0.1.1"
@@ -19,7 +19,7 @@ import torch
19
19
  from atomzero.doc_memory import best_snippet
20
20
  from atomzero.transformer import TransformerLM, generate as transformer_generate
21
21
 
22
- ROOT = Path(__file__).resolve().parents[1]
22
+ ROOT = Path.cwd()
23
23
  DEFAULT_MEMORY = ROOT / "data/chat_human_memory.json"
24
24
 
25
25
 
@@ -1501,7 +1501,7 @@ class Handler(BaseHTTPRequestHandler):
1501
1501
  elif self.path == "/v1/models":
1502
1502
  self._json(200, {"data": [{
1503
1503
  "id": _state["name"], "object": "model",
1504
- "owned_by": "streamft",
1504
+ "owned_by": "atomzero",
1505
1505
  }]})
1506
1506
  elif self.path == "/metrics":
1507
1507
  self._json(200, _state["metrics"])
@@ -16,8 +16,8 @@ from pathlib import Path
16
16
 
17
17
  from atomzero.safety import SafetyFilter
18
18
 
19
- ROOT = Path(__file__).resolve().parents[1]
20
- DEFAULT_HEAD = ROOT / "streamft/moderation_head.json"
19
+ ROOT = Path.cwd()
20
+ DEFAULT_HEAD = Path(__file__).with_name("moderation_head.json")
21
21
  DEFAULT_MODEL = ROOT / "models/all-MiniLM-L6-v2"
22
22
 
23
23