swarmauri 0.3.0.dev37__tar.gz → 0.3.2.dev1__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-0.3.0.dev37 → swarmauri-0.3.2.dev1}/PKG-INFO +1 -1
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/__init__.py +1 -1
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/models/IPredict.py +1 -1
- swarmauri-0.3.2.dev1/swarmauri/standard/models/base/ModelBase.py +29 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/AnthropicModel.py +14 -12
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/CohereModel.py +13 -10
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/GeminiProModel.py +14 -10
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/GroqModel.py +15 -10
- swarmauri-0.3.2.dev1/swarmauri/standard/models/concrete/GroqToolModel.py +35 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/MistralModel.py +14 -11
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/MistralToolModel.py +13 -8
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/OpenAIImageGenerator.py +14 -13
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/OpenAIModel.py +17 -15
- swarmauri-0.3.2.dev1/swarmauri/standard/models/concrete/OpenAIToolModel.py +44 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/base/ToolBase.py +1 -3
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri.egg-info/PKG-INFO +1 -1
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri.egg-info/SOURCES.txt +0 -1
- swarmauri-0.3.0.dev37/swarmauri/standard/models/base/ModelBase.py +0 -28
- swarmauri-0.3.0.dev37/swarmauri/standard/models/concrete/AzureGPT.py +0 -67
- swarmauri-0.3.0.dev37/swarmauri/standard/models/concrete/GroqToolModel.py +0 -27
- swarmauri-0.3.0.dev37/swarmauri/standard/models/concrete/OpenAIToolModel.py +0 -21
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/README.md +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/setup.cfg +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/setup.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/document_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/document_stores/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/document_stores/concrete/RedisDocumentStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/document_stores/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/retrievers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/retrievers/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/retrievers/concrete/RedisDocumentRetriever.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/retrievers/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/DownloadPdfTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/EntityRecognitionTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/GmailReadTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/GmailSendTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/PaCMAP.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/SentimentAnalysisTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/WebScrapingTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/ZapierHookTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/tools/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/vector_stores/AnnoyVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/vector_stores/ChromadbVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/vector_stores/QdrantVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/community/vector_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/BaseComponent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agent_apis/IAgentCommands.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agent_apis/IAgentRouterCRUD.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agent_apis/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agent_factories/IAgentFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agent_factories/IExportConf.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agent_factories/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgentConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgentName.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgentParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgentRetrieve.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgentSystemContext.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgentToolkit.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/IAgentVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/agents/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/ICallableChain.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/IChain.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/IChainContext.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/IChainContextLoader.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/IChainDependencyResolver.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/IChainFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/IChainStep.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chains/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chunkers/IChunker.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/chunkers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/conversations/IConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/conversations/IMaxSize.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/conversations/ISystemContext.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/conversations/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/distances/IDistanceSimilarity.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/distances/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/document_stores/IDocumentRetrieve.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/document_stores/IDocumentStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/document_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/documents/IDocument.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/documents/IEmbed.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/documents/IExperimentDocument.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/documents/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/experiment_stores/IExperimentStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/experiment_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/messages/IMessage.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/messages/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/metrics/IAggMeasurements.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/metrics/ICalculateMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/metrics/IMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/metrics/IThreshold.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/metrics/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/models/IFit.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/models/IModel.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/models/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/parsers/IParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/parsers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/prompts/IPrompt.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/prompts/IPromptMatrix.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/prompts/ITemplate.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/prompts/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarm_apis/IAgentRegistrationAPI.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarm_apis/ISwarmAPI.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarm_apis/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarms/ISwarm.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarms/ISwarmAgentRegistration.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarms/ISwarmChainCRUD.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarms/ISwarmComponent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarms/ISwarmConfigurationExporter.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarms/ISwarmFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/swarms/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/toolkits/IToolkit.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/toolkits/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/tools/IParameter.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/tools/ITool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/tools/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/tracing/IChainTracer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/tracing/ITraceContext.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/tracing/ITracer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/tracing/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/utils/ITransactional.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/utils/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IAngleBetweenVectors.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IDecompose.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IDivergence.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IGradient.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IOrthogonalProject.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IProject.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IReflect.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/ISaveLoadStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/ISimilarity.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/ISimiliarityQuery.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorArithmetic.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorBasisCheck.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorLinearCombination.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorNorm.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorRetrieve.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorRotate.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorSpan.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/IVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vector_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectorizers/IFeature.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectorizers/ISaveModel.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectorizers/IVectorize.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectorizers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectors/IVector.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectors/IVectorMeta.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectors/IVectorProduct.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectors/IVectorTransform.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/core/vectors/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/RemoteUniversalBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/chains/IChainFormatter.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/chains/IChainNotification.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/chains/IChainPersistence.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/chains/IChainScheduler.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/chains/TypeAgnosticCallableChain.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/chains/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/conversations/ConsensusBuildingConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/conversations/SemanticConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/conversations/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/CanberraDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/ChebyshevDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/HaversineDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/ManhattanDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/MinkowskiDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/SSASimilarity.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/SSIVSimilarity.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/ScannVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/SorensenDiceDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/SquaredEuclideanDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/distances/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/document_stores/TriplesDocumentStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/document_stores/Word2VecDocumentStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/document_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/models/HierarchicalAttentionModel.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/models/SageMaker.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/models/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/parsers/PDFToTextParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/parsers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tools/CypherQueryTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tools/FileDownloaderTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tools/LinkedInArticleTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tools/OutlookSendMailTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tools/SQLite3QueryTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tools/TwitterPostTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tools/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tracing/RemoteTrace.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/tracing/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/utils/ISerializable.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/utils/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/utils/get_last_frame.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/utils/log_prompt_response.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/utils/save_schema.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/vector_stores/TriplesDocumentStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/vector_stores/Word2VecDocumentStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/vector_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/vectorizers/DGLVectorizer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/experimental/vectorizers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agent_factories/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agent_factories/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agent_factories/concrete/AgentFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agent_factories/concrete/ConfDrivenAgentFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agent_factories/concrete/JsonAgentFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agent_factories/concrete/ReflectiveAgentFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agent_factories/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/AgentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/AgentRetrieveBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/ConversationAgentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/NamedAgentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/SystemContextAgentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/ToolAgentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/VectorStoreAgentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/ChatSwarmAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/MultiPartyChatSwarmAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/MultiPartyToolAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/QAAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/RagAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/SimpleConversationAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/ToolAgent.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/agents/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/apis/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/apis/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/apis/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/base/ChainBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/base/ChainContextBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/base/ChainStepBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/base/PromptContextChainBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/concrete/CallableChain.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/concrete/ChainStep.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/concrete/ContextChain.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/concrete/PromptContextChain.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chains/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/concrete/DelimiterBasedChunker.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/concrete/FixedLengthChunker.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/concrete/MdSnippetChunker.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/concrete/SimpleSentenceChunker.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/concrete/SlidingWindowChunker.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/chunkers/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/base/ConversationBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/base/SystemContextBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/LimitedSizeConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/LimitedSystemContextConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/MaxSizeConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/MaxSystemContextConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/SessionCacheConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/SharedConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/SimpleConversation.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/conversations/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/concrete/ChiSquaredDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/concrete/CosineDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/concrete/EuclideanDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/concrete/JaccardIndexDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/concrete/LevenshteinDistance.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/distances/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/document_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/document_stores/base/DocumentStoreBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/document_stores/base/DocumentStoreRetrieveBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/document_stores/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/document_stores/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/documents/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/documents/base/DocumentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/documents/base/EmbeddedBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/documents/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/documents/concrete/Document.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/documents/concrete/EmbeddedDocument.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/documents/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/exceptions/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/exceptions/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/exceptions/concrete/IndexErrorWithContext.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/exceptions/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/base/MessageBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/concrete/AgentMessage.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/concrete/FunctionMessage.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/concrete/HumanMessage.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/concrete/SystemMessage.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/messages/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/base/AggregateMetricBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/base/CalculateMetricBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/base/MetricBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/base/ThresholdMetricBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/FirstImpressionMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/HitRateAtK.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/ImpressionAtK.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/MeanMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/StaticValueMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/SystemUsabilityScaleMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/TaskSuccessRateMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/ThresholdMeanMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/TimeOnTaskMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/ZeroMetric.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/metrics/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/BERTEmbeddingParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/CSVParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/EntityRecognitionParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/HtmlTagStripParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/KeywordExtractorParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/MarkdownParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/OpenAPISpecParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/PhoneNumberExtractorParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/PythonParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/RegExParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/TFIDFParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/TextBlobNounParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/TextBlobSentenceParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/URLExtractorParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/XMLParser.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/parsers/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/base/BasePromptMatrix.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/concrete/Prompt.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/concrete/PromptGenerator.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/concrete/PromptMatrix.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/concrete/PromptTemplate.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/prompts/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/states/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/states/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/states/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/swarms/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/swarms/base/SwarmComponentBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/swarms/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/swarms/concrete/SimpleSwarmFactory.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/swarms/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/toolkits/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/toolkits/base/ToolkitBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/toolkits/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/toolkits/concrete/Toolkit.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/toolkits/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/base/ParameterBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/AdditionTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/CalculatorTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/CodeInterpreterTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/ImportMemoryModuleTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/Parameter.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/TestTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/WeatherTool.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tools/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/concrete/CallableTracer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/concrete/ChainTracer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/concrete/SimpleTraceContext.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/concrete/SimpleTracer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/concrete/TracedVariable.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/concrete/VariableTracer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/tracing/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/apply_metaclass.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/decorate.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/get_class_hash.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/json_validator.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/load_documents_from_json.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/memoize.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/utils/sql_log.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/base/SaveLoadStoreBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/base/VectorDocumentStoreBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/base/VectorDocumentStoreRetrieveBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/concrete/Doc2VecVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/concrete/MLMVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/concrete/SpatialDocVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/concrete/TFIDFVectorStore.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vector_stores/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/concrete/Doc2VecVectorizer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/concrete/MLMVectorizer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/concrete/NMFVectorizer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/concrete/SpatialDocVectorizer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/concrete/TFIDFVectorizer.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectorizers/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectors/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectors/base/VectorBase.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectors/base/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectors/concrete/SimpleVector.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectors/concrete/VectorProduct.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/vectors/concrete/__init__.py +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri.egg-info/dependency_links.txt +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri.egg-info/requires.txt +0 -0
- {swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: swarmauri
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2.dev1
|
|
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
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
from abc import ABC, abstractmethod
|
|
2
|
+
from typing import Any, Union, Optional
|
|
3
|
+
from dataclasses import dataclass, field
|
|
4
|
+
from swarmauri.core.models.IModel import IModel
|
|
5
|
+
from swarmauri.core.models.IPredict import IPredict
|
|
6
|
+
from swarmauri.core.BaseComponent import BaseComponent, ResourceTypes
|
|
7
|
+
|
|
8
|
+
@dataclass
|
|
9
|
+
class ModelBase(IPredict, IModel, BaseComponent):
|
|
10
|
+
model_name: Optional[str] = None
|
|
11
|
+
resource: Optional[str] = field(default=ResourceTypes.MODEL.value)
|
|
12
|
+
|
|
13
|
+
def __post_init__(self):
|
|
14
|
+
if not self.model_name:
|
|
15
|
+
raise ValueError('Must define model_name.')
|
|
16
|
+
|
|
17
|
+
@property
|
|
18
|
+
def model_name(self):
|
|
19
|
+
return self._model_name
|
|
20
|
+
|
|
21
|
+
@model_name.setter
|
|
22
|
+
def model_name(self, value: Union[str, None]) -> None:
|
|
23
|
+
"""
|
|
24
|
+
Property setter that sets the name of the model.
|
|
25
|
+
|
|
26
|
+
Parameters:
|
|
27
|
+
- value (str): The new name of the model.
|
|
28
|
+
"""
|
|
29
|
+
self._model_name = value
|
{swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/AnthropicModel.py
RENAMED
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
import json
|
|
2
2
|
from typing import List
|
|
3
|
+
from dataclasses import dataclass
|
|
3
4
|
import anthropic
|
|
4
|
-
import logging
|
|
5
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
6
5
|
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
@dataclass
|
|
8
|
+
class AnthropicModel(ModelBase):
|
|
9
9
|
allowed_models = ['claude-3-opus-20240229',
|
|
10
10
|
'claude-3-sonnet-20240229',
|
|
11
11
|
'claude-3-haiku-20240307',
|
|
12
12
|
'claude-2.1',
|
|
13
13
|
'claude-2.0',
|
|
14
14
|
'claude-instant-1.2']
|
|
15
|
+
api_key: str = ""
|
|
16
|
+
model_name: str = "claude-3-haiku-20240307"
|
|
17
|
+
|
|
18
|
+
def __post_init__(self):
|
|
19
|
+
self._validate_model_name()
|
|
20
|
+
self.client = anthropic.Anthropic(api_key=self.api_key)
|
|
21
|
+
|
|
22
|
+
def _validate_model_name(self):
|
|
23
|
+
if self.model_name not in self.allowed_models:
|
|
24
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
15
25
|
|
|
16
|
-
def __init__(self, api_key: str, model_name: str = 'claude-3-haiku-20240307'):
|
|
17
|
-
if model_name not in self.allowed_models:
|
|
18
|
-
raise ValueError(f"Model name '{model_name}' is not supported. Choose from {self.allowed_models}")
|
|
19
|
-
|
|
20
|
-
self.client = anthropic.Anthropic(api_key=api_key)
|
|
21
|
-
super().__init__(model_name)
|
|
22
|
-
|
|
23
26
|
|
|
24
27
|
def predict(self, messages, temperature=0.7, max_tokens=256):
|
|
25
28
|
|
|
@@ -28,7 +31,6 @@ class AnthropicModel(ModelBase, IPredict):
|
|
|
28
31
|
for message in messages:
|
|
29
32
|
if message['role'] == 'system':
|
|
30
33
|
system_context = message['content']
|
|
31
|
-
logging.info(f'Setting system to {system_context}.')
|
|
32
34
|
|
|
33
35
|
|
|
34
36
|
# Remove system instruction from messages
|
|
@@ -51,4 +53,4 @@ class AnthropicModel(ModelBase, IPredict):
|
|
|
51
53
|
)
|
|
52
54
|
|
|
53
55
|
message_content = response.content[0].text
|
|
54
|
-
return message_content
|
|
56
|
+
return message_content
|
{swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/CohereModel.py
RENAMED
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import json
|
|
2
2
|
from typing import List
|
|
3
|
+
from dataclasses import dataclass
|
|
3
4
|
import cohere
|
|
4
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
5
5
|
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
class CohereModel(ModelBase
|
|
7
|
+
@dataclass
|
|
8
|
+
class CohereModel(ModelBase):
|
|
9
9
|
allowed_models = ['command-light',
|
|
10
10
|
'command',
|
|
11
11
|
'command-r',
|
|
12
12
|
'command-r-plus']
|
|
13
|
+
api_key: str = ""
|
|
14
|
+
model_name: str = "command-light"
|
|
15
|
+
|
|
16
|
+
def __post_init__(self):
|
|
17
|
+
self._validate_model_name()
|
|
18
|
+
self.client = cohere.Client(api_key=self.api_key)
|
|
19
|
+
|
|
20
|
+
def _validate_model_name(self):
|
|
21
|
+
if self.model_name not in self.allowed_models:
|
|
22
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
13
23
|
|
|
14
|
-
def __init__(self, api_key: str, model_name: str = 'command-light'):
|
|
15
|
-
if model_name not in self.allowed_models:
|
|
16
|
-
raise ValueError(f"Model name '{model_name}' is not supported. Choose from {self.allowed_models}")
|
|
17
|
-
|
|
18
|
-
self.client = cohere.Client(api_key=api_key)
|
|
19
|
-
super().__init__(model_name)
|
|
20
|
-
|
|
21
24
|
|
|
22
25
|
def predict(self, messages, temperature=0.7, max_tokens=256):
|
|
23
26
|
response = self.client.chat(
|
{swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/GeminiProModel.py
RENAMED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import json
|
|
2
2
|
from typing import List
|
|
3
|
+
from dataclasses import dataclass
|
|
3
4
|
import google.generativeai as genai
|
|
4
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
5
5
|
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
class GeminiProModel(ModelBase
|
|
7
|
+
@dataclass
|
|
8
|
+
class GeminiProModel(ModelBase):
|
|
9
9
|
allowed_models = ['gemini-1.5-pro-latest']
|
|
10
|
+
api_key: str = ""
|
|
11
|
+
model_name: str = "gemini-1.5-pro-latest"
|
|
10
12
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
genai.configure(api_key=api_key)
|
|
13
|
+
|
|
14
|
+
def __post_init__(self):
|
|
15
|
+
self._validate_model_name()
|
|
16
|
+
genai.configure(api_key=self.api_key)
|
|
16
17
|
self.safety_settings = [
|
|
17
18
|
{
|
|
18
19
|
"category": "HARM_CATEGORY_HARASSMENT",
|
|
@@ -50,8 +51,11 @@ class GeminiProModel(ModelBase, IPredict):
|
|
|
50
51
|
},
|
|
51
52
|
]
|
|
52
53
|
self.client = None
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
|
|
55
|
+
def _validate_model_name(self):
|
|
56
|
+
if self.model_name not in self.allowed_models:
|
|
57
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
58
|
+
|
|
55
59
|
|
|
56
60
|
def predict(self, messages, temperature=0.7, max_tokens=256):
|
|
57
61
|
generation_config = {
|
{swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/GroqModel.py
RENAMED
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import json
|
|
2
2
|
from typing import List
|
|
3
|
+
from dataclasses import dataclass
|
|
3
4
|
from groq import Groq
|
|
4
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
5
5
|
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
6
6
|
|
|
7
|
+
@dataclass
|
|
8
|
+
class GroqModel(ModelBase):
|
|
9
|
+
allowed_models = ['llama3-8b-8192',
|
|
10
|
+
'llama3-70b-8192',
|
|
11
|
+
'mixtral-8x7b-32768',
|
|
12
|
+
'gemma-7b-it']
|
|
13
|
+
api_key: str = ""
|
|
14
|
+
model_name: str = "mixtral-8x7b-32768"
|
|
7
15
|
|
|
8
|
-
|
|
9
|
-
|
|
16
|
+
def __post_init__(self):
|
|
17
|
+
self._validate_model_name()
|
|
18
|
+
self.client = Groq(api_key=self.api_key)
|
|
10
19
|
|
|
11
|
-
def
|
|
12
|
-
if model_name not in self.allowed_models:
|
|
13
|
-
raise ValueError(f"
|
|
14
|
-
|
|
15
|
-
self.client = Groq(api_key=api_key)
|
|
16
|
-
super().__init__(model_name)
|
|
17
|
-
|
|
20
|
+
def _validate_model_name(self):
|
|
21
|
+
if self.model_name not in self.allowed_models:
|
|
22
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
18
23
|
|
|
19
24
|
def predict(self, messages,
|
|
20
25
|
temperature=0.7,
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
from groq import Groq
|
|
3
|
+
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
4
|
+
|
|
5
|
+
@dataclass
|
|
6
|
+
class GroqToolModel(ModelBase):
|
|
7
|
+
allowed_models = ['llama3-8b-8192',
|
|
8
|
+
'llama3-70b-8192',
|
|
9
|
+
'mixtral-8x7b-32768',
|
|
10
|
+
'gemma-7b-it']
|
|
11
|
+
api_key: str = ""
|
|
12
|
+
model_name: str = "mixtral-8x7b-32768"
|
|
13
|
+
|
|
14
|
+
def __post_init__(self):
|
|
15
|
+
self._validate_model_name()
|
|
16
|
+
self.client = Groq(api_key=self.api_key)
|
|
17
|
+
|
|
18
|
+
def _validate_model_name(self):
|
|
19
|
+
if self.model_name not in self.allowed_models:
|
|
20
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def predict(self, messages, tools=None, tool_choice=None, temperature=0.7, max_tokens=1024):
|
|
25
|
+
if tools and not tool_choice:
|
|
26
|
+
tool_choice = "auto"
|
|
27
|
+
response = self.client.chat.completions.create(
|
|
28
|
+
model=self.model_name,
|
|
29
|
+
messages=messages,
|
|
30
|
+
temperature=temperature,
|
|
31
|
+
max_tokens=max_tokens,
|
|
32
|
+
tools=tools,
|
|
33
|
+
tool_choice=tool_choice,
|
|
34
|
+
)
|
|
35
|
+
return response
|
{swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/MistralModel.py
RENAMED
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import json
|
|
2
2
|
from typing import List
|
|
3
|
+
from dataclasses import dataclass
|
|
3
4
|
from mistralai.client import MistralClient
|
|
4
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
5
5
|
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
class MistralModel(ModelBase, IPredict):
|
|
7
|
+
class MistralModel(ModelBase):
|
|
9
8
|
allowed_models = ['open-mistral-7b',
|
|
10
9
|
'open-mixtral-8x7b',
|
|
11
10
|
'open-mixtral-8x22b',
|
|
12
11
|
'mistral-small-latest',
|
|
13
12
|
'mistral-medium-latest',
|
|
14
13
|
'mistral-large-latest',
|
|
14
|
+
'codestral'
|
|
15
15
|
]
|
|
16
|
+
api_key: str = ""
|
|
17
|
+
model_name: str = "open-mixtral-8x7b"
|
|
18
|
+
|
|
19
|
+
def __post_init__(self):
|
|
20
|
+
self._validate_model_name()
|
|
21
|
+
self.client = MistralClient(api_key=self.api_key)
|
|
22
|
+
|
|
23
|
+
def _validate_model_name(self):
|
|
24
|
+
if self.model_name not in self.allowed_models:
|
|
25
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
26
|
+
|
|
16
27
|
|
|
17
|
-
def __init__(self, api_key: str, model_name: str = 'open-mixtral-8x7b'):
|
|
18
|
-
if model_name not in self.allowed_models:
|
|
19
|
-
raise ValueError(f"Model name '{model_name}' is not supported. Choose from {self.allowed_models}")
|
|
20
|
-
|
|
21
|
-
self.client = MistralClient(api_key=api_key)
|
|
22
|
-
super().__init__(model_name)
|
|
23
|
-
|
|
24
|
-
|
|
25
28
|
def predict(self, messages,
|
|
26
29
|
temperature: int = 0.7,
|
|
27
30
|
max_tokens: int = 256,
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
+
import json
|
|
2
|
+
from typing import List
|
|
3
|
+
from dataclasses import dataclass
|
|
1
4
|
from mistralai.client import MistralClient
|
|
2
5
|
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
3
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
4
6
|
|
|
5
|
-
class
|
|
7
|
+
class MistralModel(ModelBase):
|
|
6
8
|
allowed_models = ['open-mixtral-8x22b',
|
|
7
9
|
'mistral-small-latest',
|
|
8
10
|
'mistral-large-latest',
|
|
9
11
|
]
|
|
12
|
+
api_key: str = ""
|
|
13
|
+
model_name: str = "open-mixtral-8x22b"
|
|
10
14
|
|
|
11
|
-
def
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
def __post_init__(self):
|
|
16
|
+
self._validate_model_name()
|
|
17
|
+
self.client = MistralClient(api_key=self.api_key)
|
|
18
|
+
|
|
19
|
+
def _validate_model_name(self):
|
|
20
|
+
if self.model_name not in self.allowed_models:
|
|
21
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
17
22
|
|
|
18
23
|
|
|
19
24
|
def predict(self, messages, tools=None, tool_choice=None, temperature=0.7,
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import json
|
|
2
|
+
from dataclasses import dataclass
|
|
2
3
|
from openai import OpenAI
|
|
3
|
-
from
|
|
4
|
-
from ....core.models.IPredict import IPredict
|
|
4
|
+
from swarmauri.core.models.base.ModelBase import ModelBase
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
@dataclass
|
|
7
|
+
class OpenAIImageGenerator(ModelBase):
|
|
8
|
+
allowed_models = ['dall-e']
|
|
9
|
+
api_key: str = ""
|
|
10
|
+
model_name: str = "dall-e"
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
self.
|
|
17
|
-
|
|
12
|
+
def __post_init__(self):
|
|
13
|
+
self._validate_model_name()
|
|
14
|
+
self.client = OpenAI(api_key=self.api_key)
|
|
15
|
+
|
|
16
|
+
def _validate_model_name(self):
|
|
17
|
+
if self.model_name not in self.allowed_models:
|
|
18
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
18
19
|
|
|
19
20
|
def predict(self, prompt: str, size: str = "1024x1024",
|
|
20
21
|
quality: str = "standard", n: int = 1) -> str:
|
{swarmauri-0.3.0.dev37 → swarmauri-0.3.2.dev1}/swarmauri/standard/models/concrete/OpenAIModel.py
RENAMED
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
import json
|
|
2
2
|
from typing import List
|
|
3
|
+
from dataclasses import dataclass
|
|
3
4
|
from openai import OpenAI
|
|
4
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
5
5
|
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
class OpenAIModel(ModelBase
|
|
7
|
+
@dataclass
|
|
8
|
+
class OpenAIModel(ModelBase):
|
|
9
9
|
allowed_models = ['gpt-4o',
|
|
10
|
+
'gpt-4o-2024-05-13',
|
|
10
11
|
'gpt-4-turbo',
|
|
12
|
+
'gpt-4-turbo-2024-04-09',
|
|
13
|
+
'gpt-4-turbo-preview',
|
|
11
14
|
'gpt-4-0125-preview',
|
|
15
|
+
'gpt-4-1106-preview',
|
|
12
16
|
'gpt-4',
|
|
13
17
|
'gpt-4-0613',
|
|
14
18
|
'gpt-4-32k',
|
|
15
19
|
'gpt-4-32k-0613',
|
|
16
20
|
'gpt-3.5-turbo-0125',
|
|
21
|
+
'gpt-3.5-turbo-1106',
|
|
22
|
+
'gpt-3.5-turbo-0613',
|
|
17
23
|
'gpt-3.5-turbo-16k-0613',
|
|
18
24
|
'gpt-3.5-turbo-16k',
|
|
19
25
|
'gpt-3.5-turbo']
|
|
26
|
+
api_key: str = ""
|
|
27
|
+
model_name: str = "gpt-3.5-turbo-16k"
|
|
20
28
|
|
|
21
|
-
def
|
|
22
|
-
|
|
23
|
-
|
|
29
|
+
def __post_init__(self):
|
|
30
|
+
self._validate_model_name()
|
|
31
|
+
self.client = OpenAI(api_key=self.api_key)
|
|
24
32
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
if model_name not in self.allowed_models:
|
|
29
|
-
raise ValueError(f"Model name '{model_name}' is not supported. Choose from {self.allowed_models}")
|
|
30
|
-
|
|
31
|
-
self.client = OpenAI(api_key=api_key)
|
|
32
|
-
super().__init__(model_name)
|
|
33
|
-
|
|
33
|
+
def _validate_model_name(self):
|
|
34
|
+
if self.model_name not in self.allowed_models:
|
|
35
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
34
36
|
|
|
35
37
|
def predict(self, messages, temperature=0.7, max_tokens=256, enable_json=False, stop: List[str] = None):
|
|
36
38
|
"""
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
from openai import OpenAI
|
|
3
|
+
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@dataclass
|
|
7
|
+
class OpenAIToolModel(ModelBase):
|
|
8
|
+
allowed_models = ['gpt-4o',
|
|
9
|
+
'gpt-4o-2024-05-13',
|
|
10
|
+
'gpt-4-turbo',
|
|
11
|
+
'gpt-4-turbo-2024-04-09',
|
|
12
|
+
'gpt-4-turbo-preview',
|
|
13
|
+
'gpt-4-0125-preview',
|
|
14
|
+
'gpt-4-1106-preview',
|
|
15
|
+
'gpt-4',
|
|
16
|
+
'gpt-4-0613',
|
|
17
|
+
'gpt-3.5-turbo',
|
|
18
|
+
'gpt-3.5-turbo-0125',
|
|
19
|
+
'gpt-3.5-turbo-1106',
|
|
20
|
+
'gpt-3.5-turbo-0613']
|
|
21
|
+
api_key: str = ""
|
|
22
|
+
model_name: str = "gpt-3.5-turbo-0125"
|
|
23
|
+
|
|
24
|
+
def __post_init__(self):
|
|
25
|
+
self._validate_model_name()
|
|
26
|
+
self.client = OpenAI(api_key=self.api_key)
|
|
27
|
+
|
|
28
|
+
def _validate_model_name(self):
|
|
29
|
+
if self.model_name not in self.allowed_models:
|
|
30
|
+
raise ValueError(f"Invalid model name: {self.model_name}. Allowed models are: {self.allowed_models}")
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def predict(self, messages, tools=None, tool_choice=None, temperature=0.7, max_tokens=1024):
|
|
34
|
+
if tools and not tool_choice:
|
|
35
|
+
tool_choice = "auto"
|
|
36
|
+
response = self.client.chat.completions.create(
|
|
37
|
+
model=self.model_name,
|
|
38
|
+
messages=messages,
|
|
39
|
+
temperature=temperature,
|
|
40
|
+
max_tokens=max_tokens,
|
|
41
|
+
tools=tools,
|
|
42
|
+
tool_choice=tool_choice,
|
|
43
|
+
)
|
|
44
|
+
return response
|
|
@@ -3,8 +3,8 @@ from typing import Optional, List, Any
|
|
|
3
3
|
from dataclasses import dataclass, field, asdict
|
|
4
4
|
import json
|
|
5
5
|
from swarmauri.core.tools.ITool import ITool
|
|
6
|
-
from swarmauri.core.BaseComponent import BaseComponent, ResourceTypes
|
|
7
6
|
from swarmauri.standard.tools.concrete.Parameter import Parameter
|
|
7
|
+
from swarmauri.core.BaseComponent import BaseComponent, ResourceTypes
|
|
8
8
|
|
|
9
9
|
@dataclass
|
|
10
10
|
class ToolBase(ITool, BaseComponent, ABC):
|
|
@@ -21,8 +21,6 @@ class ToolBase(ITool, BaseComponent, ABC):
|
|
|
21
21
|
if not self.description:
|
|
22
22
|
raise ValueError('Tool must have a description.')
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
24
|
@property
|
|
27
25
|
def parameters(self):
|
|
28
26
|
return self._parameters
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: swarmauri
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2.dev1
|
|
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
|
|
@@ -299,7 +299,6 @@ swarmauri/standard/models/__init__.py
|
|
|
299
299
|
swarmauri/standard/models/base/ModelBase.py
|
|
300
300
|
swarmauri/standard/models/base/__init__.py
|
|
301
301
|
swarmauri/standard/models/concrete/AnthropicModel.py
|
|
302
|
-
swarmauri/standard/models/concrete/AzureGPT.py
|
|
303
302
|
swarmauri/standard/models/concrete/CohereModel.py
|
|
304
303
|
swarmauri/standard/models/concrete/GeminiProModel.py
|
|
305
304
|
swarmauri/standard/models/concrete/GroqModel.py
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
from abc import ABC, abstractmethod
|
|
2
|
-
from typing import Any
|
|
3
|
-
from swarmauri.core.models.IModel import IModel
|
|
4
|
-
|
|
5
|
-
class ModelBase(IModel, ABC):
|
|
6
|
-
"""
|
|
7
|
-
Concrete implementation of the IModel abstract base class.
|
|
8
|
-
This version includes managing the model name through a property and a setter.
|
|
9
|
-
"""
|
|
10
|
-
@abstractmethod
|
|
11
|
-
def __init__(self, model_name: str):
|
|
12
|
-
self._model_name = model_name
|
|
13
|
-
|
|
14
|
-
@property
|
|
15
|
-
def model_name(self):
|
|
16
|
-
return self._model_name
|
|
17
|
-
|
|
18
|
-
@model_name.setter
|
|
19
|
-
def model_name(self, value: str) -> None:
|
|
20
|
-
"""
|
|
21
|
-
Property setter that sets the name of the model.
|
|
22
|
-
|
|
23
|
-
Parameters:
|
|
24
|
-
- value (str): The new name of the model.
|
|
25
|
-
"""
|
|
26
|
-
self._model_name = value
|
|
27
|
-
|
|
28
|
-
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import json
|
|
2
|
-
from openai import AzureOpenAI
|
|
3
|
-
from ..base.ModelBase import ModelBase
|
|
4
|
-
from ....core.models.IPredict import IPredict
|
|
5
|
-
|
|
6
|
-
class AzureGPT(ModelBase, IPredict):
|
|
7
|
-
def __init__(self, azure_endpoint: str, api_key: str, api_version: str, model_name: str):
|
|
8
|
-
"""
|
|
9
|
-
Initialize the Azure model with an API key.
|
|
10
|
-
|
|
11
|
-
Parameters:
|
|
12
|
-
- api_key (str): Your OpenAI API key.
|
|
13
|
-
"""
|
|
14
|
-
self.azure_endpoint = azure_endpoint
|
|
15
|
-
self.api_key = api_key
|
|
16
|
-
self.api_version = api_version
|
|
17
|
-
self.client = AzureOpenAI(
|
|
18
|
-
azure_endpoint = azure_endpoint,
|
|
19
|
-
api_key = api_key,
|
|
20
|
-
api_version = api_version
|
|
21
|
-
)
|
|
22
|
-
super().__init__(model_name)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
def predict(self, messages, temperature=0.7, max_tokens=256, enable_json=True):
|
|
27
|
-
"""
|
|
28
|
-
Generate predictions using the OpenAI model.
|
|
29
|
-
|
|
30
|
-
Parameters:
|
|
31
|
-
- messages: Input data/messages for the model.
|
|
32
|
-
- temperature (float): Sampling temperature.
|
|
33
|
-
- max_tokens (int): Maximum number of tokens to generate.
|
|
34
|
-
- enable_json (bool): Format response as JSON.
|
|
35
|
-
|
|
36
|
-
Returns:
|
|
37
|
-
- The generated message content.
|
|
38
|
-
"""
|
|
39
|
-
|
|
40
|
-
if enable_json:
|
|
41
|
-
response = self.client.chat.completions.create(
|
|
42
|
-
model=self.model_name,
|
|
43
|
-
messages=messages,
|
|
44
|
-
temperature=temperature,
|
|
45
|
-
response_format={ "type": "json_object" },
|
|
46
|
-
max_tokens=max_tokens,
|
|
47
|
-
top_p=1,
|
|
48
|
-
frequency_penalty=0,
|
|
49
|
-
presence_penalty=0,
|
|
50
|
-
stop=None
|
|
51
|
-
)
|
|
52
|
-
else:
|
|
53
|
-
response = self.client.chat.completions.create(
|
|
54
|
-
model=self.model_name,
|
|
55
|
-
messages=messages,
|
|
56
|
-
temperature=temperature,
|
|
57
|
-
max_tokens=max_tokens,
|
|
58
|
-
top_p=1,
|
|
59
|
-
frequency_penalty=0,
|
|
60
|
-
presence_penalty=0,
|
|
61
|
-
stop=None
|
|
62
|
-
)
|
|
63
|
-
|
|
64
|
-
result = response.json()
|
|
65
|
-
message_content = json.loads(result['choices'][0]['message']['content'])
|
|
66
|
-
|
|
67
|
-
return message_content
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
from groq import Groq
|
|
2
|
-
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
3
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
4
|
-
|
|
5
|
-
class GroqToolModel(ModelBase, IPredict):
|
|
6
|
-
allowed_models = ['llama3-8b-8192', 'llama3-70b-8192', 'mixtral-8x7b-32768', 'gemma-7b-it']
|
|
7
|
-
|
|
8
|
-
def __init__(self, api_key: str, model_name: str = 'mixtral-8x7b-32768'):
|
|
9
|
-
if model_name not in self.allowed_models:
|
|
10
|
-
raise ValueError(f"Model name '{model_name}' is not supported. Choose from {self.allowed_models}")
|
|
11
|
-
|
|
12
|
-
self.client = Groq(api_key=api_key)
|
|
13
|
-
super().__init__(model_name)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def predict(self, messages, tools=None, tool_choice=None, temperature=0.7, max_tokens=1024):
|
|
17
|
-
if tools and not tool_choice:
|
|
18
|
-
tool_choice = "auto"
|
|
19
|
-
response = self.client.chat.completions.create(
|
|
20
|
-
model=self.model_name,
|
|
21
|
-
messages=messages,
|
|
22
|
-
temperature=temperature,
|
|
23
|
-
max_tokens=max_tokens,
|
|
24
|
-
tools=tools,
|
|
25
|
-
tool_choice=tool_choice,
|
|
26
|
-
)
|
|
27
|
-
return response
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
from openai import OpenAI
|
|
2
|
-
from swarmauri.standard.models.base.ModelBase import ModelBase
|
|
3
|
-
from swarmauri.core.models.IPredict import IPredict
|
|
4
|
-
|
|
5
|
-
class OpenAIToolModel(ModelBase, IPredict):
|
|
6
|
-
def __init__(self, api_key: str, model_name: str = "gpt-3.5-turbo-0125"):
|
|
7
|
-
self.client = OpenAI(api_key=api_key)
|
|
8
|
-
super().__init__(model_name)
|
|
9
|
-
|
|
10
|
-
def predict(self, messages, tools=None, tool_choice=None, temperature=0.7, max_tokens=1024):
|
|
11
|
-
if tools and not tool_choice:
|
|
12
|
-
tool_choice = "auto"
|
|
13
|
-
response = self.client.chat.completions.create(
|
|
14
|
-
model=self.model_name,
|
|
15
|
-
messages=messages,
|
|
16
|
-
temperature=temperature,
|
|
17
|
-
max_tokens=max_tokens,
|
|
18
|
-
tools=tools,
|
|
19
|
-
tool_choice=tool_choice,
|
|
20
|
-
)
|
|
21
|
-
return response
|
|
File without changes
|
|
File without changes
|
|
File without changes
|