swarmauri-core 0.7.2.dev2__tar.gz → 0.7.3.dev2__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 (129) hide show
  1. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/PKG-INFO +2 -3
  2. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/README.md +1 -2
  3. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/pyproject.toml +5 -3
  4. swarmauri_core-0.7.3.dev2/swarmauri_core/logger_formatters/IFormatter.py +11 -0
  5. swarmauri_core-0.7.3.dev2/swarmauri_core/tool_llms/IToolPredict.py +71 -0
  6. swarmauri_core-0.7.3.dev2/swarmauri_core/vectors/__init__.py +0 -0
  7. swarmauri_core-0.7.3.dev2/swarmauri_core/vlms/__init__.py +0 -0
  8. swarmauri_core-0.7.2.dev2/swarmauri_core/tts/IPredict.py +0 -49
  9. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/LICENSE +0 -0
  10. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/ComponentBase.py +0 -0
  11. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/README.md +0 -0
  12. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/__init__.py +0 -0
  13. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agent_apis/IAgentCommands.py +0 -0
  14. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agent_apis/IAgentRouterCRUD.py +0 -0
  15. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agent_apis/__init__.py +0 -0
  16. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agent_factories/IExportConf.py +0 -0
  17. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agent_factories/__init__.py +0 -0
  18. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/IAgent.py +0 -0
  19. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/IAgentConversation.py +0 -0
  20. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/IAgentParser.py +0 -0
  21. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/IAgentRetrieve.py +0 -0
  22. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/IAgentSystemContext.py +0 -0
  23. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/IAgentToolkit.py +0 -0
  24. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/IAgentVectorStore.py +0 -0
  25. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/agents/__init__.py +0 -0
  26. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/ICallableChain.py +0 -0
  27. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/IChain.py +0 -0
  28. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/IChainContext.py +0 -0
  29. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/IChainContextLoader.py +0 -0
  30. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/IChainDependencyResolver.py +0 -0
  31. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/IChainFactory.py +0 -0
  32. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/IChainStep.py +0 -0
  33. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chains/__init__.py +0 -0
  34. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chunkers/IChunker.py +0 -0
  35. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/chunkers/__init__.py +0 -0
  36. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/control_panels/IControlPanel.py +0 -0
  37. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/control_panels/__init__.py +0 -0
  38. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/conversations/IConversation.py +0 -0
  39. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/conversations/IMaxSize.py +0 -0
  40. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/conversations/ISystemContext.py +0 -0
  41. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/conversations/__init__.py +0 -0
  42. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/dataconnectors/IDataConnector.py +0 -0
  43. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/dataconnectors/__init__.py +0 -0
  44. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/distances/IDistanceSimilarity.py +0 -0
  45. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/distances/__init__.py +0 -0
  46. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/document_stores/IDocumentRetrieve.py +0 -0
  47. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/document_stores/IDocumentStore.py +0 -0
  48. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/document_stores/__init__.py +0 -0
  49. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/documents/IDocument.py +0 -0
  50. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/documents/IExperimentDocument.py +0 -0
  51. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/documents/__init__.py +0 -0
  52. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/embeddings/IFeature.py +0 -0
  53. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/embeddings/ISaveModel.py +0 -0
  54. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/embeddings/IVectorize.py +0 -0
  55. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/embeddings/__init__.py +0 -0
  56. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/factories/IFactory.py +0 -0
  57. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/factories/__init__.py +0 -0
  58. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/image_gens/IGenImage.py +0 -0
  59. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/image_gens/__init__.py +0 -0
  60. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/llms/IFit.py +0 -0
  61. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/llms/IPredict.py +0 -0
  62. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/llms/__init__.py +0 -0
  63. {swarmauri_core-0.7.2.dev2/swarmauri_core/logging → swarmauri_core-0.7.3.dev2/swarmauri_core/logger_formatters}/__init__.py +0 -0
  64. {swarmauri_core-0.7.2.dev2/swarmauri_core/logging → swarmauri_core-0.7.3.dev2/swarmauri_core/logger_handlers}/IHandler.py +0 -0
  65. {swarmauri_core-0.7.2.dev2/swarmauri_core/measurements → swarmauri_core-0.7.3.dev2/swarmauri_core/logger_handlers}/__init__.py +0 -0
  66. {swarmauri_core-0.7.2.dev2/swarmauri_core/logging → swarmauri_core-0.7.3.dev2/swarmauri_core/loggers}/ILogger.py +0 -0
  67. {swarmauri_core-0.7.2.dev2/swarmauri_core/ocrs → swarmauri_core-0.7.3.dev2/swarmauri_core/loggers}/__init__.py +0 -0
  68. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/measurements/IMeasurement.py +0 -0
  69. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/measurements/IMeasurementAggregate.py +0 -0
  70. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/measurements/IMeasurementCalculate.py +0 -0
  71. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/measurements/IThreshold.py +0 -0
  72. {swarmauri_core-0.7.2.dev2/swarmauri_core/parsers → swarmauri_core-0.7.3.dev2/swarmauri_core/measurements}/__init__.py +0 -0
  73. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/messages/IMessage.py +0 -0
  74. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/messages/__init__.py +0 -0
  75. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/ocrs/IPredict.py +0 -0
  76. {swarmauri_core-0.7.2.dev2/swarmauri_core/pipelines → swarmauri_core-0.7.3.dev2/swarmauri_core/ocrs}/__init__.py +0 -0
  77. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/parsers/IParser.py +0 -0
  78. {swarmauri_core-0.7.2.dev2/swarmauri_core/prompt_templates → swarmauri_core-0.7.3.dev2/swarmauri_core/parsers}/__init__.py +0 -0
  79. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/pipelines/IPipeline.py +0 -0
  80. {swarmauri_core-0.7.2.dev2/swarmauri_core/prompts → swarmauri_core-0.7.3.dev2/swarmauri_core/pipelines}/__init__.py +0 -0
  81. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/prompt_templates/IPromptTemplate.py +0 -0
  82. {swarmauri_core-0.7.2.dev2/swarmauri_core/schema_converters → swarmauri_core-0.7.3.dev2/swarmauri_core/prompt_templates}/__init__.py +0 -0
  83. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/prompts/IPrompt.py +0 -0
  84. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/prompts/IPromptMatrix.py +0 -0
  85. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/prompts/ITemplate.py +0 -0
  86. {swarmauri_core-0.7.2.dev2/swarmauri_core/service_registries → swarmauri_core-0.7.3.dev2/swarmauri_core/prompts}/__init__.py +0 -0
  87. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/schema_converters/ISchemaConvert.py +0 -0
  88. {swarmauri_core-0.7.2.dev2/swarmauri_core/sst → swarmauri_core-0.7.3.dev2/swarmauri_core/schema_converters}/__init__.py +0 -0
  89. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/service_registries/IServiceRegistry.py +0 -0
  90. {swarmauri_core-0.7.2.dev2/swarmauri_core/swarm_apis → swarmauri_core-0.7.3.dev2/swarmauri_core/service_registries}/__init__.py +0 -0
  91. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/sst/IPredict.py +0 -0
  92. {swarmauri_core-0.7.2.dev2/swarmauri_core/swarms → swarmauri_core-0.7.3.dev2/swarmauri_core/sst}/__init__.py +0 -0
  93. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/state/IState.py +0 -0
  94. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/swarm_apis/IAgentRegistrationAPI.py +0 -0
  95. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/swarm_apis/ISwarmAPI.py +0 -0
  96. {swarmauri_core-0.7.2.dev2/swarmauri_core/task_mgmt_strategies → swarmauri_core-0.7.3.dev2/swarmauri_core/swarm_apis}/__init__.py +0 -0
  97. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/swarms/ISwarm.py +0 -0
  98. {swarmauri_core-0.7.2.dev2/swarmauri_core/tool_llms → swarmauri_core-0.7.3.dev2/swarmauri_core/swarms}/__init__.py +0 -0
  99. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/task_mgmt_strategies/ITaskMgmtStrategy.py +0 -0
  100. {swarmauri_core-0.7.2.dev2/swarmauri_core/toolkits → swarmauri_core-0.7.3.dev2/swarmauri_core/task_mgmt_strategies}/__init__.py +0 -0
  101. {swarmauri_core-0.7.2.dev2/swarmauri_core/tools → swarmauri_core-0.7.3.dev2/swarmauri_core/tool_llms}/__init__.py +0 -0
  102. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/toolkits/IToolkit.py +0 -0
  103. {swarmauri_core-0.7.2.dev2/swarmauri_core/tracing → swarmauri_core-0.7.3.dev2/swarmauri_core/toolkits}/__init__.py +0 -0
  104. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/tools/IParameter.py +0 -0
  105. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/tools/ITool.py +0 -0
  106. {swarmauri_core-0.7.2.dev2/swarmauri_core/transports → swarmauri_core-0.7.3.dev2/swarmauri_core/tools}/__init__.py +0 -0
  107. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/tracing/IChainTracer.py +0 -0
  108. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/tracing/ITraceContext.py +0 -0
  109. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/tracing/ITracer.py +0 -0
  110. {swarmauri_core-0.7.2.dev2/swarmauri_core/tts → swarmauri_core-0.7.3.dev2/swarmauri_core/tracing}/__init__.py +0 -0
  111. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/transports/ITransport.py +0 -0
  112. {swarmauri_core-0.7.2.dev2/swarmauri_core/utils → swarmauri_core-0.7.3.dev2/swarmauri_core/transports}/__init__.py +0 -0
  113. {swarmauri_core-0.7.2.dev2/swarmauri_core/tool_llms → swarmauri_core-0.7.3.dev2/swarmauri_core/tts}/IPredict.py +0 -0
  114. {swarmauri_core-0.7.2.dev2/swarmauri_core/vector_stores → swarmauri_core-0.7.3.dev2/swarmauri_core/tts}/__init__.py +0 -0
  115. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/utils/ITransactional.py +0 -0
  116. {swarmauri_core-0.7.2.dev2/swarmauri_core/vectors → swarmauri_core-0.7.3.dev2/swarmauri_core/utils}/__init__.py +0 -0
  117. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vector_stores/ICloudVectorStore.py +0 -0
  118. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vector_stores/IPersistentVectorStore.py +0 -0
  119. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vector_stores/ISimilarity.py +0 -0
  120. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vector_stores/IVectorNorm.py +0 -0
  121. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vector_stores/IVectorStore.py +0 -0
  122. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vector_stores/IVectorStoreRetrieve.py +0 -0
  123. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vector_stores/IVectorStoreSaveLoad.py +0 -0
  124. {swarmauri_core-0.7.2.dev2/swarmauri_core/vlms → swarmauri_core-0.7.3.dev2/swarmauri_core/vector_stores}/__init__.py +0 -0
  125. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vectors/IVector.py +0 -0
  126. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vectors/IVectorMeta.py +0 -0
  127. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vectors/IVectorProduct.py +0 -0
  128. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vectors/IVectorTransform.py +0 -0
  129. {swarmauri_core-0.7.2.dev2 → swarmauri_core-0.7.3.dev2}/swarmauri_core/vlms/IPredictVision.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: swarmauri-core
3
- Version: 0.7.2.dev2
3
+ Version: 0.7.3.dev2
4
4
  Summary: This repository includes core interfaces for the Swarmauri framework.
5
5
  License: Apache-2.0
6
6
  Author: Jacob Stewart
@@ -14,12 +14,11 @@ Requires-Dist: pydantic (>=2.0)
14
14
  Requires-Dist: pyyaml (>=6.0.2)
15
15
  Description-Content-Type: text/markdown
16
16
 
17
-
18
17
  ![Swamauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
19
18
 
20
19
  <p align="center">
21
20
 
22
- <a href="https://pypi.org/project/swarmauri-core/">
21
+ <a href="https://pypi.org/project/swarmauri-core/">
23
22
  <img src="https://img.shields.io/pypi/dm/swarmauri-core" alt="PyPI - Downloads"/></a>
24
23
  <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/core/README.md">
25
24
  <img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/core/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
@@ -1,9 +1,8 @@
1
-
2
1
  ![Swamauri Logo](https://res.cloudinary.com/dbjmpekvl/image/upload/v1730099724/Swarmauri-logo-lockup-2048x757_hww01w.png)
3
2
 
4
3
  <p align="center">
5
4
 
6
- <a href="https://pypi.org/project/swarmauri-core/">
5
+ <a href="https://pypi.org/project/swarmauri-core/">
7
6
  <img src="https://img.shields.io/pypi/dm/swarmauri-core" alt="PyPI - Downloads"/></a>
8
7
  <a href="https://github.com/swarmauri/swarmauri-sdk/blob/master/pkgs/core/README.md">
9
8
  <img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/swarmauri/swarmauri-sdk/pkgs/core/README.md&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false" alt="GitHub Hits"/></a>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "swarmauri-core"
3
- version = "0.7.2.dev2"
3
+ version = "0.7.3.dev2"
4
4
  description = "This repository includes core interfaces for the Swarmauri framework."
5
5
  authors = [
6
6
  { name = "Jacob Stewart", email = "jacob@swarmauri.com" },
@@ -28,7 +28,8 @@ dev = [
28
28
  "pytest-xdist>=3.6.1",
29
29
  "pytest-json-report>=1.5.0",
30
30
  "pytest-timeout>=2.3.1",
31
- "ruff>=0.9.9"
31
+ "ruff>=0.9.9",
32
+ "pytest-benchmark>=4.0.0"
32
33
  ]
33
34
 
34
35
  [tool.pytest.ini_options]
@@ -40,7 +41,8 @@ markers = [
40
41
  "timeout: mark test to timeout after X seconds",
41
42
  "xfail: Expected failures",
42
43
  "xpass: Expected passes",
43
- "acceptance: Acceptance tests"
44
+ "acceptance: Acceptance tests",
45
+ "perf: Performance tests that measure execution time and resource usage"
44
46
  ]
45
47
 
46
48
  log_cli = true
@@ -0,0 +1,11 @@
1
+ from abc import ABC, abstractmethod
2
+ import logging
3
+
4
+
5
+ class IFormatter(ABC):
6
+ """Interface for logger formatters that define how log messages are formatted."""
7
+
8
+ @abstractmethod
9
+ def compile_formatter(self) -> logging.Formatter:
10
+ """Create and return a logging.Formatter instance."""
11
+ pass
@@ -0,0 +1,71 @@
1
+ from abc import ABC, abstractmethod
2
+ from typing import Any, Dict, List, Type
3
+
4
+ from swarmauri_core.messages.IMessage import IMessage
5
+ from swarmauri_core.schema_converters.ISchemaConvert import ISchemaConvert
6
+
7
+
8
+ class IToolPredict(ABC):
9
+ """
10
+ Interface focusing on the basic properties and settings essential for defining models.
11
+ """
12
+
13
+ @abstractmethod
14
+ def get_schema_converter(self) -> Type["ISchemaConvert"]:
15
+ pass
16
+
17
+ @abstractmethod
18
+ def _schema_convert_tools(self, tools) -> List[Dict[str, Any]]:
19
+ pass
20
+
21
+ @abstractmethod
22
+ def _format_messages(
23
+ self, messages: List[Type["IMessage"]]
24
+ ) -> List[Dict[str, str]]:
25
+ pass
26
+
27
+ @abstractmethod
28
+ def _process_tool_calls(self, tool_calls, toolkit, messages) -> List[IMessage]:
29
+ pass
30
+
31
+ @abstractmethod
32
+ def predict(self, *args, **kwargs) -> any:
33
+ """
34
+ Generate predictions based on the input data provided to the model.
35
+ """
36
+ pass
37
+
38
+ @abstractmethod
39
+ async def apredict(self, *args, **kwargs) -> any:
40
+ """
41
+ Generate predictions based on the input data provided to the model.
42
+ """
43
+ pass
44
+
45
+ @abstractmethod
46
+ def stream(self, *args, **kwargs) -> any:
47
+ """
48
+ Generate predictions based on the input data provided to the model.
49
+ """
50
+ pass
51
+
52
+ @abstractmethod
53
+ async def astream(self, *args, **kwargs) -> any:
54
+ """
55
+ Generate predictions based on the input data provided to the model.
56
+ """
57
+ pass
58
+
59
+ @abstractmethod
60
+ def batch(self, *args, **kwargs) -> any:
61
+ """
62
+ Generate predictions based on the input data provided to the model.
63
+ """
64
+ pass
65
+
66
+ @abstractmethod
67
+ async def abatch(self, *args, **kwargs) -> any:
68
+ """
69
+ Generate predictions based on the input data provided to the model.
70
+ """
71
+ pass
@@ -1,49 +0,0 @@
1
- from abc import ABC, abstractmethod
2
-
3
-
4
- class IPredict(ABC):
5
- """
6
- Interface focusing on the basic properties and settings essential for defining models.
7
- """
8
-
9
- @abstractmethod
10
- def predict(self, *args, **kwargs) -> any:
11
- """
12
- Generate predictions based on the input data provided to the model.
13
- """
14
- pass
15
-
16
- @abstractmethod
17
- async def apredict(self, *args, **kwargs) -> any:
18
- """
19
- Generate predictions based on the input data provided to the model.
20
- """
21
- pass
22
-
23
- @abstractmethod
24
- def stream(self, *args, **kwargs) -> any:
25
- """
26
- Generate predictions based on the input data provided to the model.
27
- """
28
- pass
29
-
30
- @abstractmethod
31
- async def astream(self, *args, **kwargs) -> any:
32
- """
33
- Generate predictions based on the input data provided to the model.
34
- """
35
- pass
36
-
37
- @abstractmethod
38
- def batch(self, *args, **kwargs) -> any:
39
- """
40
- Generate predictions based on the input data provided to the model.
41
- """
42
- pass
43
-
44
- @abstractmethod
45
- async def abatch(self, *args, **kwargs) -> any:
46
- """
47
- Generate predictions based on the input data provided to the model.
48
- """
49
- pass