bot-knows 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 (72) hide show
  1. {bot_knows-0.1.0 → bot_knows-0.1.1}/PKG-INFO +1 -2
  2. {bot_knows-0.1.0 → bot_knows-0.1.1}/pyproject.toml +1 -1
  3. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/__init__.py +11 -10
  4. bot_knows-0.1.0/LICENSE +0 -21
  5. {bot_knows-0.1.0 → bot_knows-0.1.1}/.gitignore +0 -0
  6. {bot_knows-0.1.0 → bot_knows-0.1.1}/README.md +0 -0
  7. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/config.py +0 -0
  8. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/domain/__init__.py +0 -0
  9. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/domain/chat.py +0 -0
  10. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/domain/message.py +0 -0
  11. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/domain/relation.py +0 -0
  12. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/domain/topic.py +0 -0
  13. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/domain/topic_evidence.py +0 -0
  14. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/importers/__init__.py +0 -0
  15. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/importers/base.py +0 -0
  16. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/importers/chatgpt.py +0 -0
  17. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/importers/claude.py +0 -0
  18. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/importers/generic_json.py +0 -0
  19. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/importers/registry.py +0 -0
  20. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/__init__.py +0 -0
  21. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/llm/__init__.py +0 -0
  22. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/llm/anthropic_provider.py +0 -0
  23. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/llm/openai_provider.py +0 -0
  24. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/mongo/__init__.py +0 -0
  25. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/mongo/client.py +0 -0
  26. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/mongo/repositories.py +0 -0
  27. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/neo4j/__init__.py +0 -0
  28. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/neo4j/client.py +0 -0
  29. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/neo4j/graph_repository.py +0 -0
  30. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/redis/__init__.py +0 -0
  31. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/redis/cache.py +0 -0
  32. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/infra/redis/client.py +0 -0
  33. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/interfaces/__init__.py +0 -0
  34. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/interfaces/embedding.py +0 -0
  35. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/interfaces/graph.py +0 -0
  36. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/interfaces/llm.py +0 -0
  37. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/interfaces/recall.py +0 -0
  38. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/interfaces/storage.py +0 -0
  39. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/logging.py +0 -0
  40. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/models/__init__.py +0 -0
  41. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/models/chat.py +0 -0
  42. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/models/ingest.py +0 -0
  43. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/models/message.py +0 -0
  44. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/models/recall.py +0 -0
  45. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/models/topic.py +0 -0
  46. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/orchestrator.py +0 -0
  47. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/py.typed +0 -0
  48. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/__init__.py +0 -0
  49. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/chat_processing.py +0 -0
  50. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/dedup_service.py +0 -0
  51. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/graph_service.py +0 -0
  52. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/message_builder.py +0 -0
  53. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/recall_service.py +0 -0
  54. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/tasks.py +0 -0
  55. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/services/topic_extraction.py +0 -0
  56. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/utils/__init__.py +0 -0
  57. {bot_knows-0.1.0 → bot_knows-0.1.1}/src/bot_knows/utils/hashing.py +0 -0
  58. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/__init__.py +0 -0
  59. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/conftest.py +0 -0
  60. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/fixtures/chatgpt_export.json +0 -0
  61. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/fixtures/claude_export.json +0 -0
  62. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/integration/__init__.py +0 -0
  63. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/integration/test_pipeline.py +0 -0
  64. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/mocks/__init__.py +0 -0
  65. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/mocks/mock_embedding.py +0 -0
  66. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/mocks/mock_mongo.py +0 -0
  67. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/mocks/mock_neo4j.py +0 -0
  68. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/unit/__init__.py +0 -0
  69. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/unit/test_importers.py +0 -0
  70. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/unit/test_models.py +0 -0
  71. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/unit/test_orchestrator.py +0 -0
  72. {bot_knows-0.1.0 → bot_knows-0.1.1}/tests/unit/test_services.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bot-knows
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Framework-agnostic Python library for graph-backed personal knowledge bases from chat data
5
5
  Project-URL: Homepage, https://github.com/Snezhana/bot-knows
6
6
  Project-URL: Documentation, https://github.com/Snezhana/bot-knows#readme
@@ -8,7 +8,6 @@ Project-URL: Repository, https://github.com/Snezhana/bot-knows
8
8
  Project-URL: Issues, https://github.com/Snezhana/bot-knows/issues
9
9
  Author-email: Your Name <your@email.com>
10
10
  License-Expression: MIT
11
- License-File: LICENSE
12
11
  Keywords: chat,embedding,graph,knowledge-base,memory,nlp,recall
13
12
  Classifier: Development Status :: 3 - Alpha
14
13
  Classifier: Framework :: AsyncIO
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "bot-knows"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Framework-agnostic Python library for graph-backed personal knowledge bases from chat data"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -26,29 +26,30 @@ Example usage:
26
26
  topics = await bk.get_chat_topics(chat_id)
27
27
  """
28
28
 
29
- __version__ = "0.1.0"
29
+ __version__ = "0.1.1"
30
30
 
31
31
  # Orchestrator
32
- # Interfaces
33
- from bot_knows.importers.base import ChatImportAdapter
32
+ from bot_knows.orchestrator import BotKnows, InsertResult
33
+
34
+ # Implementations
35
+ from bot_knows.infra.mongo.repositories import MongoStorageRepository
36
+ from bot_knows.infra.neo4j.graph_repository import Neo4jGraphRepository
37
+ from bot_knows.infra.llm.openai_provider import OpenAIProvider
38
+ from bot_knows.infra.llm.anthropic_provider import AnthropicProvider
34
39
 
35
40
  # Import adapters
36
41
  from bot_knows.importers.chatgpt import ChatGPTAdapter
37
42
  from bot_knows.importers.claude import ClaudeAdapter
38
43
  from bot_knows.importers.generic_json import GenericJSONAdapter
39
- from bot_knows.infra.llm.anthropic_provider import AnthropicProvider
40
- from bot_knows.infra.llm.openai_provider import OpenAIProvider
41
44
 
42
- # Implementations
43
- from bot_knows.infra.mongo.repositories import MongoStorageRepository
44
- from bot_knows.infra.neo4j.graph_repository import Neo4jGraphRepository
45
+ # Interfaces
46
+ from bot_knows.importers.base import ChatImportAdapter
45
47
  from bot_knows.interfaces.embedding import EmbeddingServiceInterface
46
48
  from bot_knows.interfaces.graph import GraphServiceInterface
47
49
  from bot_knows.interfaces.llm import LLMInterface
48
50
  from bot_knows.interfaces.storage import StorageInterface
49
- from bot_knows.orchestrator import BotKnows, InsertResult
50
51
 
51
- __all__ = [ # noqa: RUF022
52
+ __all__ = [
52
53
  # Orchestrator
53
54
  "BotKnows",
54
55
  "InsertResult",
bot_knows-0.1.0/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Snezhana Stojanova
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.
File without changes
File without changes
File without changes
File without changes