swm_example_community_package 0.6.0.dev148__py3-none-any.whl
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.
- swm_example_community_package/ExampleCommunityAgent.py +16 -0
- swm_example_community_package/__init__.py +15 -0
- swm_example_community_package-0.6.0.dev148.dist-info/METADATA +19 -0
- swm_example_community_package-0.6.0.dev148.dist-info/RECORD +6 -0
- swm_example_community_package-0.6.0.dev148.dist-info/WHEEL +4 -0
- swm_example_community_package-0.6.0.dev148.dist-info/entry_points.txt +3 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
from typing import Any, Optional, Dict, Literal
|
|
2
|
+
from swarmauri_base.agents.AgentBase import AgentBase
|
|
3
|
+
from swarmauri_base.conversations.ConversationBase import ConversationBase
|
|
4
|
+
from swarmauri_core.ComponentBase import ComponentBase, SubclassUnion
|
|
5
|
+
|
|
6
|
+
@ComponentBase.register_type(AgentBase, 'ExampleCommunityAgent')
|
|
7
|
+
class ExampleCommunityAgent(AgentBase):
|
|
8
|
+
conversation: SubclassUnion[ConversationBase]
|
|
9
|
+
type: Literal['ExampleCommunityAgent'] = 'ExampleCommunityAgent'
|
|
10
|
+
|
|
11
|
+
def exec(self,
|
|
12
|
+
input_str: Optional[str] = "",
|
|
13
|
+
llm_kwargs: Optional[Dict] = {}
|
|
14
|
+
) -> Any:
|
|
15
|
+
|
|
16
|
+
pass
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# swm_example_community_package/__init__.py
|
|
2
|
+
__version__ = "0.6.0.dev26"
|
|
3
|
+
__long_desc__ = """
|
|
4
|
+
|
|
5
|
+
# Swarmauri Example Plugin
|
|
6
|
+
|
|
7
|
+
This repository includes an example of a Swarmauri Plugin.
|
|
8
|
+
|
|
9
|
+
Visit us at: https://swarmauri.com
|
|
10
|
+
Follow us at: https://github.com/swarmauri
|
|
11
|
+
Star us at: https://github.com/swarmauri/swarmauri-sdk
|
|
12
|
+
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: swm_example_community_package
|
|
3
|
+
Version: 0.6.0.dev148
|
|
4
|
+
Summary: example community package
|
|
5
|
+
License: Apache-2.0
|
|
6
|
+
Author: Jacob Stewart
|
|
7
|
+
Author-email: jacob@swarmauri.com
|
|
8
|
+
Requires-Python: >=3.10,<3.13
|
|
9
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Requires-Dist: swarmauri_base (>=0.6.0.dev148,<0.7.0)
|
|
15
|
+
Requires-Dist: swarmauri_core (>=0.6.0.dev148,<0.7.0)
|
|
16
|
+
Project-URL: Repository, http://github.com/swarmauri/swarmauri-sdk
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# Swarmauri Example Community Package
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
swm_example_community_package/ExampleCommunityAgent.py,sha256=TQsQhVQ2Fj7nyg3Uml_EKhxrdwdjmRMoK6lAv0vLZDs,613
|
|
2
|
+
swm_example_community_package/__init__.py,sha256=MnPggd_JgEx8ZKCGOu6vDLFq4Jf0SxilcyJQwVD81Ms,321
|
|
3
|
+
swm_example_community_package-0.6.0.dev148.dist-info/METADATA,sha256=y5sQ0iYmn6xuQ8P9uWdiYI9cBu0VpxjQQBc3HDeG0Po,739
|
|
4
|
+
swm_example_community_package-0.6.0.dev148.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
|
5
|
+
swm_example_community_package-0.6.0.dev148.dist-info/entry_points.txt,sha256=A_H3Z6bafSPDr9XdP3PidkVqd2M7dfJHTuSPaDMcDkA,116
|
|
6
|
+
swm_example_community_package-0.6.0.dev148.dist-info/RECORD,,
|