swarmauri-core 0.5.1.dev3__tar.gz → 0.5.1.dev4__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.
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/PKG-INFO +1 -1
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/ComponentBase.py +1 -1
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/__init__.py +1 -1
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/experiment_stores/__init__.py +2 -2
- swarmauri_core-0.5.1.dev4/swarmauri_core/measurements/IMeasurement.py +19 -0
- swarmauri_core-0.5.1.dev4/swarmauri_core/measurements/IMeasurementAggregate.py +16 -0
- swarmauri_core-0.5.1.dev4/swarmauri_core/measurements/IMeasurementCalculate.py +30 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/PKG-INFO +1 -1
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/SOURCES.txt +5 -5
- swarmauri_core-0.5.1.dev3/swarmauri_core/metrics/IMetric.py +0 -19
- swarmauri_core-0.5.1.dev3/swarmauri_core/metrics/IMetricAggregate.py +0 -16
- swarmauri_core-0.5.1.dev3/swarmauri_core/metrics/IMetricCalculate.py +0 -30
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/setup.cfg +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/setup.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_apis/IAgentCommands.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_apis/IAgentRouterCRUD.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_apis/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_factories/IAgentFactory.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_factories/IExportConf.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_factories/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgent.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentConversation.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentParser.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentRetrieve.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentSystemContext.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentToolkit.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentVectorStore.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/ICallableChain.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChain.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainContext.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainContextLoader.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainDependencyResolver.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainFactory.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainStep.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chunkers/IChunker.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chunkers/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/conversations/IConversation.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/conversations/IMaxSize.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/conversations/ISystemContext.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/conversations/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/distances/IDistanceSimilarity.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/distances/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/document_stores/IDocumentRetrieve.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/document_stores/IDocumentStore.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/document_stores/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/documents/IDocument.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/documents/IExperimentDocument.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/documents/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/IFeature.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/ISaveModel.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/IVectorize.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/experiment_stores/IExperimentStore.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/llms/IFit.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/llms/IPredict.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/llms/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3/swarmauri_core/metrics → swarmauri_core-0.5.1.dev4/swarmauri_core/measurements}/IThreshold.py +0 -0
- {swarmauri_core-0.5.1.dev3/swarmauri_core/metrics → swarmauri_core-0.5.1.dev4/swarmauri_core/measurements}/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/messages/IMessage.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/messages/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/parsers/IParser.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/parsers/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/prompts/IPrompt.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/prompts/IPromptMatrix.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/prompts/ITemplate.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/prompts/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/schema_converters/ISchemaConvert.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/schema_converters/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarm_apis/IAgentRegistrationAPI.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarm_apis/ISwarmAPI.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarm_apis/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarm.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmAgentRegistration.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmChainCRUD.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmComponent.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmConfigurationExporter.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmFactory.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/toolkits/IToolkit.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/toolkits/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tools/IParameter.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tools/ITool.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tools/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tracing/IChainTracer.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tracing/ITraceContext.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tracing/ITracer.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tracing/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/typing.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/utils/ITransactional.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/utils/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vcms/IPredictVision.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vcms/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/ICloudVectorStore.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/IPersistentVectorStore.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/ISimilarity.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/IVectorNorm.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/IVectorStore.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/IVectorStoreRetrieve.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/IVectorStoreSaveLoad.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/IVector.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/IVectorMeta.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/IVectorProduct.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/IVectorTransform.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/__init__.py +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/dependency_links.txt +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/requires.txt +0 -0
- {swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: swarmauri-core
|
|
3
|
-
Version: 0.5.1.
|
|
3
|
+
Version: 0.5.1.dev4
|
|
4
4
|
Summary: This repository includes core interfaces, standard ABCs and concrete references, third party plugins, and experimental modules for the swarmaURI framework.
|
|
5
5
|
Home-page: http://github.com/swarmauri/swarmauri-sdk
|
|
6
6
|
Author: Jacob Stewart
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/experiment_stores/__init__.py
RENAMED
|
@@ -75,10 +75,10 @@ class IExperimentStore(ABC):
|
|
|
75
75
|
@abstractmethod
|
|
76
76
|
def evaluate_experiments(self, evaluation_criteria: Dict[str, Any]) -> Any:
|
|
77
77
|
"""
|
|
78
|
-
Evaluates the experiments stored in the experiment store based on given criteria and
|
|
78
|
+
Evaluates the experiments stored in the experiment store based on given criteria and measurements.
|
|
79
79
|
|
|
80
80
|
Parameters:
|
|
81
|
-
- evaluation_criteria (Dict[str, Any]): The criteria and
|
|
81
|
+
- evaluation_criteria (Dict[str, Any]): The criteria and measurements to evaluate the experiments.
|
|
82
82
|
|
|
83
83
|
Returns:
|
|
84
84
|
- Any: The evaluation results, which may vary depending on the evaluation criteria.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
from abc import ABC, abstractmethod
|
|
3
|
+
|
|
4
|
+
class IMeasurement(ABC):
|
|
5
|
+
"""
|
|
6
|
+
Defines a general interface for measurements within the SwarmaURI system.
|
|
7
|
+
Measurements can be anything from system performance measurements to
|
|
8
|
+
machine learning model evaluation measurements.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
@abstractmethod
|
|
12
|
+
def __call__(self, **kwargs) -> Any:
|
|
13
|
+
"""
|
|
14
|
+
Retrieves the current value of the measurement.
|
|
15
|
+
|
|
16
|
+
Returns:
|
|
17
|
+
The current value of the measurement.
|
|
18
|
+
"""
|
|
19
|
+
pass
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from typing import List, Any
|
|
2
|
+
from abc import ABC, abstractmethod
|
|
3
|
+
|
|
4
|
+
class IMeasurementAggregate(ABC):
|
|
5
|
+
|
|
6
|
+
@abstractmethod
|
|
7
|
+
def add_measurement(self, measurement: Any) -> None:
|
|
8
|
+
pass
|
|
9
|
+
|
|
10
|
+
@abstractmethod
|
|
11
|
+
def reset(self) -> None:
|
|
12
|
+
"""
|
|
13
|
+
Reset or clear the measurement's current state, starting fresh as if no data had been processed.
|
|
14
|
+
This is useful for measurements that might aggregate or average data over time and need to be reset.
|
|
15
|
+
"""
|
|
16
|
+
pass
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
from abc import ABC, abstractmethod
|
|
3
|
+
|
|
4
|
+
class IMeasurementCalculate(ABC):
|
|
5
|
+
|
|
6
|
+
@abstractmethod
|
|
7
|
+
def calculate(self, **kwargs) -> Any:
|
|
8
|
+
"""
|
|
9
|
+
Calculate the measurement based on the provided data.
|
|
10
|
+
|
|
11
|
+
Args:
|
|
12
|
+
*args: Variable length argument list that the measurement calculation might require.
|
|
13
|
+
**kwargs: Arbitrary keyword arguments that the measurement calculation might require.
|
|
14
|
+
"""
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
@abstractmethod
|
|
18
|
+
def update(self, value) -> None:
|
|
19
|
+
"""
|
|
20
|
+
Update the measurement value based on new information.
|
|
21
|
+
|
|
22
|
+
Args:
|
|
23
|
+
value: The new information used to update the measurement. This could be a new
|
|
24
|
+
measurement or data point that affects the measurement's current value.
|
|
25
|
+
|
|
26
|
+
Note:
|
|
27
|
+
This method is intended for internal use and should not be publicly accessible.
|
|
28
|
+
"""
|
|
29
|
+
pass
|
|
30
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: swarmauri-core
|
|
3
|
-
Version: 0.5.1.
|
|
3
|
+
Version: 0.5.1.dev4
|
|
4
4
|
Summary: This repository includes core interfaces, standard ABCs and concrete references, third party plugins, and experimental modules for the swarmaURI framework.
|
|
5
5
|
Home-page: http://github.com/swarmauri/swarmauri-sdk
|
|
6
6
|
Author: Jacob Stewart
|
|
@@ -52,13 +52,13 @@ swarmauri_core/experiment_stores/__init__.py
|
|
|
52
52
|
swarmauri_core/llms/IFit.py
|
|
53
53
|
swarmauri_core/llms/IPredict.py
|
|
54
54
|
swarmauri_core/llms/__init__.py
|
|
55
|
+
swarmauri_core/measurements/IMeasurement.py
|
|
56
|
+
swarmauri_core/measurements/IMeasurementAggregate.py
|
|
57
|
+
swarmauri_core/measurements/IMeasurementCalculate.py
|
|
58
|
+
swarmauri_core/measurements/IThreshold.py
|
|
59
|
+
swarmauri_core/measurements/__init__.py
|
|
55
60
|
swarmauri_core/messages/IMessage.py
|
|
56
61
|
swarmauri_core/messages/__init__.py
|
|
57
|
-
swarmauri_core/metrics/IMetric.py
|
|
58
|
-
swarmauri_core/metrics/IMetricAggregate.py
|
|
59
|
-
swarmauri_core/metrics/IMetricCalculate.py
|
|
60
|
-
swarmauri_core/metrics/IThreshold.py
|
|
61
|
-
swarmauri_core/metrics/__init__.py
|
|
62
62
|
swarmauri_core/parsers/IParser.py
|
|
63
63
|
swarmauri_core/parsers/__init__.py
|
|
64
64
|
swarmauri_core/prompts/IPrompt.py
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
from typing import Any
|
|
2
|
-
from abc import ABC, abstractmethod
|
|
3
|
-
|
|
4
|
-
class IMetric(ABC):
|
|
5
|
-
"""
|
|
6
|
-
Defines a general interface for metrics within the SwarmaURI system.
|
|
7
|
-
Metrics can be anything from system performance measurements to
|
|
8
|
-
machine learning model evaluation metrics.
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
@abstractmethod
|
|
12
|
-
def __call__(self, **kwargs) -> Any:
|
|
13
|
-
"""
|
|
14
|
-
Retrieves the current value of the metric.
|
|
15
|
-
|
|
16
|
-
Returns:
|
|
17
|
-
The current value of the metric.
|
|
18
|
-
"""
|
|
19
|
-
pass
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
from typing import List, Any
|
|
2
|
-
from abc import ABC, abstractmethod
|
|
3
|
-
|
|
4
|
-
class IMetricAggregate(ABC):
|
|
5
|
-
|
|
6
|
-
@abstractmethod
|
|
7
|
-
def add_measurement(self, measurement: Any) -> None:
|
|
8
|
-
pass
|
|
9
|
-
|
|
10
|
-
@abstractmethod
|
|
11
|
-
def reset(self) -> None:
|
|
12
|
-
"""
|
|
13
|
-
Reset or clear the metric's current state, starting fresh as if no data had been processed.
|
|
14
|
-
This is useful for metrics that might aggregate or average data over time and need to be reset.
|
|
15
|
-
"""
|
|
16
|
-
pass
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
from typing import Any
|
|
2
|
-
from abc import ABC, abstractmethod
|
|
3
|
-
|
|
4
|
-
class IMetricCalculate(ABC):
|
|
5
|
-
|
|
6
|
-
@abstractmethod
|
|
7
|
-
def calculate(self, **kwargs) -> Any:
|
|
8
|
-
"""
|
|
9
|
-
Calculate the metric based on the provided data.
|
|
10
|
-
|
|
11
|
-
Args:
|
|
12
|
-
*args: Variable length argument list that the metric calculation might require.
|
|
13
|
-
**kwargs: Arbitrary keyword arguments that the metric calculation might require.
|
|
14
|
-
"""
|
|
15
|
-
pass
|
|
16
|
-
|
|
17
|
-
@abstractmethod
|
|
18
|
-
def update(self, value) -> None:
|
|
19
|
-
"""
|
|
20
|
-
Update the metric value based on new information.
|
|
21
|
-
|
|
22
|
-
Args:
|
|
23
|
-
value: The new information used to update the metric. This could be a new
|
|
24
|
-
measurement or data point that affects the metric's current value.
|
|
25
|
-
|
|
26
|
-
Note:
|
|
27
|
-
This method is intended for internal use and should not be publicly accessible.
|
|
28
|
-
"""
|
|
29
|
-
pass
|
|
30
|
-
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_apis/IAgentCommands.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_apis/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agent_factories/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentConversation.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentParser.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentRetrieve.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentSystemContext.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentToolkit.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/agents/IAgentVectorStore.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/ICallableChain.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainContext.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainContextLoader.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/chains/IChainFactory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/conversations/IMaxSize.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/conversations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/distances/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/document_stores/__init__.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/documents/IDocument.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/documents/__init__.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/IFeature.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/ISaveModel.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/IVectorize.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/embeddings/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/prompts/IPromptMatrix.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/schema_converters/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarm_apis/ISwarmAPI.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarm_apis/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmChainCRUD.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmComponent.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/swarms/ISwarmFactory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tracing/IChainTracer.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/tracing/ITraceContext.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/utils/ITransactional.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vcms/IPredictVision.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/ISimilarity.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/IVectorNorm.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/IVectorStore.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vector_stores/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/IVectorMeta.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/IVectorProduct.py
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core/vectors/IVectorTransform.py
RENAMED
|
File without changes
|
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/requires.txt
RENAMED
|
File without changes
|
{swarmauri_core-0.5.1.dev3 → swarmauri_core-0.5.1.dev4}/swarmauri_core.egg-info/top_level.txt
RENAMED
|
File without changes
|