lionagi 0.0.312__py3-none-any.whl → 0.2.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (268) hide show
  1. lionagi/__init__.py +61 -3
  2. lionagi/core/__init__.py +0 -14
  3. lionagi/core/_setting/_setting.py +59 -0
  4. lionagi/core/action/__init__.py +14 -0
  5. lionagi/core/action/function_calling.py +136 -0
  6. lionagi/core/action/manual.py +1 -0
  7. lionagi/core/action/node.py +109 -0
  8. lionagi/core/action/tool.py +114 -0
  9. lionagi/core/action/tool_manager.py +356 -0
  10. lionagi/core/agent/__init__.py +0 -3
  11. lionagi/core/agent/base_agent.py +45 -36
  12. lionagi/core/agent/eval/evaluator.py +1 -0
  13. lionagi/core/agent/eval/vote.py +40 -0
  14. lionagi/core/agent/learn/learner.py +59 -0
  15. lionagi/core/agent/plan/unit_template.py +1 -0
  16. lionagi/core/collections/__init__.py +17 -0
  17. lionagi/core/collections/_logger.py +319 -0
  18. lionagi/core/collections/abc/__init__.py +53 -0
  19. lionagi/core/collections/abc/component.py +615 -0
  20. lionagi/core/collections/abc/concepts.py +297 -0
  21. lionagi/core/collections/abc/exceptions.py +150 -0
  22. lionagi/core/collections/abc/util.py +45 -0
  23. lionagi/core/collections/exchange.py +161 -0
  24. lionagi/core/collections/flow.py +426 -0
  25. lionagi/core/collections/model.py +419 -0
  26. lionagi/core/collections/pile.py +913 -0
  27. lionagi/core/collections/progression.py +236 -0
  28. lionagi/core/collections/util.py +64 -0
  29. lionagi/core/director/direct.py +314 -0
  30. lionagi/core/director/director.py +2 -0
  31. lionagi/core/engine/branch_engine.py +333 -0
  32. lionagi/core/engine/instruction_map_engine.py +204 -0
  33. lionagi/core/engine/sandbox_.py +14 -0
  34. lionagi/core/engine/script_engine.py +99 -0
  35. lionagi/core/executor/base_executor.py +90 -0
  36. lionagi/core/executor/graph_executor.py +330 -0
  37. lionagi/core/executor/neo4j_executor.py +384 -0
  38. lionagi/core/generic/__init__.py +7 -0
  39. lionagi/core/generic/edge.py +112 -0
  40. lionagi/core/generic/edge_condition.py +16 -0
  41. lionagi/core/generic/graph.py +236 -0
  42. lionagi/core/generic/hyperedge.py +1 -0
  43. lionagi/core/generic/node.py +220 -0
  44. lionagi/core/generic/tree.py +48 -0
  45. lionagi/core/generic/tree_node.py +79 -0
  46. lionagi/core/mail/__init__.py +7 -3
  47. lionagi/core/mail/mail.py +25 -0
  48. lionagi/core/mail/mail_manager.py +142 -58
  49. lionagi/core/mail/package.py +45 -0
  50. lionagi/core/mail/start_mail.py +36 -0
  51. lionagi/core/message/__init__.py +19 -0
  52. lionagi/core/message/action_request.py +133 -0
  53. lionagi/core/message/action_response.py +135 -0
  54. lionagi/core/message/assistant_response.py +95 -0
  55. lionagi/core/message/instruction.py +234 -0
  56. lionagi/core/message/message.py +101 -0
  57. lionagi/core/message/system.py +86 -0
  58. lionagi/core/message/util.py +283 -0
  59. lionagi/core/report/__init__.py +4 -0
  60. lionagi/core/report/base.py +217 -0
  61. lionagi/core/report/form.py +231 -0
  62. lionagi/core/report/report.py +166 -0
  63. lionagi/core/report/util.py +28 -0
  64. lionagi/core/rule/__init__.py +0 -0
  65. lionagi/core/rule/_default.py +16 -0
  66. lionagi/core/rule/action.py +99 -0
  67. lionagi/core/rule/base.py +238 -0
  68. lionagi/core/rule/boolean.py +56 -0
  69. lionagi/core/rule/choice.py +47 -0
  70. lionagi/core/rule/mapping.py +96 -0
  71. lionagi/core/rule/number.py +71 -0
  72. lionagi/core/rule/rulebook.py +109 -0
  73. lionagi/core/rule/string.py +52 -0
  74. lionagi/core/rule/util.py +35 -0
  75. lionagi/core/session/__init__.py +0 -3
  76. lionagi/core/session/branch.py +431 -0
  77. lionagi/core/session/directive_mixin.py +287 -0
  78. lionagi/core/session/session.py +230 -902
  79. lionagi/core/structure/__init__.py +1 -0
  80. lionagi/core/structure/chain.py +1 -0
  81. lionagi/core/structure/forest.py +1 -0
  82. lionagi/core/structure/graph.py +1 -0
  83. lionagi/core/structure/tree.py +1 -0
  84. lionagi/core/unit/__init__.py +5 -0
  85. lionagi/core/unit/parallel_unit.py +245 -0
  86. lionagi/core/unit/template/__init__.py +0 -0
  87. lionagi/core/unit/template/action.py +81 -0
  88. lionagi/core/unit/template/base.py +51 -0
  89. lionagi/core/unit/template/plan.py +84 -0
  90. lionagi/core/unit/template/predict.py +109 -0
  91. lionagi/core/unit/template/score.py +124 -0
  92. lionagi/core/unit/template/select.py +104 -0
  93. lionagi/core/unit/unit.py +362 -0
  94. lionagi/core/unit/unit_form.py +305 -0
  95. lionagi/core/unit/unit_mixin.py +1168 -0
  96. lionagi/core/unit/util.py +71 -0
  97. lionagi/core/validator/__init__.py +0 -0
  98. lionagi/core/validator/validator.py +364 -0
  99. lionagi/core/work/__init__.py +0 -0
  100. lionagi/core/work/work.py +76 -0
  101. lionagi/core/work/work_function.py +101 -0
  102. lionagi/core/work/work_queue.py +103 -0
  103. lionagi/core/work/worker.py +258 -0
  104. lionagi/core/work/worklog.py +120 -0
  105. lionagi/experimental/__init__.py +0 -0
  106. lionagi/experimental/compressor/__init__.py +0 -0
  107. lionagi/experimental/compressor/base.py +46 -0
  108. lionagi/experimental/compressor/llm_compressor.py +247 -0
  109. lionagi/experimental/compressor/llm_summarizer.py +61 -0
  110. lionagi/experimental/compressor/util.py +70 -0
  111. lionagi/experimental/directive/__init__.py +19 -0
  112. lionagi/experimental/directive/parser/__init__.py +0 -0
  113. lionagi/experimental/directive/parser/base_parser.py +282 -0
  114. lionagi/experimental/directive/template/__init__.py +0 -0
  115. lionagi/experimental/directive/template/base_template.py +79 -0
  116. lionagi/experimental/directive/template/schema.py +36 -0
  117. lionagi/experimental/directive/tokenizer.py +73 -0
  118. lionagi/experimental/evaluator/__init__.py +0 -0
  119. lionagi/experimental/evaluator/ast_evaluator.py +131 -0
  120. lionagi/experimental/evaluator/base_evaluator.py +218 -0
  121. lionagi/experimental/knowledge/__init__.py +0 -0
  122. lionagi/experimental/knowledge/base.py +10 -0
  123. lionagi/experimental/knowledge/graph.py +0 -0
  124. lionagi/experimental/memory/__init__.py +0 -0
  125. lionagi/experimental/strategies/__init__.py +0 -0
  126. lionagi/experimental/strategies/base.py +1 -0
  127. lionagi/integrations/bridge/autogen_/__init__.py +0 -0
  128. lionagi/integrations/bridge/autogen_/autogen_.py +124 -0
  129. lionagi/integrations/bridge/langchain_/documents.py +4 -0
  130. lionagi/integrations/bridge/llamaindex_/index.py +30 -0
  131. lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py +6 -0
  132. lionagi/integrations/bridge/llamaindex_/llama_pack.py +227 -0
  133. lionagi/integrations/bridge/llamaindex_/node_parser.py +6 -9
  134. lionagi/integrations/bridge/pydantic_/pydantic_bridge.py +1 -0
  135. lionagi/integrations/bridge/transformers_/__init__.py +0 -0
  136. lionagi/integrations/bridge/transformers_/install_.py +36 -0
  137. lionagi/integrations/chunker/__init__.py +0 -0
  138. lionagi/integrations/chunker/chunk.py +312 -0
  139. lionagi/integrations/config/oai_configs.py +38 -7
  140. lionagi/integrations/config/ollama_configs.py +1 -1
  141. lionagi/integrations/config/openrouter_configs.py +14 -2
  142. lionagi/integrations/loader/__init__.py +0 -0
  143. lionagi/integrations/loader/load.py +253 -0
  144. lionagi/integrations/loader/load_util.py +195 -0
  145. lionagi/integrations/provider/_mapping.py +46 -0
  146. lionagi/integrations/provider/litellm.py +2 -1
  147. lionagi/integrations/provider/mlx_service.py +16 -9
  148. lionagi/integrations/provider/oai.py +91 -4
  149. lionagi/integrations/provider/ollama.py +7 -6
  150. lionagi/integrations/provider/openrouter.py +115 -8
  151. lionagi/integrations/provider/services.py +2 -2
  152. lionagi/integrations/provider/transformers.py +18 -22
  153. lionagi/integrations/storage/__init__.py +3 -0
  154. lionagi/integrations/storage/neo4j.py +665 -0
  155. lionagi/integrations/storage/storage_util.py +287 -0
  156. lionagi/integrations/storage/structure_excel.py +285 -0
  157. lionagi/integrations/storage/to_csv.py +63 -0
  158. lionagi/integrations/storage/to_excel.py +83 -0
  159. lionagi/libs/__init__.py +26 -1
  160. lionagi/libs/ln_api.py +78 -23
  161. lionagi/libs/ln_context.py +37 -0
  162. lionagi/libs/ln_convert.py +21 -9
  163. lionagi/libs/ln_func_call.py +69 -28
  164. lionagi/libs/ln_image.py +107 -0
  165. lionagi/libs/ln_knowledge_graph.py +405 -0
  166. lionagi/libs/ln_nested.py +26 -11
  167. lionagi/libs/ln_parse.py +110 -14
  168. lionagi/libs/ln_queue.py +117 -0
  169. lionagi/libs/ln_tokenize.py +164 -0
  170. lionagi/{core/prompt/field_validator.py → libs/ln_validate.py} +79 -14
  171. lionagi/libs/special_tokens.py +172 -0
  172. lionagi/libs/sys_util.py +107 -2
  173. lionagi/lions/__init__.py +0 -0
  174. lionagi/lions/coder/__init__.py +0 -0
  175. lionagi/lions/coder/add_feature.py +20 -0
  176. lionagi/lions/coder/base_prompts.py +22 -0
  177. lionagi/lions/coder/code_form.py +13 -0
  178. lionagi/lions/coder/coder.py +168 -0
  179. lionagi/lions/coder/util.py +96 -0
  180. lionagi/lions/researcher/__init__.py +0 -0
  181. lionagi/lions/researcher/data_source/__init__.py +0 -0
  182. lionagi/lions/researcher/data_source/finhub_.py +191 -0
  183. lionagi/lions/researcher/data_source/google_.py +199 -0
  184. lionagi/lions/researcher/data_source/wiki_.py +96 -0
  185. lionagi/lions/researcher/data_source/yfinance_.py +21 -0
  186. lionagi/tests/integrations/__init__.py +0 -0
  187. lionagi/tests/libs/__init__.py +0 -0
  188. lionagi/tests/libs/test_field_validators.py +353 -0
  189. lionagi/tests/{test_libs → libs}/test_func_call.py +23 -21
  190. lionagi/tests/{test_libs → libs}/test_nested.py +36 -21
  191. lionagi/tests/{test_libs → libs}/test_parse.py +1 -1
  192. lionagi/tests/libs/test_queue.py +67 -0
  193. lionagi/tests/test_core/collections/__init__.py +0 -0
  194. lionagi/tests/test_core/collections/test_component.py +206 -0
  195. lionagi/tests/test_core/collections/test_exchange.py +138 -0
  196. lionagi/tests/test_core/collections/test_flow.py +145 -0
  197. lionagi/tests/test_core/collections/test_pile.py +171 -0
  198. lionagi/tests/test_core/collections/test_progression.py +129 -0
  199. lionagi/tests/test_core/generic/__init__.py +0 -0
  200. lionagi/tests/test_core/generic/test_edge.py +67 -0
  201. lionagi/tests/test_core/generic/test_graph.py +96 -0
  202. lionagi/tests/test_core/generic/test_node.py +106 -0
  203. lionagi/tests/test_core/generic/test_tree_node.py +73 -0
  204. lionagi/tests/test_core/test_branch.py +115 -292
  205. lionagi/tests/test_core/test_form.py +46 -0
  206. lionagi/tests/test_core/test_report.py +105 -0
  207. lionagi/tests/test_core/test_validator.py +111 -0
  208. lionagi/version.py +1 -1
  209. {lionagi-0.0.312.dist-info → lionagi-0.2.1.dist-info}/LICENSE +12 -11
  210. {lionagi-0.0.312.dist-info → lionagi-0.2.1.dist-info}/METADATA +19 -118
  211. lionagi-0.2.1.dist-info/RECORD +240 -0
  212. lionagi/core/branch/__init__.py +0 -4
  213. lionagi/core/branch/base_branch.py +0 -654
  214. lionagi/core/branch/branch.py +0 -471
  215. lionagi/core/branch/branch_flow_mixin.py +0 -96
  216. lionagi/core/branch/executable_branch.py +0 -347
  217. lionagi/core/branch/util.py +0 -323
  218. lionagi/core/direct/__init__.py +0 -6
  219. lionagi/core/direct/predict.py +0 -161
  220. lionagi/core/direct/score.py +0 -278
  221. lionagi/core/direct/select.py +0 -169
  222. lionagi/core/direct/utils.py +0 -87
  223. lionagi/core/direct/vote.py +0 -64
  224. lionagi/core/flow/base/baseflow.py +0 -23
  225. lionagi/core/flow/monoflow/ReAct.py +0 -238
  226. lionagi/core/flow/monoflow/__init__.py +0 -9
  227. lionagi/core/flow/monoflow/chat.py +0 -95
  228. lionagi/core/flow/monoflow/chat_mixin.py +0 -263
  229. lionagi/core/flow/monoflow/followup.py +0 -214
  230. lionagi/core/flow/polyflow/__init__.py +0 -1
  231. lionagi/core/flow/polyflow/chat.py +0 -248
  232. lionagi/core/mail/schema.py +0 -56
  233. lionagi/core/messages/__init__.py +0 -3
  234. lionagi/core/messages/schema.py +0 -533
  235. lionagi/core/prompt/prompt_template.py +0 -316
  236. lionagi/core/schema/__init__.py +0 -22
  237. lionagi/core/schema/action_node.py +0 -29
  238. lionagi/core/schema/base_mixin.py +0 -296
  239. lionagi/core/schema/base_node.py +0 -199
  240. lionagi/core/schema/condition.py +0 -24
  241. lionagi/core/schema/data_logger.py +0 -354
  242. lionagi/core/schema/data_node.py +0 -93
  243. lionagi/core/schema/prompt_template.py +0 -67
  244. lionagi/core/schema/structure.py +0 -910
  245. lionagi/core/tool/__init__.py +0 -3
  246. lionagi/core/tool/tool_manager.py +0 -280
  247. lionagi/integrations/bridge/pydantic_/base_model.py +0 -7
  248. lionagi/tests/test_core/test_base_branch.py +0 -427
  249. lionagi/tests/test_core/test_chat_flow.py +0 -63
  250. lionagi/tests/test_core/test_mail_manager.py +0 -75
  251. lionagi/tests/test_core/test_prompts.py +0 -51
  252. lionagi/tests/test_core/test_session.py +0 -254
  253. lionagi/tests/test_core/test_session_base_util.py +0 -312
  254. lionagi/tests/test_core/test_tool_manager.py +0 -95
  255. lionagi-0.0.312.dist-info/RECORD +0 -111
  256. /lionagi/core/{branch/base → _setting}/__init__.py +0 -0
  257. /lionagi/core/{flow → agent/eval}/__init__.py +0 -0
  258. /lionagi/core/{flow/base → agent/learn}/__init__.py +0 -0
  259. /lionagi/core/{prompt → agent/plan}/__init__.py +0 -0
  260. /lionagi/core/{tool/manual.py → agent/plan/plan.py} +0 -0
  261. /lionagi/{tests/test_integrations → core/director}/__init__.py +0 -0
  262. /lionagi/{tests/test_libs → core/engine}/__init__.py +0 -0
  263. /lionagi/{tests/test_libs/test_async.py → core/executor/__init__.py} +0 -0
  264. /lionagi/tests/{test_libs → libs}/test_api.py +0 -0
  265. /lionagi/tests/{test_libs → libs}/test_convert.py +0 -0
  266. /lionagi/tests/{test_libs → libs}/test_sys_util.py +0 -0
  267. {lionagi-0.0.312.dist-info → lionagi-0.2.1.dist-info}/WHEEL +0 -0
  268. {lionagi-0.0.312.dist-info → lionagi-0.2.1.dist-info}/top_level.txt +0 -0
lionagi/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.0.312"
1
+ __version__ = "0.2.1"
@@ -1,4 +1,4 @@
1
- Apache License
1
+ Apache License
2
2
  Version 2.0, January 2004
3
3
  http://www.apache.org/licenses/
4
4
 
@@ -186,16 +186,17 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2023 HaiyangLi <ocean@lionagi.ai>
190
189
 
191
- Licensed under the Apache License, Version 2.0 (the "License");
192
- you may not use this file except in compliance with the License.
193
- You may obtain a copy of the License at
190
+ Copyright 2024 HaiyangLi
194
191
 
195
- http://www.apache.org/licenses/LICENSE-2.0
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
196
195
 
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lionagi
3
- Version: 0.0.312
3
+ Version: 0.2.1
4
4
  Summary: Towards automated general intelligence.
5
5
  Author: HaiyangLi
6
6
  Author-email: Haiyang Li <ocean@lionagi.ai>
@@ -192,19 +192,20 @@ License: Apache License
192
192
  same "printed page" as the copyright notice for easier
193
193
  identification within third-party archives.
194
194
 
195
- Copyright 2023 HaiyangLi <ocean@lionagi.ai>
196
195
 
197
- Licensed under the Apache License, Version 2.0 (the "License");
198
- you may not use this file except in compliance with the License.
199
- You may obtain a copy of the License at
196
+ Copyright 2024 HaiyangLi
200
197
 
201
- http://www.apache.org/licenses/LICENSE-2.0
198
+ Licensed under the Apache License, Version 2.0 (the "License");
199
+ you may not use this file except in compliance with the License.
200
+ You may obtain a copy of the License at
202
201
 
203
- Unless required by applicable law or agreed to in writing, software
204
- distributed under the License is distributed on an "AS IS" BASIS,
205
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
206
- See the License for the specific language governing permissions and
207
- limitations under the License.
202
+ http://www.apache.org/licenses/LICENSE-2.0
203
+
204
+ Unless required by applicable law or agreed to in writing, software
205
+ distributed under the License is distributed on an "AS IS" BASIS,
206
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
207
+ See the License for the specific language governing permissions and
208
+ limitations under the License.
208
209
 
209
210
  Project-URL: PyPI, https://pypi.org/project/lionagi/
210
211
  Project-URL: Repository, https://github.com/lion-agi/lionagi
@@ -225,128 +226,28 @@ Requires-Dist: pandas >=2.1.0
225
226
  ![PyPI - Version](https://img.shields.io/pypi/v/lionagi?labelColor=233476aa&color=231fc935) ![PyPI - Downloads](https://img.shields.io/pypi/dm/lionagi?color=blue)
226
227
 
227
228
 
228
-
229
229
  [PyPI](https://pypi.org/project/lionagi/) | [Documentation](https://ocean-lion.com/Welcome) | [Discord](https://discord.gg/xCkA5ErGmV)
230
230
 
231
- ```
232
- Documentation for v0.0.300+ is in progress
233
-
234
- To contribute, you need to make a fork first, and then make pull request from your fork.
235
- ```
236
-
237
- # LionAGI
238
-
239
-
240
- **LionAGI is undergoing major transformation.**
241
-
242
- It is an intelligent agentic workflow automation framework. It introduces advanced ML models into any existing workflows and data infrastructure.
243
-
244
- #### Currently, it can
245
-
246
- - generate inferences from almost all models including local
247
- - run most model inferencing in parallel
248
- - produce structured pydantic outputs with flexible usage
249
- - automate workflow via graph based agents
250
- - use advanced prompting techniques, i.e. ReAct (reason-action)
251
- - …
252
-
253
- #### It aims to:
254
-
255
- - provide a centralized agent-managed framework for ML-powered tools coordination.
256
- - such that, people can utilize intelligence to solve their problems in real life.
257
- - achieve the goal by dramatically lowering the barrier of entries for creating use-case/domain specific tools.
258
-
259
- #### Why?
260
-
261
- - To better the human experience for more.
262
-
263
- ---
264
-
265
-
266
- **Powerful Intelligent Workflow Automation**
267
-
268
- LionAGI is an **intelligent agent framework**. Tailored for **big data analysis** in conjunction with advanced **machine learning** tools, designed for data-centric, production-level projects. Lionagi provides a set of robust tools, enabling flexible and rapid design of agentic workflow, for your own data.
269
-
270
-
271
- ## Why Automating Workflows?
272
-
273
- Intelligent AI models such as [Large Language Model (LLM)](https://en.wikipedia.org/wiki/Large_language_model), introduced new possibilities of human-computer interaction. LLMs is drawing a lot of attention worldwide due to its “one model fits all”, and incredible performance. One way of using LLM is to use as search engine, however, this usage is complicated by the fact that LLMs [hallucinate](https://arxiv.org/abs/2311.05232).
274
231
 
275
- What goes inside of a LLM is more akin to a [black-box](https://pauldeepakraj-r.medium.com/demystifying-the-black-box-a-deep-dive-into-llm-interpretability-971524966fdf), lacking interpretability, meaning we don’t know how it reaches certain answer or conclusion, thus we cannot fully trust/rely the output from such a system.
232
+ # Language InterOperable Network - LION
276
233
 
277
- <img width="500" alt="ReAct flow" src="https://github.com/lion-agi/lionagi/assets/122793010/fabec1eb-fa8e-4ce9-b75f-b7aca4809c0f">
278
-
279
-
280
- Another approach of using LLM is to treat them as [intelligent agent](https://arxiv.org/html/2401.03428v1), that are equipped with various tools and data sources. A workflow conducted by such an intelligent agent have clear steps, and we can specify, observe, evaluate and optimize the logic for each decision that the `agent` made to perform actions. This approach, though we still cannot pinpoint how LLM output what it outputs, but the flow itself is **explainable**.
281
-
282
- LionAGI `agent` can manage and direct other agents, can also use multiple different tools in parallel.
283
-
284
- <img width="700" alt="parallel agents" src="https://github.com/lion-agi/lionagi/assets/122793010/ab263a6a-c7cc-40c3-8c03-ba1968df7309">
285
-
286
-
287
- ### Install LionAGI with pip:
288
-
289
- ```bash
290
- pip install lionagi
291
234
  ```
292
- Download the `.env_template` file, input your appropriate `API_KEY`, save the file, rename as `.env` and put in your project's root directory.
293
- by default we use `OPENAI_API_KEY`.
294
-
295
-
296
- ### Quick Start
297
-
298
- The following example shows how to use LionAGI's `Session` object to interact with `gpt-4-turbo` model:
299
-
300
- ```python
301
-
302
- # define system messages, context and user instruction
303
- system = "You are a helpful assistant designed to perform calculations."
304
- instruction = {"Addition":"Add the two numbers together i.e. x+y"}
305
- context = {"x": 10, "y": 5}
306
-
307
- model="gpt-4-turbo-preview"
308
- ```
309
-
310
- ```python
311
- # in interactive environment (.ipynb for example)
312
- from lionagi import Session
313
-
314
- calculator = Session(system)
315
- result = await calculator.chat(instruction, context=context, model=model)
316
-
317
- print(f"Calculation Result: {result}")
235
+ lionagi version 0.2.1
318
236
  ```
319
237
 
320
- ```python
321
- # or otherwise, you can use
322
- import asyncio
323
- from dotenv import load_dotenv
324
-
325
- load_dotenv()
238
+ **Powerful Intelligent Workflow Automation**
326
239
 
327
- from lionagi import Session
240
+ lionagi is an intelligent agentic workflow automation framework. It introduces advanced ML models into any existing workflows and data infrastructure.
328
241
 
329
- async def main():
330
- calculator = Session(system)
331
- result = await calculator.chat(instruction, context=context, model=model)
332
242
 
333
- print(f"Calculation Result: {result}")
243
+ ### Why Automating Workflows?
334
244
 
335
- if __name__ == "__main__":
336
- asyncio.run(main())
337
- ```
245
+ Intelligent AI models such as [Large Language Model (LLM)](https://en.wikipedia.org/wiki/Large_language_model), introduced new possibilities of human-computer interaction. LLMs is drawing a lot of attention worldwide due to its “one model fits all”, and incredible performance. One way of using LLM is to use as search engine, however, this usage is complicated by the fact that LLMs [hallucinate](https://arxiv.org/abs/2311.05232).
338
246
 
339
- Visit our notebooks for examples.
247
+ What goes inside of a LLM is more akin to a [black-box](https://pauldeepakraj-r.medium.com/demystifying-the-black-box-a-deep-dive-into-llm-interpretability-971524966fdf), lacking interpretability, meaning we don’t know how it reaches certain answer or conclusion, thus we cannot fully trust/rely the output from such a system. Another approach of using LLM is to treat them as [intelligent agent](https://arxiv.org/html/2401.03428v1), that are equipped with various tools and data sources. A workflow conducted by such an intelligent agent have clear steps, and we can specify, observe, evaluate and optimize the logic for each decision that the `agent` made to perform actions. This approach, though we still cannot pinpoint how LLM output what it outputs, but the flow itself is **explainable**.
340
248
 
341
- LionAGI is designed to be `asynchronous` only, please check python official documentation on how `async` work: [here](https://docs.python.org/3/library/asyncio.html)
342
249
 
343
- ---
344
250
 
345
- **Notice**:
346
- * calling API with maximum throughput over large set of data with advanced models i.e. gpt-4 can get **EXPENSIVE IN JUST SECONDS**,
347
- * please know what you are doing, and check the usage on OpenAI regularly
348
- * default rate limits are set to be 1,000 requests, 100,000 tokens per miniute, please check the [OpenAI usage limit documentation](https://platform.openai.com/docs/guides/rate-limits?context=tier-free) you can modify token rate parameters to fit different use cases.
349
- * if you would like to build from source, please download the [latest release](https://github.com/lion-agi/lionagi/releases),
350
251
  ### Community
351
252
 
352
253
  We encourage contributions to LionAGI and invite you to enrich its features and capabilities. Engage with us and other community members [Join Our Discord](https://discord.gg/7RGWqpSxze)
@@ -0,0 +1,240 @@
1
+ lionagi/__init__.py,sha256=wQNFPZWiozZvEC6fQMtGbJHZ5iX5gxk95PUboWrMnKY,1926
2
+ lionagi/version.py,sha256=HfjVOrpTnmZ-xVFCYSVmX50EXaBQeJteUHG-PD6iQs8,22
3
+ lionagi/core/__init__.py,sha256=Il5Q9ATdX8yXqVxtP_nYqUhExzxPC_qk_WXQ_4h0exg,16
4
+ lionagi/core/_setting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ lionagi/core/_setting/_setting.py,sha256=p23fHtrzIZlQ8s8CDZICn8C6k7mdB_088nIDx19JaqM,1907
6
+ lionagi/core/action/__init__.py,sha256=UvUNKL5rWo1L1tDZ1AoX7VsTjSb-MfSbj5MJTb3_qTY,304
7
+ lionagi/core/action/function_calling.py,sha256=MIVqycjDky3kAaxL8HFT3xQbH966v2pusSvTdqDdBSc,4706
8
+ lionagi/core/action/manual.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
9
+ lionagi/core/action/node.py,sha256=DKuZ2aRtlooeuJfgruEKnEkCOkvgSTrOYOJA-DNQTwo,3524
10
+ lionagi/core/action/tool.py,sha256=jWr_KQN8Z9v02rFeKbMFiU4djZrPRIBqAEVx8aC3LXE,3933
11
+ lionagi/core/action/tool_manager.py,sha256=LDIYiN4c4bSQashTG092ycoBF4qBzLKO1bg8UCJLtWg,11753
12
+ lionagi/core/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
+ lionagi/core/agent/base_agent.py,sha256=v31YXMMSUJCOpWL-UsB0FyADUSZM2y5JuYLHX-WnBfE,3382
14
+ lionagi/core/agent/eval/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
+ lionagi/core/agent/eval/evaluator.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
16
+ lionagi/core/agent/eval/vote.py,sha256=A0rhWzSC9GPDa04ZNCBHz4lvEoSJUUGWkcwG3XY_7M8,1104
17
+ lionagi/core/agent/learn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
+ lionagi/core/agent/learn/learner.py,sha256=vMPskzGmUVKS9gaswQ5sc_tHIZ-6ZOfvGFFZ0mZ0rxo,2773
19
+ lionagi/core/agent/plan/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ lionagi/core/agent/plan/plan.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ lionagi/core/agent/plan/unit_template.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
22
+ lionagi/core/collections/__init__.py,sha256=5374e0qHH75IUvW-xA3Dte25N_oc_YXjtu7eYPvmKHA,297
23
+ lionagi/core/collections/_logger.py,sha256=_jwZe6BsRaWB2YkHwG01jmiudJkoi5u90Ry3KKa9T-o,12104
24
+ lionagi/core/collections/exchange.py,sha256=Skx2al0PtNkzdaApb8DdbOO0ukC19kSQnlskHpAHJHw,4832
25
+ lionagi/core/collections/flow.py,sha256=0tBeVJhENXjVFjtOlrEHXvI4q-rgTyD-kcE7X29AqDE,13189
26
+ lionagi/core/collections/model.py,sha256=RQYuvZachSYJi8owQ44GPSZXV22l-KdWqJAL40CG2PE,14846
27
+ lionagi/core/collections/pile.py,sha256=MF2G846TolIiKZkY0mjSOvD7Bc3__Fb_z-WiiLG1lbM,29444
28
+ lionagi/core/collections/progression.py,sha256=eDhSbsQWb9TVsNExaJAN27tjoyb6QEKWPxBZKUbNbs0,7295
29
+ lionagi/core/collections/util.py,sha256=JRu_gCDYopqIUByEtJgnJNkeoWnhge7XbSFejrdbIec,1962
30
+ lionagi/core/collections/abc/__init__.py,sha256=THWgtMuBy4wZrkZfxuTWpj9ao8fnaE25JxKE-Dz93Ro,984
31
+ lionagi/core/collections/abc/component.py,sha256=sWokQwRPl6Se8rJXw_tK9GAuKMq49xGroott4iysxmI,21850
32
+ lionagi/core/collections/abc/concepts.py,sha256=ijtFcLr8PoLu2WUowpToPIHO17Of4KcPLU89OUTMpoI,8580
33
+ lionagi/core/collections/abc/exceptions.py,sha256=XtcJLq4p-xBLbqE0lspmftEeAc6DEDC-AgRJrZCx-ls,4602
34
+ lionagi/core/collections/abc/util.py,sha256=CjJs-PgK0t4MAG1AJUdgrxQg7v2Ou-ixv-gWjatu7d4,779
35
+ lionagi/core/director/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
+ lionagi/core/director/direct.py,sha256=AkSeam9wFjmFRhZtqTV3XU5bG1bOc7Cl2QpE9gugNlg,10111
37
+ lionagi/core/director/director.py,sha256=E-zgbAj5gbUgDrfE0YzFoipZnr0WWGZwIreEGGY2KJc,103
38
+ lionagi/core/engine/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
+ lionagi/core/engine/branch_engine.py,sha256=b1Isl4UBoHtUxdfBWAahnE5tmyV4g5UOQcyFZUjP0Yc,12187
40
+ lionagi/core/engine/instruction_map_engine.py,sha256=IXUgpK5dm9f2vD1UPo1aaIIfjgSaZrabx5qJuyNApgU,8532
41
+ lionagi/core/engine/sandbox_.py,sha256=yjq8aznCEBeflus68VVQavy6ChfdIoZeVvPhUx_UzrI,459
42
+ lionagi/core/engine/script_engine.py,sha256=4aL34i57ODmeZhdMjwt8HW3Xm0Qqk96VD_fqlNT06vg,3644
43
+ lionagi/core/executor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
+ lionagi/core/executor/base_executor.py,sha256=SFyNXfDy-h1Hk59hPS092JxPhNI2pUaHH1Onn4ZqTwY,2772
45
+ lionagi/core/executor/graph_executor.py,sha256=lyKZ_UCrneQl-z82j3DCBSUvAI-2focAvDlknf8JOkw,13281
46
+ lionagi/core/executor/neo4j_executor.py,sha256=POPqYo1f86PT9JMgPvTQ4dgTCw5jS17csX0KdU-QcC4,15385
47
+ lionagi/core/generic/__init__.py,sha256=YFIUtzKwabE4UIs9EySXMirz97vsD2aHoqEKBCpc0Z0,140
48
+ lionagi/core/generic/edge.py,sha256=5JDzy4RAaj5UQea4vbvmoyMTVQU--PUQgtMy1OoJuBU,3987
49
+ lionagi/core/generic/edge_condition.py,sha256=F1FUJNcQvksCZBMCyAaOTQNNzg4bnUi_t-O_NZOmsQk,374
50
+ lionagi/core/generic/graph.py,sha256=kKL-CMrqcrz-Br6dKy74RyUn7mSxfzLMeuFheCZy4wE,7265
51
+ lionagi/core/generic/hyperedge.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
52
+ lionagi/core/generic/node.py,sha256=PU88Z-hGG3sEIxj2e4Kez-Np-3YWXj6SxxYV-NX1PWw,6909
53
+ lionagi/core/generic/tree.py,sha256=HOylit6dAcUoYsqDqPIcZ2IdO92bCiwDlq_mMTOM_f4,1540
54
+ lionagi/core/generic/tree_node.py,sha256=dveu_LPUTP5LcLDuIOkWUgUqzrl8lr9HMupP66IZeAs,2411
55
+ lionagi/core/mail/__init__.py,sha256=fHNlcHwPCUbnrf8ItQ6HJQwmAG9KrDKouKBXjbo7h78,203
56
+ lionagi/core/mail/mail.py,sha256=ZNj2GHgMXj_xyvNwXdKbwhyRF0SS0bDcD4SwYVesZYw,726
57
+ lionagi/core/mail/mail_manager.py,sha256=8WPlN56UNM6ofxwiJXPcL7rlklwFUB2i_2tqSaCdJqo,6047
58
+ lionagi/core/mail/package.py,sha256=BO2DdlEjvtHpMlBPRFccyn1vKsNPbrVk7mX6ELxnVxQ,1148
59
+ lionagi/core/mail/start_mail.py,sha256=G6S3cfmDpYRqETg_zC3cU7JRtYwQgpcqcCM_Y8GmWGE,1248
60
+ lionagi/core/message/__init__.py,sha256=VHeXDOpsIhoZfCGZ1UQM0nij4-9XeBI6An1xWc7A_es,458
61
+ lionagi/core/message/action_request.py,sha256=9kqi3FFp6kqduSPOAMptpdVviUX01IMd8PRrOETOib0,4457
62
+ lionagi/core/message/action_response.py,sha256=pZ80IYeeQ315wfqqHuB5O_broWi5bubchVsUd8N7tkw,4945
63
+ lionagi/core/message/assistant_response.py,sha256=OVVOIJxHNFv-CKWT2MzGw6PSukKwiGeLtbi0l0RPxxE,3177
64
+ lionagi/core/message/instruction.py,sha256=RNxDBVYBC2wwabShZesOTZNN4Pi4gDT3iaccxWA2S-U,8419
65
+ lionagi/core/message/message.py,sha256=rskq_clQNQ9gzXCTqKzsuYiJDbadaLh2dBdIOukiShI,2961
66
+ lionagi/core/message/system.py,sha256=4IGbtl3PzAFb-UYjNWPRAUYe9i9FCpLRIOrK5xDW7W8,2876
67
+ lionagi/core/message/util.py,sha256=sTt1iV0LGvNXnPJUThxB78g5rVcuV6wPFAb8Fqc1f1s,9764
68
+ lionagi/core/report/__init__.py,sha256=KqfJNaSx9fzRw3eyrlIlYIiueo-jVYMgjaOdfzTUAN4,80
69
+ lionagi/core/report/base.py,sha256=9tENrzVLht3YdfwS7evhx--L0GB95fl6e_CiFoCQ6gE,7934
70
+ lionagi/core/report/form.py,sha256=wV-T-2SlkRAe2AQ_0CNKobiOSDcao_XUBw8paHvM08Q,7883
71
+ lionagi/core/report/report.py,sha256=9_OKUduQFAn6tU6cXBv6_YwaMrSKrEuDFTSyLrX3YSQ,6103
72
+ lionagi/core/report/util.py,sha256=s9TszoP9Qr0xic08Weg15IkgjcyKe1FIhWSWUk6sl9Q,894
73
+ lionagi/core/rule/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
74
+ lionagi/core/rule/_default.py,sha256=nW0dSiDVOB9CwyYDHkAiFNPitDrCRak4Yz7XxYI1hTA,397
75
+ lionagi/core/rule/action.py,sha256=Dim2z0ECKo1nXT78dl4ocyox8sbTkFPpWy8fLH65XQY,3137
76
+ lionagi/core/rule/base.py,sha256=yn-O28LXAKi3xwB5ChRxgDF8oaQBnsK89kn20hd79s4,7515
77
+ lionagi/core/rule/boolean.py,sha256=uKzice2fbbmHIBgoqFXT8c1hbUfrmp3K18wAOwEvbzE,1525
78
+ lionagi/core/rule/choice.py,sha256=ybGkyeMs6KSBsBrhmif7BlQHnqRqL7KI25ZJ9IFIft8,1479
79
+ lionagi/core/rule/mapping.py,sha256=kS0Ma8skAfun9tNAZYNvinYAQzNuuQO32gtViytVlTY,3091
80
+ lionagi/core/rule/number.py,sha256=y2pr6BeuI-O5Jllq4Hg2rv5EUFkkm8jh9JDylY_SRKk,2288
81
+ lionagi/core/rule/rulebook.py,sha256=HlJCIjhsRB0yJs-uF85aK9bJasCDI0K845UGmymzD9Q,3660
82
+ lionagi/core/rule/string.py,sha256=8nSxEhHUFs-gWM1MW5fiNuDP1Yd_IIZ2ipBVphgCmQ0,1487
83
+ lionagi/core/rule/util.py,sha256=qqtUqt4BL_sikW2XZ73NDzb3p-Awu4za_2B5mZvzFdA,1042
84
+ lionagi/core/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
+ lionagi/core/session/branch.py,sha256=6ySBqEZHYbQ1AKJmcoBtU9MwF5WT5wAr3z2NB6TF8gg,14761
86
+ lionagi/core/session/directive_mixin.py,sha256=7sy5H73T4fyVVBdrU2By5NjLaJIPzSdwkNMRtYuaWtE,11740
87
+ lionagi/core/session/session.py,sha256=uESwIyGfRrX8Ii03-QIQYUlQKR7lsJWREdSZrHxfNW4,11012
88
+ lionagi/core/structure/__init__.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
89
+ lionagi/core/structure/chain.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
90
+ lionagi/core/structure/forest.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
91
+ lionagi/core/structure/graph.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
92
+ lionagi/core/structure/tree.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
93
+ lionagi/core/unit/__init__.py,sha256=cxASNHNw2wK-SO9a4FQTjKDOOpT3HRE_qFD5GEvHdbQ,88
94
+ lionagi/core/unit/parallel_unit.py,sha256=DB5PjGMin2PkXc4qR7u6zEMxkj8WVgtSfdMoPhSby0A,9332
95
+ lionagi/core/unit/unit.py,sha256=V-0qOUtW5v5XHNUGJl9aE1j8fxYVWwLulrxySkN814w,12986
96
+ lionagi/core/unit/unit_form.py,sha256=1WDBXDprnsyz8OEbDH7LLRceldhvZHmswVoZb1CV80E,11580
97
+ lionagi/core/unit/unit_mixin.py,sha256=axXqXFiR6pQ-q2Bx5nuryv0hkj_ywOgZTFAv-7Sg124,39312
98
+ lionagi/core/unit/util.py,sha256=GqErzoWlUeSBtl3qcjqMONJoNK7i1DYJ_S3JW6MnEp8,1994
99
+ lionagi/core/unit/template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
100
+ lionagi/core/unit/template/action.py,sha256=AETiRQKDvjB-EEyi-i6u3UqQ8650HbDkUaSSNxQJ8P0,2791
101
+ lionagi/core/unit/template/base.py,sha256=PgtYu0WjD1xBir1lrR0hCnb6qgLEDGyEkQE6zTq2Slw,1767
102
+ lionagi/core/unit/template/plan.py,sha256=BDnkpRGLSqRvljqtxHdxHTBTItpWSxKFlfy6vjIMStk,2733
103
+ lionagi/core/unit/template/predict.py,sha256=LdsKgoXs-yQIb6VfFD08CphAn33SJWUlLF8DVhtuAOc,3705
104
+ lionagi/core/unit/template/score.py,sha256=vTiSzL80YDQERVEQT-VNc_wKWbVJyLfvBa2DSexKyLg,4368
105
+ lionagi/core/unit/template/select.py,sha256=n9u1Yer_fWPYZDzAnlYpSECo_hk7B0gTaEGSta6i8is,3604
106
+ lionagi/core/validator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
+ lionagi/core/validator/validator.py,sha256=ngThQTzNSOa6N0mKrAQuhwM_gb_IWhF58OefOyUjTK8,12012
108
+ lionagi/core/work/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
+ lionagi/core/work/work.py,sha256=oVbx0b8arvXSjDZa2Rs1s37_Fiue6gbR0Tt4oL7Dzkk,2532
110
+ lionagi/core/work/work_function.py,sha256=Rjck1lX3AuRvVdz5aQYY7Va_jTGNwF9L4X4dlHgKTYo,3261
111
+ lionagi/core/work/work_queue.py,sha256=hOGXjQ2bMhBRUmcplLj0bLJe2MKReuQtIdzMHfIrnb0,3479
112
+ lionagi/core/work/worker.py,sha256=CtVf6vdGjBiKjDSZBT7Xfl7cPs2JIVhkE7Lhyed9Qe8,9008
113
+ lionagi/core/work/worklog.py,sha256=fHnmo21K7lcrE4Cwub8EWgmBOO9vOtENJT2zEoNRhgo,3437
114
+ lionagi/experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
115
+ lionagi/experimental/compressor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
116
+ lionagi/experimental/compressor/base.py,sha256=1BKdA6rcj0ziFNstj8Xc70aG5dL-JTiZwiM8NnwoDns,2017
117
+ lionagi/experimental/compressor/llm_compressor.py,sha256=rYutTV3n75GqUZa41d2etVlMh4lTUUXIz8OX-ghMyWo,8480
118
+ lionagi/experimental/compressor/llm_summarizer.py,sha256=TujLunlEXBtHCwKQZoud5T9bogeSgbVxX_dtuasDg_c,2407
119
+ lionagi/experimental/compressor/util.py,sha256=pUsL2vL6ZuJa6Kr--2_Qnh-dOleFVpfhbMYdMn5FbXU,2226
120
+ lionagi/experimental/directive/__init__.py,sha256=01JLCb7Zd7UTVsTGog9-pXXT4FBT7P7QErbhoT7vkIw,403
121
+ lionagi/experimental/directive/tokenizer.py,sha256=BrHMl0BvkZ5YGmA_ZsVYRTks46rQw_oRztIJO93ntow,2343
122
+ lionagi/experimental/directive/parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
123
+ lionagi/experimental/directive/parser/base_parser.py,sha256=WoJUn998c0AZL8f0GP3t3KBEx517k215a5BLdebvE5I,10758
124
+ lionagi/experimental/directive/template/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
125
+ lionagi/experimental/directive/template/base_template.py,sha256=yc8pGv0DOtumRnczkjPlvhgW07aQYxGe--e4-aXGh2Q,3168
126
+ lionagi/experimental/directive/template/schema.py,sha256=vGHQqn_ZAMkIfUqqdnPCHN8p-wommVyMBkanWHPuCSI,861
127
+ lionagi/experimental/evaluator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
128
+ lionagi/experimental/evaluator/ast_evaluator.py,sha256=V6C3IjSy8hkoWvtIz4YRpsOgdCmf6rWQ-TlFYlJrXc4,4691
129
+ lionagi/experimental/evaluator/base_evaluator.py,sha256=IydDd2bDsaONrbrfrPDCwrwzAATDRFnegUqdypIOyRY,8621
130
+ lionagi/experimental/knowledge/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
131
+ lionagi/experimental/knowledge/base.py,sha256=iqyL05A9NYv3Hh3Zb6Pe_uOS3zFWRsxzDVTcihH9g04,218
132
+ lionagi/experimental/knowledge/graph.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
133
+ lionagi/experimental/memory/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
134
+ lionagi/experimental/strategies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
135
+ lionagi/experimental/strategies/base.py,sha256=DkeLUlrb7rGx3nZ04aADU9HXXu5mZTf_DBwT0xhzIv4,7
136
+ lionagi/integrations/__init__.py,sha256=Il5Q9ATdX8yXqVxtP_nYqUhExzxPC_qk_WXQ_4h0exg,16
137
+ lionagi/integrations/bridge/__init__.py,sha256=ee5IeCkDOD2uhbzqxg_xDxaG-Q3BPPZCYltBjzg2gSs,169
138
+ lionagi/integrations/bridge/autogen_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
139
+ lionagi/integrations/bridge/autogen_/autogen_.py,sha256=D66BIcAI_4AafYHp67TqyNF-lgap6bbOxRHukLpAz2s,4055
140
+ lionagi/integrations/bridge/langchain_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
141
+ lionagi/integrations/bridge/langchain_/documents.py,sha256=XwkrC6axEOWxGDiAZoCRvJ8jFBhXjPU3e8GS6EEIgKs,4938
142
+ lionagi/integrations/bridge/langchain_/langchain_bridge.py,sha256=-lnJtyf4iJEwHKQAwBRN6YZ7CTsyFLetl5e8_9UGouY,3163
143
+ lionagi/integrations/bridge/llamaindex_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
144
+ lionagi/integrations/bridge/llamaindex_/index.py,sha256=6kjnqTiwFRI8x51OhBVxj_QOEzPxhG4w1S8qqbFaLY8,748
145
+ lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py,sha256=AxLuoaDueNPZ_vX4_-kGlxlDKezqb1E1Cn_s33Dq2pM,5203
146
+ lionagi/integrations/bridge/llamaindex_/llama_pack.py,sha256=07hDT7ZlXTOkWg4arRYNqDHBR4NJE5hOmNn52GGtS4o,8397
147
+ lionagi/integrations/bridge/llamaindex_/node_parser.py,sha256=d8SPD6EMf9bZ6824jjeZOWmwm7BHBZQ0qGq1JnsKh9k,3458
148
+ lionagi/integrations/bridge/llamaindex_/reader.py,sha256=VxdTk5h3a3_5RQzN15q75XGli52umhz9gLUrKk1Sg90,8235
149
+ lionagi/integrations/bridge/llamaindex_/textnode.py,sha256=OszGitHZ36zbG4DCGWUnSV6EO7wChEH2VA5M50iBojs,2322
150
+ lionagi/integrations/bridge/pydantic_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
151
+ lionagi/integrations/bridge/pydantic_/pydantic_bridge.py,sha256=TVh7sQX_LKERUvv1nxsA2JICY1S6ptPr3qFqzgHfGCY,87
152
+ lionagi/integrations/bridge/transformers_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
153
+ lionagi/integrations/bridge/transformers_/install_.py,sha256=sRzU6-PS5bq0ntdTM8I5i1M_Tj1yKTlq8rco_6b6QM8,1215
154
+ lionagi/integrations/chunker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
155
+ lionagi/integrations/chunker/chunk.py,sha256=NZw3wdRkHWjollZDl9my2-MtUrWzp6AcZNNdS0MnDxA,10655
156
+ lionagi/integrations/config/__init__.py,sha256=zzQGZe3H5vofcNWSjjoqe_gqHpCO8Yl7FefmrUpLqnw,133
157
+ lionagi/integrations/config/mlx_configs.py,sha256=xbostqjnk3aAN-qKyC54YBprHPA38C8YDevXMMEHXWY,44
158
+ lionagi/integrations/config/oai_configs.py,sha256=r4xkvVQ7FtMXoXc8HLe2OTnT4ljCK7o8l7RAKc_kRBg,3614
159
+ lionagi/integrations/config/ollama_configs.py,sha256=GUn0kagrQA3gpIiaxYyfdi2LAf_Ohz1sVrsAb20OBwo,17
160
+ lionagi/integrations/config/openrouter_configs.py,sha256=x5LjLx-aqCLzzrqr15gVzuTTG4Y_BVS6tRrKout5vPQ,1690
161
+ lionagi/integrations/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
162
+ lionagi/integrations/loader/load.py,sha256=TCKXePhEdNDeBH7iv__7lG0GwhPU4j3qyjhTYizAK2Q,8622
163
+ lionagi/integrations/loader/load_util.py,sha256=F0VAGS16sl6P4aolP0Us0E641RGv8zpTefdHgRDL-p4,6438
164
+ lionagi/integrations/provider/__init__.py,sha256=MJhnq2tkBRcMH-3utc0G-Co20MmsxLBbp3fUwHrJGQ8,198
165
+ lionagi/integrations/provider/_mapping.py,sha256=1IcE4IE7L1zhTIOE1W4LslGcanomdAzJYiYyGMPDhN8,1346
166
+ lionagi/integrations/provider/litellm.py,sha256=_sSUQRdk8WheCi2x6SPQUqtbK-P-afhnCFoBJeuLN0U,1231
167
+ lionagi/integrations/provider/mistralai.py,sha256=G-StbfrnUcWZvl0eRby6CZYXxmJf6BRMFzDaix-brmU,7
168
+ lionagi/integrations/provider/mlx_service.py,sha256=m9c9793xlNVNkNBXlNcavczueF5bdWD1urrIw6rDf5E,1726
169
+ lionagi/integrations/provider/oai.py,sha256=Bkh0VJPJwbQGYOFfBdSR5JG3sBkCfHHZm3dx3gmkIms,7054
170
+ lionagi/integrations/provider/ollama.py,sha256=pFjJyq4g6BR20MDCwWFSWnTgv53NlwGtirC74hGRdNg,1380
171
+ lionagi/integrations/provider/openrouter.py,sha256=g8jG3Moh_8Iy8FiqhXeoNlsjkPHJfes1vpIek7EfGO0,5650
172
+ lionagi/integrations/provider/services.py,sha256=O7q-w79tdE-8UhBQ9WOlpbiY7mKBb-7tUk4E7J5rSxw,5388
173
+ lionagi/integrations/provider/transformers.py,sha256=oCYh_k2jVKlR7uxMYOrexmoyJCtfuOOPUKb4dRwZG64,3182
174
+ lionagi/integrations/storage/__init__.py,sha256=W5FouDavC32X818ta84GAMc_z9x8onTzXNlYKQpH_a4,79
175
+ lionagi/integrations/storage/neo4j.py,sha256=1ST9sI18w3ifW6xRLQVSA-kk9GLI0wEqmlW_2BQRM8o,25705
176
+ lionagi/integrations/storage/storage_util.py,sha256=Q0IDg6d5Qi9ZbGW2Qjvg4iRCIvVUF8g1OljxeX2pSVY,10671
177
+ lionagi/integrations/storage/structure_excel.py,sha256=peg-gzDGB9A88J7XiUGR0ySV9CKgJXEUjjtrYWrDy8s,12325
178
+ lionagi/integrations/storage/to_csv.py,sha256=BS1upr2Qy0Se5JG8nYQHHxmi0OUpKJ1nACbYL5ynNCY,2881
179
+ lionagi/integrations/storage/to_excel.py,sha256=eyMIX3zQ0cTrlsMQaFTmq4Evp2s5aQvDkGoSvHS2s7U,3478
180
+ lionagi/libs/__init__.py,sha256=7TnQWHVwMWH-L2LY7PnUh4Q9PLy-2QQuOJBHbk2JVYQ,1241
181
+ lionagi/libs/ln_api.py,sha256=REJpFhaOx3sQiwx0k2KspZ7MgxnxgGKwRcDPOf6hPTU,36870
182
+ lionagi/libs/ln_async.py,sha256=fOlFmg2nTYHzFKwJNIPQNJRr_hB7HXRKEhsN7j-XPLg,6074
183
+ lionagi/libs/ln_context.py,sha256=lhXL5x-7Cd1GqXMZ6rROxoP2PIXV0PHnq7w0tUJJ3BA,1024
184
+ lionagi/libs/ln_convert.py,sha256=bf4rgSBRqeOwe4hdBAZcSTagBRIO2UWwC2XbnlS0qIQ,23883
185
+ lionagi/libs/ln_dataframe.py,sha256=d6oJQ1Xk7Mnl8FZj0lBCPf3QdFfPQpPqnnXsiG-ubUI,5539
186
+ lionagi/libs/ln_func_call.py,sha256=lkjme5eA-u-6cgp-conaEkZhRh38sEAxYlH8QGwejPM,50382
187
+ lionagi/libs/ln_image.py,sha256=t9tyHoW1K_Mf_X8IhymND38rkfP1zd6q9mc9bkQmxxY,3622
188
+ lionagi/libs/ln_knowledge_graph.py,sha256=LZn1MjMKIRSTaaabrfovTVssQgCZuab4tdnxzzOIxpw,14930
189
+ lionagi/libs/ln_nested.py,sha256=4nR1uBGsPJMfN2Q3NE5VxyMolbNmrSAewRIRIxe1szk,30183
190
+ lionagi/libs/ln_parse.py,sha256=bfNDpo0O_Ic4SL3c7jkRT_bOJ6lozeYn1ABh8UYoNmQ,27226
191
+ lionagi/libs/ln_queue.py,sha256=rQPJr_bGcCD4zdl37XfrfnHVfmdJuXBf4rUx8zXm-z0,3977
192
+ lionagi/libs/ln_tokenize.py,sha256=YatTjIoCHgGoBWex_5VTfgBSfcKJBMBQALXhxcQE7ZQ,5178
193
+ lionagi/libs/ln_validate.py,sha256=FKUOe30AahwJPdV-CnkFe07YPK7Thz910Y3pvatUSuM,8963
194
+ lionagi/libs/special_tokens.py,sha256=ViFaql64LgEGHSXzODzaVMh4GfteN8D2ogmqWYTYwiQ,2411
195
+ lionagi/libs/sys_util.py,sha256=ElaoOY7urSQ9zcVC-Z3ITaP9H3JEAsjlWyq7B7YbziI,19776
196
+ lionagi/lions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
197
+ lionagi/lions/coder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
198
+ lionagi/lions/coder/add_feature.py,sha256=mLMfz9V9yYbdH6DJs39FOz9IHdhdyPZajocQtQhjgcA,703
199
+ lionagi/lions/coder/base_prompts.py,sha256=SLpC442nZm2cEkB8o9j28kpkB-WzKLjH6sOTS8CnIrY,367
200
+ lionagi/lions/coder/code_form.py,sha256=QPfWVMYhJDgF3Bq9H1Jdw4vG3yUG8ViSxMgXWi9WPqQ,382
201
+ lionagi/lions/coder/coder.py,sha256=KJwuqyLEsQWBPZ70gQhf98V7coGvjok2tfj9lm7bLqs,5677
202
+ lionagi/lions/coder/util.py,sha256=kXPsuwfbshR1urJnYgl1p5Ft-LCWVVsXuWPYSLJUHxM,2712
203
+ lionagi/lions/researcher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
204
+ lionagi/lions/researcher/data_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
205
+ lionagi/lions/researcher/data_source/finhub_.py,sha256=X7r6PeI9nnzqI0sJ4FONVLE0VJ4din302EurFxwX5TE,8782
206
+ lionagi/lions/researcher/data_source/google_.py,sha256=V4tNn--_8k1A0FBPOD0mt5YmNeRg_7CEoWz-WHoJQmo,6675
207
+ lionagi/lions/researcher/data_source/wiki_.py,sha256=1RrrW-Ko6y0ssQguIYiWTOoZf0oVT4_JB9g9KK1N4-Y,3123
208
+ lionagi/lions/researcher/data_source/yfinance_.py,sha256=snAf897J69MyAc6fcFjF0irrMjbAh81EZ3RvaFT3hxE,977
209
+ lionagi/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
210
+ lionagi/tests/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
211
+ lionagi/tests/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
212
+ lionagi/tests/libs/test_api.py,sha256=wi8uEsV7vO-stJxvdajtOGBdnO76nGsZ_wjN0qXESEQ,1681
213
+ lionagi/tests/libs/test_convert.py,sha256=o8xqmrd3RtSQ5Rrrujek8-RWdikhxwMbn4nyUmujoWI,2796
214
+ lionagi/tests/libs/test_field_validators.py,sha256=ZzIvBsNg8AXzYS-3l-sAf_TEFtaIh-v9oMhHEFqoRBU,11901
215
+ lionagi/tests/libs/test_func_call.py,sha256=fNEeA-YmFT6sRn_HtklNeRBP7E512Dra5UL0--bXMiI,20843
216
+ lionagi/tests/libs/test_nested.py,sha256=5Qk0TdakXo15--xQuPNhSU6QAccO1SqwcNgvVNhebw4,13527
217
+ lionagi/tests/libs/test_parse.py,sha256=dnu9iDb7VVymbT1oQDXCLhaqfnTFEVE2FJSpOr8_Vso,6814
218
+ lionagi/tests/libs/test_queue.py,sha256=l71eiLhzPPMl3K8k_Eb55OtdLSWr5spFbDFnM6UaqeA,1989
219
+ lionagi/tests/libs/test_sys_util.py,sha256=Y-9jxLGxgbFNp78Z0PJyGUjRROMuRAG3Vo3i5LAH8Hs,7849
220
+ lionagi/tests/test_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
221
+ lionagi/tests/test_core/test_branch.py,sha256=jHqPAFKjQ5mS5xCkYC1j5SbpS747VnholArrQ4_3M_0,4418
222
+ lionagi/tests/test_core/test_form.py,sha256=6SpH5eS2aUdaXAmcf3U7MiXRIs58B9JY1z_mbsG4TZU,1579
223
+ lionagi/tests/test_core/test_report.py,sha256=4yES0FYmiuLe_ZtibzLSodGNH4tYo_jvAxUrGXUFICo,3438
224
+ lionagi/tests/test_core/test_validator.py,sha256=-9gj5jZ6y-heQ60SztilOXJIvfsnWVOchMy0jMDxZ2g,4233
225
+ lionagi/tests/test_core/collections/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
226
+ lionagi/tests/test_core/collections/test_component.py,sha256=dH2aszIh0NIWgnxMAGSrA9X0p0oFxFKOjA8rt6zmeY0,8653
227
+ lionagi/tests/test_core/collections/test_exchange.py,sha256=iXFk-B3jElLmfsoe2-KX8U0_sFBu3uIi3vzwYUKVcQo,4927
228
+ lionagi/tests/test_core/collections/test_flow.py,sha256=NIhNUHK0vLCNfE_72rc1AyybvRG3wFfE4NcLq36O_sg,5080
229
+ lionagi/tests/test_core/collections/test_pile.py,sha256=xKSoGokpaq38pT2Q3CUg_vVrI1-51Y0gGPDxB2lqzbc,6456
230
+ lionagi/tests/test_core/collections/test_progression.py,sha256=-k3DNNQ7gGI4-NK8wSDDUSJX6PVV-Fe3656DKta_ToM,4036
231
+ lionagi/tests/test_core/generic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
232
+ lionagi/tests/test_core/generic/test_edge.py,sha256=_wSRz8r8bmIib-XgIVoEPSbtJ7vuuymS2mPpr4Sy01I,2532
233
+ lionagi/tests/test_core/generic/test_graph.py,sha256=-vAg45cNx0CQczURgU8E0CW8lfXnBrqZwaq4OMuPUWA,3568
234
+ lionagi/tests/test_core/generic/test_node.py,sha256=SIGKts5FURH84NEHWy1if39FeVx-RAoOryXOrtIWMFY,4417
235
+ lionagi/tests/test_core/generic/test_tree_node.py,sha256=a1aMpGDAgtPD1W1HYco7Z3X7gBih-pndTbebf-K7YTA,2934
236
+ lionagi-0.2.1.dist-info/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
237
+ lionagi-0.2.1.dist-info/METADATA,sha256=Gl9P37IoGnHMnbT7ECyFdAwfwGpZfLcSXo38aer2W_Q,16055
238
+ lionagi-0.2.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
239
+ lionagi-0.2.1.dist-info/top_level.txt,sha256=szvch_d2jE1Lu9ZIKsl26Ll6BGfYfbOgt5lm-UpFSo4,8
240
+ lionagi-0.2.1.dist-info/RECORD,,
@@ -1,4 +0,0 @@
1
- from .branch import Branch
2
- from .executable_branch import ExecutableBranch
3
-
4
- __all__ = ["Branch", "ExecutableBranch"]