h-ai-brain 0.0.16__tar.gz → 0.0.17__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 (36) hide show
  1. {h_ai_brain-0.0.16/src/h_ai_brain.egg-info → h_ai_brain-0.0.17}/PKG-INFO +1 -1
  2. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/pyproject.toml +1 -1
  3. h_ai_brain-0.0.17/src/h_ai/application/hai_service.py +13 -0
  4. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17/src/h_ai_brain.egg-info}/PKG-INFO +1 -1
  5. h_ai_brain-0.0.16/src/h_ai/application/hai_service.py +0 -7
  6. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/LICENSE +0 -0
  7. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/NOTICE.txt +0 -0
  8. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/setup.cfg +0 -0
  9. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/__init__.py +0 -0
  10. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/application/__init__.py +0 -0
  11. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/application/system_prompts/__init__.py +0 -0
  12. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/application/system_prompts/roles/__init__.py +0 -0
  13. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/domain/__init__.py +0 -0
  14. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/domain/reasoning/__init__.py +0 -0
  15. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/domain/reasoning/llm_chat_repository.py +0 -0
  16. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/domain/reasoning/llm_generate_respository.py +0 -0
  17. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/domain/reasoning/llm_tool_repository.py +0 -0
  18. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/domain/reasoning/text_analysis.py +0 -0
  19. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/domain/reasoning/tool_message.py +0 -0
  20. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/__init__.py +0 -0
  21. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/__init__.py +0 -0
  22. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/data_handler.py +0 -0
  23. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/llm_response_cleaner.py +0 -0
  24. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/ollama/__init__.py +0 -0
  25. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/ollama/models/__init__.py +0 -0
  26. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/ollama/models/ollama_chat_message.py +0 -0
  27. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/ollama/models/ollama_chat_session.py +0 -0
  28. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/ollama/ollama_chat_repository.py +0 -0
  29. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/ollama/ollama_generate_repository.py +0 -0
  30. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/ollama/ollama_tool_repository.py +0 -0
  31. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/prompt_helper.py +0 -0
  32. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai/infrastructure/llm/prompt_loader.py +0 -0
  33. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai_brain.egg-info/SOURCES.txt +0 -0
  34. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai_brain.egg-info/dependency_links.txt +0 -0
  35. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai_brain.egg-info/requires.txt +0 -0
  36. {h_ai_brain-0.0.16 → h_ai_brain-0.0.17}/src/h_ai_brain.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h_ai_brain
3
- Version: 0.0.16
3
+ Version: 0.0.17
4
4
  Summary: AI Research agent API
5
5
  Author-email: shoebill <shoebill.hai@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -4,7 +4,7 @@
4
4
 
5
5
  [project]
6
6
  name = "h_ai_brain"
7
- version = "0.0.16"
7
+ version = "0.0.17"
8
8
  authors = [
9
9
  {name = "shoebill", email = "shoebill.hai@gmail.com"},
10
10
  ]
@@ -0,0 +1,13 @@
1
+ from h_message_bus import NatsPublisherAdapter
2
+ from h_message_bus.domain.request_messages.vector_read_metadata_request_message import VectorReadMetaDataRequestMessage
3
+ from h_message_bus.domain.request_messages.vector_read_metadata_response_message import VectorReadMetaDataResponseMessage
4
+
5
+ class HaiService:
6
+ def __init__(self, nats_publisher_adapter: NatsPublisherAdapter):
7
+ self.nats_publisher_adapter = nats_publisher_adapter
8
+
9
+ async def get_knowledgebase_metadata(self) -> VectorReadMetaDataResponseMessage:
10
+ message = VectorReadMetaDataRequestMessage.create_message()
11
+ response = await self.nats_publisher_adapter.request(message)
12
+ metadata_result = VectorReadMetaDataResponseMessage.from_hai_message(response)
13
+ return metadata_result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h_ai_brain
3
- Version: 0.0.16
3
+ Version: 0.0.17
4
4
  Summary: AI Research agent API
5
5
  Author-email: shoebill <shoebill.hai@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,7 +0,0 @@
1
- from h_message_bus import NatsPublisherAdapter
2
-
3
- class HaiService:
4
- def __init__(self, nats_publisher_adapter: NatsPublisherAdapter):
5
- self.nats_publisher_adapter = nats_publisher_adapter
6
-
7
-
File without changes
File without changes
File without changes