sinapsis 0.2.9__tar.gz → 0.2.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. sinapsis-0.2.10/PKG-INFO +277 -0
  2. {sinapsis-0.2.9 → sinapsis-0.2.10}/pyproject.toml +2 -6
  3. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/webapp/chatbot_base.py +1 -1
  4. sinapsis-0.2.10/src/sinapsis.egg-info/PKG-INFO +277 -0
  5. {sinapsis-0.2.9 → sinapsis-0.2.10}/uv.lock +1 -1
  6. sinapsis-0.2.9/PKG-INFO +0 -937
  7. sinapsis-0.2.9/src/sinapsis.egg-info/PKG-INFO +0 -937
  8. {sinapsis-0.2.9 → sinapsis-0.2.10}/.dockerignore +0 -0
  9. {sinapsis-0.2.9 → sinapsis-0.2.10}/.gitignore +0 -0
  10. {sinapsis-0.2.9 → sinapsis-0.2.10}/.pre-commit-config.yaml +0 -0
  11. {sinapsis-0.2.9 → sinapsis-0.2.10}/.python-version +0 -0
  12. {sinapsis-0.2.9 → sinapsis-0.2.10}/LICENSE +0 -0
  13. {sinapsis-0.2.9 → sinapsis-0.2.10}/README-internal.md +0 -0
  14. {sinapsis-0.2.9 → sinapsis-0.2.10}/README.md +0 -0
  15. {sinapsis-0.2.9 → sinapsis-0.2.10}/docker/Dockerfile +0 -0
  16. {sinapsis-0.2.9 → sinapsis-0.2.10}/docker/compose.yaml +0 -0
  17. {sinapsis-0.2.9 → sinapsis-0.2.10}/setup.cfg +0 -0
  18. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/__init__.py +0 -0
  19. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/bin/sinapsis_cli.py +0 -0
  20. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/configs/hello_world_agent.yml +0 -0
  21. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/templates/__init__.py +0 -0
  22. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/templates/display_hello_world.py +0 -0
  23. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/templates/hello_world.py +0 -0
  24. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/webapp/__init__.py +0 -0
  25. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/webapp/agent_gradio_helper.py +0 -0
  26. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/webapp/agent_webapp_utils.py +0 -0
  27. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis/webapp/tts_base.py +0 -0
  28. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis.egg-info/SOURCES.txt +0 -0
  29. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis.egg-info/dependency_links.txt +0 -0
  30. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis.egg-info/entry_points.txt +0 -0
  31. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis.egg-info/requires.txt +0 -0
  32. {sinapsis-0.2.9 → sinapsis-0.2.10}/src/sinapsis.egg-info/top_level.txt +0 -0
@@ -0,0 +1,277 @@
1
+ Metadata-Version: 2.4
2
+ Name: sinapsis
3
+ Version: 0.2.10
4
+ Summary: Modular and Universal AI platform
5
+ Author-email: SinapsisAI <dev@sinapsis.tech>
6
+ Project-URL: Homepage, https://sinapsis.tech
7
+ Project-URL: Documentation, https://docs.sinapsis.tech/docs
8
+ Project-URL: Tutorials, https://docs.sinapsis.tech/tutorials
9
+ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis.git
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: sinapsis-core>=0.1.0
14
+ Provides-Extra: all
15
+ Requires-Dist: sinapsis[dev]; extra == "all"
16
+ Provides-Extra: webapp
17
+ Requires-Dist: gradio<=5.23; extra == "webapp"
18
+ Dynamic: license-file
19
+
20
+ <h1 align="center">
21
+ <br>
22
+ <a href="https://sinapsis.tech/">
23
+ <img
24
+ src="https://github.com/Sinapsis-AI/brand-resources/blob/main/sinapsis_logo/4x/logo.png?raw=true"
25
+ alt="" width="300">
26
+ </a>
27
+ <br>
28
+ Sinapsis
29
+ <br>
30
+ </h1>
31
+
32
+ <h4 align="center">Build and manage AI workflows through modular and scalable Agents based on composite and reusable Templates. </h4>
33
+
34
+ <p align="center">
35
+ <a href="#installation">🐍 Installation</a> •
36
+ <a href="#quickstart">⚡ Quickstart</a> •
37
+ <a href="#features">🎯 Features</a> •
38
+ <a href="#examples">👀 Examples</a> •
39
+ <a href="#docker">🐳 Docker images</a> •
40
+ <a href="#documentation">📙 Documentation</a> •
41
+ <a href="#packages">📚 Available sinapsis packages</a>
42
+ <a href="#packages">🔍 License</a>
43
+ </p>
44
+
45
+ <h4 align="center">
46
+ <b>Welcome to Sinapsis!</b>
47
+ The all-in-one AI-native platform that unifies the most powerful and innovative AI tools, from computer vision
48
+ and NLP to GenAI, speech processing, time-series analysis, and beyond. Whether you're building, experimenting, or
49
+ deploying, Sinapsis empowers you to create seamless end-to-end workflows, unlocking new possibilities and
50
+ accelerating AI-driven innovation like never before. Join us in shaping the future of AI!
51
+ </h4>
52
+
53
+ <h2 id="installation">🐍 Installation</h2>
54
+
55
+ > [!IMPORTANT]
56
+ > Sinapsis requires Python 3.10 or higher.
57
+ >
58
+
59
+ We strongly encourage the use of <code>uv</code>, although any other package manager should work too.
60
+ If you need to install <code>uv</code> please see the [official documentation](https://docs.astral.sh/uv/getting-started/installation/#installation-methods).
61
+
62
+
63
+ 1. Install using your favourite package manager.
64
+
65
+ Example with <code>uv</code>:
66
+ ```bash
67
+ uv pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
68
+ ```
69
+ or with raw <code>pip</code>:
70
+ ```bash
71
+ pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
72
+ ```
73
+
74
+
75
+ <h2 id="quickstart">⚡ Quickstart</h2>
76
+
77
+ <details>
78
+ <summary><strong><span style="font-size: 1.4em;">CLI usage</span></strong></summary>
79
+
80
+ The Sinapsis CLI provides an easy way to run agents and get information about templates:
81
+
82
+ ```bash
83
+ # Run an agent with a config file
84
+ sinapsis run config.yml
85
+
86
+ # Run an agent with profiler enabled
87
+ sinapsis run config.yml --enable-profiler
88
+
89
+ # List all available templates
90
+ sinapsis info --all-template-names
91
+
92
+ # Get detailed info about a specific template
93
+ sinapsis info --template TemplateName
94
+
95
+ # Get example config for a template
96
+ sinapsis info --example-template-config TemplateName
97
+
98
+ # Display info for all templates
99
+ sinapsis info --all
100
+ ```
101
+ </details>
102
+
103
+ <details>
104
+ <summary><strong><span style="font-size: 1.4em;">📖 Hello World Sinapsis</span></strong></summary>
105
+
106
+ **Create a config file my_test_agent.yml:**
107
+
108
+ You can also use the ones defined under the ```src/configs/``` folder
109
+ ```yaml
110
+ agent:
111
+ name: my_test_agent
112
+
113
+ templates:
114
+ - template_name: InputTemplate-1
115
+ class_name: InputTemplate
116
+ attributes: {}
117
+
118
+ - template_name: HelloWorld-1
119
+ class_name: HelloWorld
120
+ template_input: InputTemplate-1
121
+ attributes:
122
+ display_text: "Hello, this is my first template!"
123
+ ```
124
+
125
+ **Run the agent:**
126
+ ```bash
127
+ sinapsis run my_test_agent.yml
128
+ ```
129
+
130
+ **Output**
131
+
132
+ ```console
133
+ ... | DEBUG | my_test_agent:__instantiate_templates:105 - Initialized template: InputTemplate-1
134
+ ... | DEBUG | my_test_agent:__instantiate_templates:105 - Initialized template: HelloWorld-1
135
+ ... | DEBUG | my_test_agent:_log_agent_execution_order:119 - Execution Order
136
+ ... | DEBUG | my_test_agent:_log_agent_execution_order:122 - Order: <<0>>, template name: <<InputTemplate-1>>
137
+ ... | DEBUG | my_test_agent:_log_agent_execution_order:122 - Order: <<1>>, template name: <<HelloWorld-1>>
138
+ ... | INFO | my_test_agent:_lazy_init:63 - Agent and templates initialized
139
+ ... | INFO | my_test_agent:signal_block_if_needed:156 - Signaling block mode for HelloWorld-1 no: 2/2
140
+ ... | INFO | my_test_agent:all_templates_finished:192 - All templates returned finished, stopping execution...
141
+ ... | DEBUG | .../run_agent_from_config.py:run_agent_from_config:41 - result: DataContainer(container_id=abc..., images=[], audios=[], texts=[TextPacket(content='Hello, this is my first template!', id='abc...', source='HelloWorld-1', modified_by_templates=['HelloWorld-1'], embedding=[], generic_data={}, annotations=None)], time_series=[], binary_data=[], generic_data={})
142
+
143
+ ```
144
+ </details>
145
+
146
+ <h2 id="features">🎯 Key Features</h2>
147
+
148
+ <details>
149
+ <summary><strong><span style="font-size: 1.4em;">Agents</span></strong></summary>
150
+
151
+ - Declarative workflows
152
+ - Multiple execution modes:
153
+ - Generator
154
+ - Single execute
155
+ - Continuous execution
156
+ - Sophisticated template orchestration:
157
+ - Topological sorting of execution order
158
+ - Parallel template execution
159
+ - Execution blocking control
160
+ - Built-in profiling capabilities:
161
+ - Execution time tracking
162
+ - State management:
163
+ - Dynamic attribute updates
164
+ - Failure handling
165
+ </details>
166
+
167
+ <details>
168
+ <summary><strong><span style="font-size: 1.4em;">Templates</span></strong></summary>
169
+
170
+ - Self-contained components
171
+ - Modular task-focused execution
172
+ - Eager or lazy evaluation
173
+ - Dynamic template definitions
174
+ - Composite templates
175
+ - SubAgents
176
+
177
+ </details>
178
+
179
+ <details>
180
+ <summary><strong><span style="font-size: 1.4em;">Data Containers</span></strong></summary>
181
+
182
+ - Universal data transport
183
+ - Domain agnostic design
184
+ - Native built-in support for images, audio, text, time series
185
+ - Multimodal data
186
+
187
+ </details>
188
+
189
+ <details>
190
+ <summary><strong><span style="font-size: 1.4em;">General</span></strong></summary>
191
+
192
+ - Data Validation and Type Safety through Pydantic
193
+ - YAML-based configuration files
194
+ - Command Line Interface
195
+ </details>
196
+
197
+ <h2 id="examples">👀 Examples</h2>
198
+
199
+ You can find specific implementations of templates in:
200
+
201
+ * **Static Templates**
202
+ * [Hello World Template](src/sinapsis/templates/hello_world.py)
203
+ * [Sinapsis Video Readers](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_readers)
204
+
205
+ * **Dynamic Templates**
206
+ * [Sinapsis LangChain](https://github.com/Sinapsis-ai/sinapsis-langchain)
207
+
208
+
209
+
210
+ <details id="docker">
211
+ <summary><strong><span style="font-size: 1.4em;">🐳 Docker images</span></strong></summary>
212
+
213
+
214
+ Sinapsis provides Docker images with all dependencies pre-configured. When you want to use docker to test an app within the project,
215
+ you need to make sure the sinapsis base images are built in your system. To build the images:
216
+
217
+ 1. **Clone the repository**:
218
+ ```bash
219
+ git clone git@github.com:Sinapsis-ai/sinapsis.git
220
+ cd sinapsis
221
+ ```
222
+
223
+ 2. **Build the image**
224
+ ```bash
225
+ docker compose -f docker/compose.yaml build
226
+ ```
227
+
228
+ This will create two docker images:
229
+ - **sinapsis:base**: Contains UV package manager, git with SSH support, and Python 3.10 environment.
230
+ - **sinapsis-nvidia:base**: Same as base plus CUDA 12.4.0 support for GPU acceleration.
231
+ </details>
232
+
233
+
234
+ <h2 id="documentation">📙 Documentation</h2>
235
+
236
+ Documentation is available on the [sinapsis website](https://docs.sinapsis.tech/docs)
237
+
238
+ Tutorials for different projects within sinapsis are available at [sinapsis tutorials page](https://docs.sinapsis.tech/tutorials)
239
+
240
+ <h2 id="packages">📚 Available sinapsis packages</h2>
241
+
242
+ The sinapsis framework contains a list of public packages with **Templates** covering a wide range of tasks,
243
+ including computer vision, time series, nlp, llm'. These packages include:
244
+ <details>
245
+ <summary><strong><span style="font-size: 1.4em;">sinapsis data tools</span></strong></summary>
246
+
247
+
248
+ * [sinapsis-data-readers](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_readers)
249
+
250
+ * [sinapsis-data-writers](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_writers)
251
+
252
+ * [sinapsis-data-visualization](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_visualization)
253
+
254
+ * [sinapsis-generic-data-tools](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_generic_data_tools)
255
+
256
+ </details>
257
+
258
+ <details>
259
+ <summary><strong><span style="font-size: 1.4em;">sinapsis langchain</span></strong></summary>
260
+
261
+ * [sinapsis-langchain-readers](https://github.com/Sinapsis-ai/sinapsis-langchain)
262
+ </details>
263
+ <details>
264
+ <summary><strong><span style="font-size: 1.4em;">sinapsis image transforms</span></strong></summary>
265
+
266
+ * [sinapsis-image-transforms](https://github.com/Sinapsis-ai/sinapsis-image-transforms)
267
+ </details>
268
+
269
+
270
+ <h2 id="license">🔍 License</h2>
271
+
272
+ This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the [LICENSE](LICENSE) file.
273
+
274
+ For commercial use, please refer to our [official Sinapsis website](https://sinapsis.tech) for information on obtaining a commercial license.
275
+
276
+
277
+
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sinapsis"
3
- version = "0.2.9"
3
+ version = "0.2.10"
4
4
  description = "Modular and Universal AI platform"
5
5
  authors = [
6
6
  {name = "SinapsisAI", email = "dev@sinapsis.tech"},
@@ -11,7 +11,7 @@ dependencies = [
11
11
  ]
12
12
  requires-python = ">=3.10"
13
13
  readme = "README.md"
14
- license = {file = "LICENSE"}
14
+ license-files = ["LICENSE"]
15
15
 
16
16
  [dependency-groups]
17
17
  dev = [
@@ -62,10 +62,6 @@ sinapsis-core = { index = "sinapsis-core" }
62
62
  name = "sinapsis-core"
63
63
  url = "https://pypi.sinapsis.tech/"
64
64
 
65
-
66
- [tool.setuptools]
67
- license-files = []
68
-
69
65
  [build-system]
70
66
  requires = ["setuptools"]
71
67
  build-backend = "setuptools.build_meta"
@@ -93,7 +93,7 @@ class BaseChatbot:
93
93
  text_msg = message.get(ChatKeys.text, False)
94
94
  image_msg = message.get(ChatKeys.files, False)
95
95
  if text_msg:
96
- text_msg = TextPacket(content=message, id=conv_id)
96
+ text_msg = TextPacket(content=text_msg, id=conv_id)
97
97
  container.texts.append(text_msg)
98
98
  if image_msg:
99
99
  full_image_path = image_msg[0].split("/gradio/")
@@ -0,0 +1,277 @@
1
+ Metadata-Version: 2.4
2
+ Name: sinapsis
3
+ Version: 0.2.10
4
+ Summary: Modular and Universal AI platform
5
+ Author-email: SinapsisAI <dev@sinapsis.tech>
6
+ Project-URL: Homepage, https://sinapsis.tech
7
+ Project-URL: Documentation, https://docs.sinapsis.tech/docs
8
+ Project-URL: Tutorials, https://docs.sinapsis.tech/tutorials
9
+ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis.git
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: sinapsis-core>=0.1.0
14
+ Provides-Extra: all
15
+ Requires-Dist: sinapsis[dev]; extra == "all"
16
+ Provides-Extra: webapp
17
+ Requires-Dist: gradio<=5.23; extra == "webapp"
18
+ Dynamic: license-file
19
+
20
+ <h1 align="center">
21
+ <br>
22
+ <a href="https://sinapsis.tech/">
23
+ <img
24
+ src="https://github.com/Sinapsis-AI/brand-resources/blob/main/sinapsis_logo/4x/logo.png?raw=true"
25
+ alt="" width="300">
26
+ </a>
27
+ <br>
28
+ Sinapsis
29
+ <br>
30
+ </h1>
31
+
32
+ <h4 align="center">Build and manage AI workflows through modular and scalable Agents based on composite and reusable Templates. </h4>
33
+
34
+ <p align="center">
35
+ <a href="#installation">🐍 Installation</a> •
36
+ <a href="#quickstart">⚡ Quickstart</a> •
37
+ <a href="#features">🎯 Features</a> •
38
+ <a href="#examples">👀 Examples</a> •
39
+ <a href="#docker">🐳 Docker images</a> •
40
+ <a href="#documentation">📙 Documentation</a> •
41
+ <a href="#packages">📚 Available sinapsis packages</a>
42
+ <a href="#packages">🔍 License</a>
43
+ </p>
44
+
45
+ <h4 align="center">
46
+ <b>Welcome to Sinapsis!</b>
47
+ The all-in-one AI-native platform that unifies the most powerful and innovative AI tools, from computer vision
48
+ and NLP to GenAI, speech processing, time-series analysis, and beyond. Whether you're building, experimenting, or
49
+ deploying, Sinapsis empowers you to create seamless end-to-end workflows, unlocking new possibilities and
50
+ accelerating AI-driven innovation like never before. Join us in shaping the future of AI!
51
+ </h4>
52
+
53
+ <h2 id="installation">🐍 Installation</h2>
54
+
55
+ > [!IMPORTANT]
56
+ > Sinapsis requires Python 3.10 or higher.
57
+ >
58
+
59
+ We strongly encourage the use of <code>uv</code>, although any other package manager should work too.
60
+ If you need to install <code>uv</code> please see the [official documentation](https://docs.astral.sh/uv/getting-started/installation/#installation-methods).
61
+
62
+
63
+ 1. Install using your favourite package manager.
64
+
65
+ Example with <code>uv</code>:
66
+ ```bash
67
+ uv pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
68
+ ```
69
+ or with raw <code>pip</code>:
70
+ ```bash
71
+ pip install sinapsis --extra-index-url https://pypi.sinapsis.tech
72
+ ```
73
+
74
+
75
+ <h2 id="quickstart">⚡ Quickstart</h2>
76
+
77
+ <details>
78
+ <summary><strong><span style="font-size: 1.4em;">CLI usage</span></strong></summary>
79
+
80
+ The Sinapsis CLI provides an easy way to run agents and get information about templates:
81
+
82
+ ```bash
83
+ # Run an agent with a config file
84
+ sinapsis run config.yml
85
+
86
+ # Run an agent with profiler enabled
87
+ sinapsis run config.yml --enable-profiler
88
+
89
+ # List all available templates
90
+ sinapsis info --all-template-names
91
+
92
+ # Get detailed info about a specific template
93
+ sinapsis info --template TemplateName
94
+
95
+ # Get example config for a template
96
+ sinapsis info --example-template-config TemplateName
97
+
98
+ # Display info for all templates
99
+ sinapsis info --all
100
+ ```
101
+ </details>
102
+
103
+ <details>
104
+ <summary><strong><span style="font-size: 1.4em;">📖 Hello World Sinapsis</span></strong></summary>
105
+
106
+ **Create a config file my_test_agent.yml:**
107
+
108
+ You can also use the ones defined under the ```src/configs/``` folder
109
+ ```yaml
110
+ agent:
111
+ name: my_test_agent
112
+
113
+ templates:
114
+ - template_name: InputTemplate-1
115
+ class_name: InputTemplate
116
+ attributes: {}
117
+
118
+ - template_name: HelloWorld-1
119
+ class_name: HelloWorld
120
+ template_input: InputTemplate-1
121
+ attributes:
122
+ display_text: "Hello, this is my first template!"
123
+ ```
124
+
125
+ **Run the agent:**
126
+ ```bash
127
+ sinapsis run my_test_agent.yml
128
+ ```
129
+
130
+ **Output**
131
+
132
+ ```console
133
+ ... | DEBUG | my_test_agent:__instantiate_templates:105 - Initialized template: InputTemplate-1
134
+ ... | DEBUG | my_test_agent:__instantiate_templates:105 - Initialized template: HelloWorld-1
135
+ ... | DEBUG | my_test_agent:_log_agent_execution_order:119 - Execution Order
136
+ ... | DEBUG | my_test_agent:_log_agent_execution_order:122 - Order: <<0>>, template name: <<InputTemplate-1>>
137
+ ... | DEBUG | my_test_agent:_log_agent_execution_order:122 - Order: <<1>>, template name: <<HelloWorld-1>>
138
+ ... | INFO | my_test_agent:_lazy_init:63 - Agent and templates initialized
139
+ ... | INFO | my_test_agent:signal_block_if_needed:156 - Signaling block mode for HelloWorld-1 no: 2/2
140
+ ... | INFO | my_test_agent:all_templates_finished:192 - All templates returned finished, stopping execution...
141
+ ... | DEBUG | .../run_agent_from_config.py:run_agent_from_config:41 - result: DataContainer(container_id=abc..., images=[], audios=[], texts=[TextPacket(content='Hello, this is my first template!', id='abc...', source='HelloWorld-1', modified_by_templates=['HelloWorld-1'], embedding=[], generic_data={}, annotations=None)], time_series=[], binary_data=[], generic_data={})
142
+
143
+ ```
144
+ </details>
145
+
146
+ <h2 id="features">🎯 Key Features</h2>
147
+
148
+ <details>
149
+ <summary><strong><span style="font-size: 1.4em;">Agents</span></strong></summary>
150
+
151
+ - Declarative workflows
152
+ - Multiple execution modes:
153
+ - Generator
154
+ - Single execute
155
+ - Continuous execution
156
+ - Sophisticated template orchestration:
157
+ - Topological sorting of execution order
158
+ - Parallel template execution
159
+ - Execution blocking control
160
+ - Built-in profiling capabilities:
161
+ - Execution time tracking
162
+ - State management:
163
+ - Dynamic attribute updates
164
+ - Failure handling
165
+ </details>
166
+
167
+ <details>
168
+ <summary><strong><span style="font-size: 1.4em;">Templates</span></strong></summary>
169
+
170
+ - Self-contained components
171
+ - Modular task-focused execution
172
+ - Eager or lazy evaluation
173
+ - Dynamic template definitions
174
+ - Composite templates
175
+ - SubAgents
176
+
177
+ </details>
178
+
179
+ <details>
180
+ <summary><strong><span style="font-size: 1.4em;">Data Containers</span></strong></summary>
181
+
182
+ - Universal data transport
183
+ - Domain agnostic design
184
+ - Native built-in support for images, audio, text, time series
185
+ - Multimodal data
186
+
187
+ </details>
188
+
189
+ <details>
190
+ <summary><strong><span style="font-size: 1.4em;">General</span></strong></summary>
191
+
192
+ - Data Validation and Type Safety through Pydantic
193
+ - YAML-based configuration files
194
+ - Command Line Interface
195
+ </details>
196
+
197
+ <h2 id="examples">👀 Examples</h2>
198
+
199
+ You can find specific implementations of templates in:
200
+
201
+ * **Static Templates**
202
+ * [Hello World Template](src/sinapsis/templates/hello_world.py)
203
+ * [Sinapsis Video Readers](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_readers)
204
+
205
+ * **Dynamic Templates**
206
+ * [Sinapsis LangChain](https://github.com/Sinapsis-ai/sinapsis-langchain)
207
+
208
+
209
+
210
+ <details id="docker">
211
+ <summary><strong><span style="font-size: 1.4em;">🐳 Docker images</span></strong></summary>
212
+
213
+
214
+ Sinapsis provides Docker images with all dependencies pre-configured. When you want to use docker to test an app within the project,
215
+ you need to make sure the sinapsis base images are built in your system. To build the images:
216
+
217
+ 1. **Clone the repository**:
218
+ ```bash
219
+ git clone git@github.com:Sinapsis-ai/sinapsis.git
220
+ cd sinapsis
221
+ ```
222
+
223
+ 2. **Build the image**
224
+ ```bash
225
+ docker compose -f docker/compose.yaml build
226
+ ```
227
+
228
+ This will create two docker images:
229
+ - **sinapsis:base**: Contains UV package manager, git with SSH support, and Python 3.10 environment.
230
+ - **sinapsis-nvidia:base**: Same as base plus CUDA 12.4.0 support for GPU acceleration.
231
+ </details>
232
+
233
+
234
+ <h2 id="documentation">📙 Documentation</h2>
235
+
236
+ Documentation is available on the [sinapsis website](https://docs.sinapsis.tech/docs)
237
+
238
+ Tutorials for different projects within sinapsis are available at [sinapsis tutorials page](https://docs.sinapsis.tech/tutorials)
239
+
240
+ <h2 id="packages">📚 Available sinapsis packages</h2>
241
+
242
+ The sinapsis framework contains a list of public packages with **Templates** covering a wide range of tasks,
243
+ including computer vision, time series, nlp, llm'. These packages include:
244
+ <details>
245
+ <summary><strong><span style="font-size: 1.4em;">sinapsis data tools</span></strong></summary>
246
+
247
+
248
+ * [sinapsis-data-readers](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_readers)
249
+
250
+ * [sinapsis-data-writers](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_writers)
251
+
252
+ * [sinapsis-data-visualization](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_data_visualization)
253
+
254
+ * [sinapsis-generic-data-tools](https://github.com/Sinapsis-ai/sinapsis-data-tools/tree/main/packages/sinapsis_generic_data_tools)
255
+
256
+ </details>
257
+
258
+ <details>
259
+ <summary><strong><span style="font-size: 1.4em;">sinapsis langchain</span></strong></summary>
260
+
261
+ * [sinapsis-langchain-readers](https://github.com/Sinapsis-ai/sinapsis-langchain)
262
+ </details>
263
+ <details>
264
+ <summary><strong><span style="font-size: 1.4em;">sinapsis image transforms</span></strong></summary>
265
+
266
+ * [sinapsis-image-transforms](https://github.com/Sinapsis-ai/sinapsis-image-transforms)
267
+ </details>
268
+
269
+
270
+ <h2 id="license">🔍 License</h2>
271
+
272
+ This project is licensed under the AGPLv3 license, which encourages open collaboration and sharing. For more details, please refer to the [LICENSE](LICENSE) file.
273
+
274
+ For commercial use, please refer to our [official Sinapsis website](https://sinapsis.tech) for information on obtaining a commercial license.
275
+
276
+
277
+
@@ -1067,7 +1067,7 @@ wheels = [
1067
1067
 
1068
1068
  [[package]]
1069
1069
  name = "sinapsis"
1070
- version = "0.2.8"
1070
+ version = "0.2.10"
1071
1071
  source = { editable = "." }
1072
1072
  dependencies = [
1073
1073
  { name = "sinapsis-core" },