lionagi 0.1.2__py3-none-any.whl → 0.2.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- lionagi/__init__.py +60 -5
- lionagi/core/__init__.py +0 -25
- lionagi/core/_setting/_setting.py +59 -0
- lionagi/core/action/__init__.py +14 -0
- lionagi/core/action/function_calling.py +136 -0
- lionagi/core/action/manual.py +1 -0
- lionagi/core/action/node.py +109 -0
- lionagi/core/action/tool.py +114 -0
- lionagi/core/action/tool_manager.py +356 -0
- lionagi/core/agent/base_agent.py +27 -13
- lionagi/core/agent/eval/evaluator.py +1 -0
- lionagi/core/agent/eval/vote.py +40 -0
- lionagi/core/agent/learn/learner.py +59 -0
- lionagi/core/agent/plan/unit_template.py +1 -0
- lionagi/core/collections/__init__.py +17 -0
- lionagi/core/{generic/data_logger.py → collections/_logger.py} +69 -55
- lionagi/core/collections/abc/__init__.py +53 -0
- lionagi/core/collections/abc/component.py +615 -0
- lionagi/core/collections/abc/concepts.py +297 -0
- lionagi/core/collections/abc/exceptions.py +150 -0
- lionagi/core/collections/abc/util.py +45 -0
- lionagi/core/collections/exchange.py +161 -0
- lionagi/core/collections/flow.py +426 -0
- lionagi/core/collections/model.py +419 -0
- lionagi/core/collections/pile.py +913 -0
- lionagi/core/collections/progression.py +236 -0
- lionagi/core/collections/util.py +64 -0
- lionagi/core/director/direct.py +314 -0
- lionagi/core/director/director.py +2 -0
- lionagi/core/{execute/branch_executor.py → engine/branch_engine.py} +134 -97
- lionagi/core/{execute/instruction_map_executor.py → engine/instruction_map_engine.py} +80 -55
- lionagi/{experimental/directive/evaluator → core/engine}/script_engine.py +17 -1
- lionagi/core/executor/base_executor.py +90 -0
- lionagi/core/{execute/structure_executor.py → executor/graph_executor.py} +62 -66
- lionagi/core/{execute → executor}/neo4j_executor.py +70 -67
- lionagi/core/generic/__init__.py +3 -33
- lionagi/core/generic/edge.py +29 -79
- lionagi/core/generic/edge_condition.py +16 -0
- lionagi/core/generic/graph.py +236 -0
- lionagi/core/generic/hyperedge.py +1 -0
- lionagi/core/generic/node.py +156 -221
- lionagi/core/generic/tree.py +48 -0
- lionagi/core/generic/tree_node.py +79 -0
- lionagi/core/mail/__init__.py +12 -0
- lionagi/core/mail/mail.py +25 -0
- lionagi/core/mail/mail_manager.py +139 -58
- lionagi/core/mail/package.py +45 -0
- lionagi/core/mail/start_mail.py +36 -0
- lionagi/core/message/__init__.py +19 -0
- lionagi/core/message/action_request.py +133 -0
- lionagi/core/message/action_response.py +135 -0
- lionagi/core/message/assistant_response.py +95 -0
- lionagi/core/message/instruction.py +234 -0
- lionagi/core/message/message.py +101 -0
- lionagi/core/message/system.py +86 -0
- lionagi/core/message/util.py +283 -0
- lionagi/core/report/__init__.py +4 -0
- lionagi/core/report/base.py +217 -0
- lionagi/core/report/form.py +231 -0
- lionagi/core/report/report.py +166 -0
- lionagi/core/report/util.py +28 -0
- lionagi/core/rule/_default.py +16 -0
- lionagi/core/rule/action.py +99 -0
- lionagi/core/rule/base.py +238 -0
- lionagi/core/rule/boolean.py +56 -0
- lionagi/core/rule/choice.py +47 -0
- lionagi/core/rule/mapping.py +96 -0
- lionagi/core/rule/number.py +71 -0
- lionagi/core/rule/rulebook.py +109 -0
- lionagi/core/rule/string.py +52 -0
- lionagi/core/rule/util.py +35 -0
- lionagi/core/session/branch.py +431 -0
- lionagi/core/session/directive_mixin.py +287 -0
- lionagi/core/session/session.py +229 -903
- lionagi/core/structure/__init__.py +1 -0
- lionagi/core/structure/chain.py +1 -0
- lionagi/core/structure/forest.py +1 -0
- lionagi/core/structure/graph.py +1 -0
- lionagi/core/structure/tree.py +1 -0
- lionagi/core/unit/__init__.py +5 -0
- lionagi/core/unit/parallel_unit.py +245 -0
- lionagi/core/unit/template/action.py +81 -0
- lionagi/core/unit/template/base.py +51 -0
- lionagi/core/unit/template/plan.py +84 -0
- lionagi/core/unit/template/predict.py +109 -0
- lionagi/core/unit/template/score.py +124 -0
- lionagi/core/unit/template/select.py +104 -0
- lionagi/core/unit/unit.py +362 -0
- lionagi/core/unit/unit_form.py +305 -0
- lionagi/core/unit/unit_mixin.py +1168 -0
- lionagi/core/unit/util.py +71 -0
- lionagi/core/validator/validator.py +364 -0
- lionagi/core/work/work.py +74 -0
- lionagi/core/work/work_function.py +92 -0
- lionagi/core/work/work_queue.py +81 -0
- lionagi/core/work/worker.py +195 -0
- lionagi/core/work/worklog.py +124 -0
- lionagi/experimental/compressor/base.py +46 -0
- lionagi/experimental/compressor/llm_compressor.py +247 -0
- lionagi/experimental/compressor/llm_summarizer.py +61 -0
- lionagi/experimental/compressor/util.py +70 -0
- lionagi/experimental/directive/__init__.py +19 -0
- lionagi/experimental/directive/parser/base_parser.py +69 -2
- lionagi/experimental/directive/{template_ → template}/base_template.py +17 -1
- lionagi/{libs/ln_tokenizer.py → experimental/directive/tokenizer.py} +16 -0
- lionagi/experimental/{directive/evaluator → evaluator}/ast_evaluator.py +16 -0
- lionagi/experimental/{directive/evaluator → evaluator}/base_evaluator.py +16 -0
- lionagi/experimental/knowledge/base.py +10 -0
- lionagi/experimental/memory/__init__.py +0 -0
- lionagi/experimental/strategies/__init__.py +0 -0
- lionagi/experimental/strategies/base.py +1 -0
- lionagi/integrations/bridge/langchain_/documents.py +4 -0
- lionagi/integrations/bridge/llamaindex_/index.py +30 -0
- lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py +6 -0
- lionagi/integrations/chunker/chunk.py +161 -24
- lionagi/integrations/config/oai_configs.py +34 -3
- lionagi/integrations/config/openrouter_configs.py +14 -2
- lionagi/integrations/loader/load.py +122 -21
- lionagi/integrations/loader/load_util.py +6 -77
- lionagi/integrations/provider/_mapping.py +46 -0
- lionagi/integrations/provider/litellm.py +2 -1
- lionagi/integrations/provider/mlx_service.py +16 -9
- lionagi/integrations/provider/oai.py +91 -4
- lionagi/integrations/provider/ollama.py +6 -5
- lionagi/integrations/provider/openrouter.py +115 -8
- lionagi/integrations/provider/services.py +2 -2
- lionagi/integrations/provider/transformers.py +18 -22
- lionagi/integrations/storage/__init__.py +3 -3
- lionagi/integrations/storage/neo4j.py +52 -60
- lionagi/integrations/storage/storage_util.py +44 -46
- lionagi/integrations/storage/structure_excel.py +43 -26
- lionagi/integrations/storage/to_excel.py +11 -4
- lionagi/libs/__init__.py +22 -1
- lionagi/libs/ln_api.py +75 -20
- lionagi/libs/ln_context.py +37 -0
- lionagi/libs/ln_convert.py +21 -9
- lionagi/libs/ln_func_call.py +69 -28
- lionagi/libs/ln_image.py +107 -0
- lionagi/libs/ln_nested.py +26 -11
- lionagi/libs/ln_parse.py +82 -23
- lionagi/libs/ln_queue.py +16 -0
- lionagi/libs/ln_tokenize.py +164 -0
- lionagi/libs/ln_validate.py +16 -0
- lionagi/libs/special_tokens.py +172 -0
- lionagi/libs/sys_util.py +95 -24
- lionagi/lions/coder/code_form.py +13 -0
- lionagi/lions/coder/coder.py +50 -3
- lionagi/lions/coder/util.py +30 -25
- lionagi/tests/libs/test_func_call.py +23 -21
- lionagi/tests/libs/test_nested.py +36 -21
- lionagi/tests/libs/test_parse.py +1 -1
- lionagi/tests/test_core/collections/__init__.py +0 -0
- lionagi/tests/test_core/collections/test_component.py +206 -0
- lionagi/tests/test_core/collections/test_exchange.py +138 -0
- lionagi/tests/test_core/collections/test_flow.py +145 -0
- lionagi/tests/test_core/collections/test_pile.py +171 -0
- lionagi/tests/test_core/collections/test_progression.py +129 -0
- lionagi/tests/test_core/generic/test_edge.py +67 -0
- lionagi/tests/test_core/generic/test_graph.py +96 -0
- lionagi/tests/test_core/generic/test_node.py +106 -0
- lionagi/tests/test_core/generic/test_tree_node.py +73 -0
- lionagi/tests/test_core/test_branch.py +115 -294
- lionagi/tests/test_core/test_form.py +46 -0
- lionagi/tests/test_core/test_report.py +105 -0
- lionagi/tests/test_core/test_validator.py +111 -0
- lionagi/version.py +1 -1
- lionagi-0.2.0.dist-info/LICENSE +202 -0
- lionagi-0.2.0.dist-info/METADATA +272 -0
- lionagi-0.2.0.dist-info/RECORD +240 -0
- lionagi/core/branch/base.py +0 -653
- lionagi/core/branch/branch.py +0 -474
- lionagi/core/branch/flow_mixin.py +0 -96
- lionagi/core/branch/util.py +0 -323
- lionagi/core/direct/__init__.py +0 -19
- lionagi/core/direct/cot.py +0 -123
- lionagi/core/direct/plan.py +0 -164
- lionagi/core/direct/predict.py +0 -166
- lionagi/core/direct/react.py +0 -171
- lionagi/core/direct/score.py +0 -279
- lionagi/core/direct/select.py +0 -170
- lionagi/core/direct/sentiment.py +0 -1
- lionagi/core/direct/utils.py +0 -110
- lionagi/core/direct/vote.py +0 -64
- lionagi/core/execute/base_executor.py +0 -47
- lionagi/core/flow/baseflow.py +0 -23
- lionagi/core/flow/monoflow/ReAct.py +0 -240
- lionagi/core/flow/monoflow/__init__.py +0 -9
- lionagi/core/flow/monoflow/chat.py +0 -95
- lionagi/core/flow/monoflow/chat_mixin.py +0 -253
- lionagi/core/flow/monoflow/followup.py +0 -215
- lionagi/core/flow/polyflow/__init__.py +0 -1
- lionagi/core/flow/polyflow/chat.py +0 -251
- lionagi/core/form/action_form.py +0 -26
- lionagi/core/form/field_validator.py +0 -287
- lionagi/core/form/form.py +0 -302
- lionagi/core/form/mixin.py +0 -214
- lionagi/core/form/scored_form.py +0 -13
- lionagi/core/generic/action.py +0 -26
- lionagi/core/generic/component.py +0 -532
- lionagi/core/generic/condition.py +0 -46
- lionagi/core/generic/mail.py +0 -90
- lionagi/core/generic/mailbox.py +0 -36
- lionagi/core/generic/relation.py +0 -70
- lionagi/core/generic/signal.py +0 -22
- lionagi/core/generic/structure.py +0 -362
- lionagi/core/generic/transfer.py +0 -20
- lionagi/core/generic/work.py +0 -40
- lionagi/core/graph/graph.py +0 -126
- lionagi/core/graph/tree.py +0 -190
- lionagi/core/mail/schema.py +0 -63
- lionagi/core/messages/schema.py +0 -325
- lionagi/core/tool/__init__.py +0 -5
- lionagi/core/tool/tool.py +0 -28
- lionagi/core/tool/tool_manager.py +0 -283
- lionagi/experimental/report/form.py +0 -64
- lionagi/experimental/report/report.py +0 -138
- lionagi/experimental/report/util.py +0 -47
- lionagi/experimental/tool/function_calling.py +0 -43
- lionagi/experimental/tool/manual.py +0 -66
- lionagi/experimental/tool/schema.py +0 -59
- lionagi/experimental/tool/tool_manager.py +0 -138
- lionagi/experimental/tool/util.py +0 -16
- lionagi/experimental/validator/rule.py +0 -139
- lionagi/experimental/validator/validator.py +0 -56
- lionagi/experimental/work/__init__.py +0 -10
- lionagi/experimental/work/async_queue.py +0 -54
- lionagi/experimental/work/schema.py +0 -73
- lionagi/experimental/work/work_function.py +0 -67
- lionagi/experimental/work/worker.py +0 -56
- lionagi/experimental/work2/form.py +0 -371
- lionagi/experimental/work2/report.py +0 -289
- lionagi/experimental/work2/schema.py +0 -30
- lionagi/experimental/work2/tests.py +0 -72
- lionagi/experimental/work2/work_function.py +0 -89
- lionagi/experimental/work2/worker.py +0 -12
- lionagi/integrations/bridge/llamaindex_/get_index.py +0 -294
- lionagi/tests/test_core/generic/test_component.py +0 -89
- lionagi/tests/test_core/test_base_branch.py +0 -426
- lionagi/tests/test_core/test_chat_flow.py +0 -63
- lionagi/tests/test_core/test_mail_manager.py +0 -75
- lionagi/tests/test_core/test_prompts.py +0 -51
- lionagi/tests/test_core/test_session.py +0 -254
- lionagi/tests/test_core/test_session_base_util.py +0 -313
- lionagi/tests/test_core/test_tool_manager.py +0 -95
- lionagi-0.1.2.dist-info/LICENSE +0 -9
- lionagi-0.1.2.dist-info/METADATA +0 -174
- lionagi-0.1.2.dist-info/RECORD +0 -206
- /lionagi/core/{branch → _setting}/__init__.py +0 -0
- /lionagi/core/{execute → agent/eval}/__init__.py +0 -0
- /lionagi/core/{flow → agent/learn}/__init__.py +0 -0
- /lionagi/core/{form → agent/plan}/__init__.py +0 -0
- /lionagi/core/{branch/executable_branch.py → agent/plan/plan.py} +0 -0
- /lionagi/core/{graph → director}/__init__.py +0 -0
- /lionagi/core/{messages → engine}/__init__.py +0 -0
- /lionagi/{experimental/directive/evaluator → core/engine}/sandbox_.py +0 -0
- /lionagi/{experimental/directive/evaluator → core/executor}/__init__.py +0 -0
- /lionagi/{experimental/directive/template_ → core/rule}/__init__.py +0 -0
- /lionagi/{experimental/report → core/unit/template}/__init__.py +0 -0
- /lionagi/{experimental/tool → core/validator}/__init__.py +0 -0
- /lionagi/{experimental/validator → core/work}/__init__.py +0 -0
- /lionagi/experimental/{work2 → compressor}/__init__.py +0 -0
- /lionagi/{core/flow/mono_chat_mixin.py → experimental/directive/template/__init__.py} +0 -0
- /lionagi/experimental/directive/{schema.py → template/schema.py} +0 -0
- /lionagi/experimental/{work2/util.py → evaluator/__init__.py} +0 -0
- /lionagi/experimental/{work2/work.py → knowledge/__init__.py} +0 -0
- /lionagi/{tests/libs/test_async.py → experimental/knowledge/graph.py} +0 -0
- {lionagi-0.1.2.dist-info → lionagi-0.2.0.dist-info}/WHEEL +0 -0
- {lionagi-0.1.2.dist-info → lionagi-0.2.0.dist-info}/top_level.txt +0 -0
lionagi-0.1.2.dist-info/METADATA
DELETED
@@ -1,174 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: lionagi
|
3
|
-
Version: 0.1.2
|
4
|
-
Summary: Towards automated general intelligence.
|
5
|
-
Author: HaiyangLi
|
6
|
-
Author-email: Haiyang Li <ocean@lionagi.ai>
|
7
|
-
License: MIT License
|
8
|
-
|
9
|
-
Copyright (c) 2023 HaiyangLi quantocean.li@gmail.com
|
10
|
-
|
11
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
16
|
-
Project-URL: PyPI, https://pypi.org/project/lionagi/
|
17
|
-
Project-URL: Repository, https://github.com/lion-agi/lionagi
|
18
|
-
Project-URL: Discord, https://discord.gg/ACnynvvPjt
|
19
|
-
Classifier: Programming Language :: Python :: 3
|
20
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
21
|
-
Classifier: Operating System :: OS Independent
|
22
|
-
Requires-Python: >=3.10
|
23
|
-
Description-Content-Type: text/markdown
|
24
|
-
License-File: LICENSE
|
25
|
-
Requires-Dist: aiohttp >=3.9.3
|
26
|
-
Requires-Dist: python-dotenv ==1.0.0
|
27
|
-
Requires-Dist: tiktoken >=0.5.1
|
28
|
-
Requires-Dist: pydantic >=2.6.0
|
29
|
-
Requires-Dist: aiocache >=0.12.2
|
30
|
-
Requires-Dist: pandas >=2.1.0
|
31
|
-
|
32
|
-
![PyPI - Version](https://img.shields.io/pypi/v/lionagi?labelColor=233476aa&color=231fc935) ![PyPI - Downloads](https://img.shields.io/pypi/dm/lionagi?color=blue)
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
[PyPI](https://pypi.org/project/lionagi/) | [Documentation](https://ocean-lion.com/Welcome) | [Discord](https://discord.gg/xCkA5ErGmV)
|
37
|
-
|
38
|
-
```
|
39
|
-
Documentation for v0.0.300+ is in progress
|
40
|
-
|
41
|
-
To contribute, you need to make a fork first, and then make pull request from your fork.
|
42
|
-
```
|
43
|
-
|
44
|
-
# LionAGI
|
45
|
-
|
46
|
-
**Powerful Intelligent Workflow Automation**
|
47
|
-
|
48
|
-
It is an intelligent agentic workflow automation framework. It introduces advanced ML models into any existing workflows and data infrastructure.
|
49
|
-
|
50
|
-
|
51
|
-
### Currently, it can
|
52
|
-
|
53
|
-
- interact with almost any models including local*
|
54
|
-
- run interactions in parallel for most models (OpenRouter, OpenAI, Ollama, litellm...)
|
55
|
-
- produce structured pydantic outputs with flexible usage\*\*
|
56
|
-
- automate workflow via graph based agents
|
57
|
-
- use advanced prompting techniques, i.e. ReAct (reason-action)
|
58
|
-
- …
|
59
|
-
|
60
|
-
### It aims to:
|
61
|
-
|
62
|
-
- provide a centralized agent-managed framework for, "ML-powered tools coordination".
|
63
|
-
- The ways of coordination and possible path can occur among nodes is what we also refers to as `workflow` (the concept of workflow is still in design).
|
64
|
-
- such that, people can utilize intelligence to solve their problems in real life.
|
65
|
-
- achieve the goal by dramatically lowering the barrier of entries for creating use-case/domain specific tools.
|
66
|
-
|
67
|
-
|
68
|
-
All notebooks should run, as of 0.0.313,
|
69
|
-
|
70
|
-
\* if there are models on providers that have not been configured, you can do so by configuring your own AI providers, and endpoints.
|
71
|
-
|
72
|
-
\*\* Structured Input/Output, Graph based agent system, as well as more advanced prompting techniques are undergoing fast interations...
|
73
|
-
|
74
|
-
### Why Automating Workflows?
|
75
|
-
|
76
|
-
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).
|
77
|
-
|
78
|
-
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.
|
79
|
-
|
80
|
-
<img width="500" alt="ReAct flow" src="https://github.com/lion-agi/lionagi/assets/122793010/fabec1eb-fa8e-4ce9-b75f-b7aca4809c0f">
|
81
|
-
|
82
|
-
|
83
|
-
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**.
|
84
|
-
|
85
|
-
LionAGI `agent` can manage and direct other agents, can also use multiple different tools in parallel.
|
86
|
-
|
87
|
-
<img width="700" alt="parallel agents" src="https://github.com/lion-agi/lionagi/assets/122793010/ab263a6a-c7cc-40c3-8c03-ba1968df7309">
|
88
|
-
|
89
|
-
|
90
|
-
### Install LionAGI with pip:
|
91
|
-
|
92
|
-
```bash
|
93
|
-
pip install lionagi
|
94
|
-
```
|
95
|
-
Download the `.env_template` file, input your appropriate `API_KEY`, save the file, rename as `.env` and put in your project's root directory.
|
96
|
-
by default we use `OPENAI_API_KEY`.
|
97
|
-
|
98
|
-
|
99
|
-
### Quick Start
|
100
|
-
|
101
|
-
The following example shows how to use LionAGI's `Session` object to interact with `gpt-4-turbo` model:
|
102
|
-
|
103
|
-
```python
|
104
|
-
|
105
|
-
# define system messages, context and user instruction
|
106
|
-
system = "You are a helpful assistant designed to perform calculations."
|
107
|
-
instruction = {"Addition":"Add the two numbers together i.e. x+y"}
|
108
|
-
context = {"x": 10, "y": 5}
|
109
|
-
|
110
|
-
model="gpt-4-turbo-preview"
|
111
|
-
```
|
112
|
-
|
113
|
-
```python
|
114
|
-
# in interactive environment (.ipynb for example)
|
115
|
-
from lionagi import Session
|
116
|
-
|
117
|
-
calculator = Session(system)
|
118
|
-
result = await calculator.chat(instruction, context=context, model=model)
|
119
|
-
|
120
|
-
print(f"Calculation Result: {result}")
|
121
|
-
```
|
122
|
-
|
123
|
-
```python
|
124
|
-
# or otherwise, you can use
|
125
|
-
import asyncio
|
126
|
-
from dotenv import load_dotenv
|
127
|
-
|
128
|
-
load_dotenv()
|
129
|
-
|
130
|
-
from lionagi import Session
|
131
|
-
|
132
|
-
async def main():
|
133
|
-
calculator = Session(system)
|
134
|
-
result = await calculator.chat(instruction, context=context, model=model)
|
135
|
-
|
136
|
-
print(f"Calculation Result: {result}")
|
137
|
-
|
138
|
-
if __name__ == "__main__":
|
139
|
-
asyncio.run(main())
|
140
|
-
```
|
141
|
-
|
142
|
-
Visit our notebooks for examples.
|
143
|
-
|
144
|
-
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)
|
145
|
-
|
146
|
-
---
|
147
|
-
|
148
|
-
**Notice**:
|
149
|
-
* calling API with maximum throughput over large set of data with advanced models i.e. gpt-4 can get **EXPENSIVE IN JUST SECONDS**,
|
150
|
-
* please know what you are doing, and check the usage on OpenAI regularly
|
151
|
-
* 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.
|
152
|
-
* if you would like to build from source, please download the [latest release](https://github.com/lion-agi/lionagi/releases),
|
153
|
-
### Community
|
154
|
-
|
155
|
-
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)
|
156
|
-
|
157
|
-
### Citation
|
158
|
-
|
159
|
-
When referencing LionAGI in your projects or research, please cite:
|
160
|
-
|
161
|
-
```bibtex
|
162
|
-
@software{Li_LionAGI_2023,
|
163
|
-
author = {Haiyang Li},
|
164
|
-
month = {12},
|
165
|
-
year = {2023},
|
166
|
-
title = {LionAGI: Towards Automated General Intelligence},
|
167
|
-
url = {https://github.com/lion-agi/lionagi},
|
168
|
-
}
|
169
|
-
```
|
170
|
-
|
171
|
-
|
172
|
-
### Requirements
|
173
|
-
Python 3.10 or higher.
|
174
|
-
|
lionagi-0.1.2.dist-info/RECORD
DELETED
@@ -1,206 +0,0 @@
|
|
1
|
-
lionagi/__init__.py,sha256=i6Ci7FebU2s4EVVnBFj1Dsi5RvP80JqeSqW-iripRPg,418
|
2
|
-
lionagi/version.py,sha256=YvuYzWnKtqBb-IqG8HAu-nhIYAsgj9Vmc_b9o7vO-js,22
|
3
|
-
lionagi/core/__init__.py,sha256=IC9rZ8-9LuOPmJL9k6K6Geqi9jdURDUTsgC_h58O_MY,484
|
4
|
-
lionagi/core/agent/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
|
-
lionagi/core/agent/base_agent.py,sha256=DFi7PWqfwiUiuZXzBIiy949l-LK3z0GaW_y7j-V_a7c,2881
|
6
|
-
lionagi/core/branch/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
-
lionagi/core/branch/base.py,sha256=cwQmgnjBFVfmlk617J6ic7lhmWblk5egQYGHnVFach8,22169
|
8
|
-
lionagi/core/branch/branch.py,sha256=JeZGjpC6CfysJsWlXxtf99MsuiOtmvqSdYjo7yvqELw,18010
|
9
|
-
lionagi/core/branch/executable_branch.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
|
-
lionagi/core/branch/flow_mixin.py,sha256=Y-1_RrtWKXfSo6tNxjwP7B8CnkXGJQwEgF5OVxYwU74,2582
|
11
|
-
lionagi/core/branch/util.py,sha256=os7Qp7HpDfyyCvdkbBTyIQ3AYHfzUP0M684W4XMDHN4,11813
|
12
|
-
lionagi/core/direct/__init__.py,sha256=5cIJ81ipDljFymfbTfXT9bfFSxzkHix6NPL5JJGRGPQ,345
|
13
|
-
lionagi/core/direct/cot.py,sha256=Y05dVCxkSyMzxsjWxgaQJyusvZ4N4dFyE11z9Em7R40,3189
|
14
|
-
lionagi/core/direct/plan.py,sha256=zexb-DwhlzN5ECcjtHSX14HTjC20bNxP_JstX3mdKHw,4038
|
15
|
-
lionagi/core/direct/predict.py,sha256=cntycNF3p_Tss-0bRGuQa-Ak1Qnixg5tHmGQkb0O3ZE,6539
|
16
|
-
lionagi/core/direct/react.py,sha256=kc7jviimPhww0aKmlb6vYM_adGah17BHzBbrzuwmVQA,4321
|
17
|
-
lionagi/core/direct/score.py,sha256=UyyLRtJbGponyVxbIeCjVWHlpEMiQeNUL01WPTrJ88U,10332
|
18
|
-
lionagi/core/direct/select.py,sha256=ocQYdD11u8ElRTARsf5eyxeZQTYhWhlVbkMEuH1ejA0,6131
|
19
|
-
lionagi/core/direct/sentiment.py,sha256=rNwBs-I2XICOwsXxFvfM1Tlc_afsVcRCNCXCxfxm_2k,27
|
20
|
-
lionagi/core/direct/utils.py,sha256=1bYOGVClMneEN7x1BWmxxTtZiqlnLFuREizhDVcqLYg,3020
|
21
|
-
lionagi/core/direct/vote.py,sha256=rchs7H07v7rDmJknJdQKFfCru7FPbTgN-0g2_zTIhs0,2487
|
22
|
-
lionagi/core/execute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
|
-
lionagi/core/execute/base_executor.py,sha256=yMdyCT3l3XZFnXnTFJ2fxid4m4uMGBXlQdjF9hXYMKA,1551
|
24
|
-
lionagi/core/execute/branch_executor.py,sha256=TjY6B9dCwrxHSvutt2CIhtMgCQ2f3HV3thYpNzgRqYA,11141
|
25
|
-
lionagi/core/execute/instruction_map_executor.py,sha256=5OxWiiAn7WDh9KS3Geu6I4EKAEiclx2J0kCMDPeJRqA,7694
|
26
|
-
lionagi/core/execute/neo4j_executor.py,sha256=IB7aYMUGNUuqD24pksQVdQSpezLw7xujTceLMaW8ijo,15254
|
27
|
-
lionagi/core/execute/structure_executor.py,sha256=Jmys71AF6tNW3wZ0lUjARM08DUGwuy6YRskS9np3jWY,13281
|
28
|
-
lionagi/core/flow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
|
-
lionagi/core/flow/baseflow.py,sha256=rbxDYfBCUt0ctja4zN85Y6sAh7BznR3MxteP4xa9izw,396
|
30
|
-
lionagi/core/flow/mono_chat_mixin.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
31
|
-
lionagi/core/flow/monoflow/ReAct.py,sha256=JwdoJjR8S5Vw6YaiEgRAIpmUxYIMVaBVTG-Mg6TtoJ0,9637
|
32
|
-
lionagi/core/flow/monoflow/__init__.py,sha256=naNpq-RWnNfVytUgn61xbRYe8Pt0qz8jYy_CRrpUojw,159
|
33
|
-
lionagi/core/flow/monoflow/chat.py,sha256=J2TgZT7FEYf_bHjJk6gNeZAN2tNg1CG8WVwoUDSFV6M,3239
|
34
|
-
lionagi/core/flow/monoflow/chat_mixin.py,sha256=cifIlJvAOYR9021EMc1aDZ5KlrtfOZuXGOs9LZ0Hf-0,8393
|
35
|
-
lionagi/core/flow/monoflow/followup.py,sha256=YXTs2ct6jgWUOlVwu57TsO7OkY0hcesJSuDyJ0x71Gg,8938
|
36
|
-
lionagi/core/flow/polyflow/__init__.py,sha256=Ti4HTyIagaZa-Mu7DBnid246BuvXtTuGhBdlVfDaBnM,27
|
37
|
-
lionagi/core/flow/polyflow/chat.py,sha256=RWDD_1ox1MzV65SWFrfY23Cx-kOenUX5y5vPveyjGQU,10466
|
38
|
-
lionagi/core/form/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
39
|
-
lionagi/core/form/action_form.py,sha256=GkOLArXHwjxSVbtXXr_kiPicllOdDzR7gHedvfWPgP4,1034
|
40
|
-
lionagi/core/form/field_validator.py,sha256=u_AY-kofojRqyETSZZOrtFP3PKXySXZLcdkRHmZ7Mnc,8411
|
41
|
-
lionagi/core/form/form.py,sha256=82wsOiFBtXddXAMY_A-w9RzJEYk-kReh3hbl-Ahm1gw,9926
|
42
|
-
lionagi/core/form/mixin.py,sha256=naCJDJ-u4F7RndLcHlBbOo0cecr31SiR-Qe9mFZ4l1U,6921
|
43
|
-
lionagi/core/form/scored_form.py,sha256=96EOKXrHB9MVEhvEY4DPEjC57T1_dTqQ4tZjc8xTk-c,392
|
44
|
-
lionagi/core/generic/__init__.py,sha256=ynRqaY9kId2Z7g77FLU-OjEdwieTbRhEjp9bcBfq7Zk,772
|
45
|
-
lionagi/core/generic/action.py,sha256=a9nToGSkHhOqlBxrN_xD9PSTrhCdXde3TKYL7MKAj8k,712
|
46
|
-
lionagi/core/generic/component.py,sha256=ZEOc3nQbjrdSU3LgOMik_1Tj_OvUrOtV1dzFN488gow,17247
|
47
|
-
lionagi/core/generic/condition.py,sha256=dB0Ws_4Pe-f8ZRiu0_iJIVWmy5jpSDOlLQSW9sclzeQ,1215
|
48
|
-
lionagi/core/generic/data_logger.py,sha256=1OLTS9CLpXPtxgINEXaZwJB3MSyUmmNFhljhg93BxIQ,11236
|
49
|
-
lionagi/core/generic/edge.py,sha256=dMdj_PsZFP4CDEFHCg8OAp10vXyMMO8KhyI-jUGRPhQ,5521
|
50
|
-
lionagi/core/generic/mail.py,sha256=KR8IA2ryYpvK0C-GY25xfMboqjKl4Bks4rumuV42SvE,2532
|
51
|
-
lionagi/core/generic/mailbox.py,sha256=wgvAEOLMQXIaYCly8HI7KcF9MdQIl3JKNgwsC-TS4-s,1034
|
52
|
-
lionagi/core/generic/node.py,sha256=8aymSTHKLzXD1veO-bKyUsav9Jv69Z6JBayTrqkeUjQ,9880
|
53
|
-
lionagi/core/generic/relation.py,sha256=2YL05250DLXvcg4hnCQS8v41RBAgdo4ZxrLkOtdjvSE,2581
|
54
|
-
lionagi/core/generic/signal.py,sha256=vTDo2zJeIBlFrsGrQHN5pa59e3bbRc2A8iYd1APC2kg,625
|
55
|
-
lionagi/core/generic/structure.py,sha256=SSUhEBHxKEKLvKxRdO2UQpdcA5F1qjqK0GwYSwhB9yo,11972
|
56
|
-
lionagi/core/generic/transfer.py,sha256=YxULB_Rh1GVTNqkgp7ovq2wF7MHh3kWU8bJGQUWVrZc,564
|
57
|
-
lionagi/core/generic/work.py,sha256=0oaokRHB0CYpxOJKf5n8OKxiF7x5rvssTXl6a2g51rY,825
|
58
|
-
lionagi/core/graph/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
59
|
-
lionagi/core/graph/graph.py,sha256=8XEyHXwgmgWB84B7qarV_-PE4Re2Tr4UAEZCDnynFVg,3737
|
60
|
-
lionagi/core/graph/tree.py,sha256=nqOauYI_l4rjzQYrCoVqzV_tW2K6OadHwnKdhlPGC8U,5869
|
61
|
-
lionagi/core/mail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
62
|
-
lionagi/core/mail/mail_manager.py,sha256=lcMZq3rJbGf4eTa6v3TG9pqDcomDGBdT9KA-ADhKB64,4045
|
63
|
-
lionagi/core/mail/schema.py,sha256=_69QOxwv4s-tbgb6Ao6ocEJq5YcTeV_C8JnsOXRpN8Q,1735
|
64
|
-
lionagi/core/messages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
65
|
-
lionagi/core/messages/schema.py,sha256=d-Xe2CzExl8Rf5uwrvwxntuxvCtlEniFPl5KKmV7tV8,10577
|
66
|
-
lionagi/core/session/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
67
|
-
lionagi/core/session/session.py,sha256=-E_QO3U87JPlgV09Z_TLN_vA9cnH2uTOrvLQHGCW_C0,38111
|
68
|
-
lionagi/core/tool/__init__.py,sha256=zU3nSR6BVvwhNMtijwlH0b_09o_QvKB1I_MmLlu_77c,151
|
69
|
-
lionagi/core/tool/tool.py,sha256=KoQEH8QF6YPRuF_ymwshh45xrEV86s13TyCSY9kA53E,844
|
70
|
-
lionagi/core/tool/tool_manager.py,sha256=dSJrHRfmc-En1GZgXbPwBUwuevwp3MIZEoWQxKFUqng,10717
|
71
|
-
lionagi/experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
72
|
-
lionagi/experimental/directive/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
73
|
-
lionagi/experimental/directive/schema.py,sha256=vGHQqn_ZAMkIfUqqdnPCHN8p-wommVyMBkanWHPuCSI,861
|
74
|
-
lionagi/experimental/directive/evaluator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
75
|
-
lionagi/experimental/directive/evaluator/ast_evaluator.py,sha256=DbBAQsTFUI4_QDOpG7eDcMbWLvkuU9WKYTtO8zYDgJ0,4132
|
76
|
-
lionagi/experimental/directive/evaluator/base_evaluator.py,sha256=lrOPG19tmndgGUAN2TxnyXshitbCZNKOPPhUxEN7a58,8062
|
77
|
-
lionagi/experimental/directive/evaluator/sandbox_.py,sha256=yjq8aznCEBeflus68VVQavy6ChfdIoZeVvPhUx_UzrI,459
|
78
|
-
lionagi/experimental/directive/evaluator/script_engine.py,sha256=7teiwwIPqMdiV0WF2E_ls-D0hLoJmwiFKV5i16s2mFU,3074
|
79
|
-
lionagi/experimental/directive/parser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
80
|
-
lionagi/experimental/directive/parser/base_parser.py,sha256=IcAEJa0kO5Usheb9sa8wfwFFDUw3yGrVFYNx_Fjs9dk,8623
|
81
|
-
lionagi/experimental/directive/template_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
82
|
-
lionagi/experimental/directive/template_/base_template.py,sha256=G5OX6A2Vq4KPTIslp4qb88ySvhZ-C6l2cuGufappaVE,2613
|
83
|
-
lionagi/experimental/report/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
|
-
lionagi/experimental/report/form.py,sha256=PCuJ6YMakcLwb8YuVAtDy0tafsSgi6nQaPSSPis5MIg,2034
|
85
|
-
lionagi/experimental/report/report.py,sha256=QsCPnd1ZymPbcvdEGazjUv1VBJ7TpcNvszmWxYMhhFU,4905
|
86
|
-
lionagi/experimental/report/util.py,sha256=4fsh-KS2EWCpNPa3xKQekJop1WuIVKr08ZSUTDJMqGM,1018
|
87
|
-
lionagi/experimental/tool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
88
|
-
lionagi/experimental/tool/function_calling.py,sha256=dV01uSOr1zAya7H4PE3SjnY-RH3KD4Ht_4AzSj8DqBs,1232
|
89
|
-
lionagi/experimental/tool/manual.py,sha256=vNGgQm6XA_o5jK6QLbXpdaa1Et71X6ozDJRdd-BlfKQ,2569
|
90
|
-
lionagi/experimental/tool/schema.py,sha256=Yk5yZUl3WMTWtdc2vJsuA27_mEPTe2GK4qTBCIooqxE,1642
|
91
|
-
lionagi/experimental/tool/tool_manager.py,sha256=vxRtEp58VahGyZng61uDQEKynI7WsuWIxOWzcEWnv8E,4552
|
92
|
-
lionagi/experimental/tool/util.py,sha256=DnlFVtwyGdHyIeKqjiT_U6nUnJOzyrdtY89HIM06tL4,502
|
93
|
-
lionagi/experimental/validator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
94
|
-
lionagi/experimental/validator/rule.py,sha256=6vSP68RBRsOJ5VwEDLu4YmzKuRbL5TB-txCLqigzCaY,4210
|
95
|
-
lionagi/experimental/validator/validator.py,sha256=xTf5PGkq_mR2Ia3QAkYSi8W4Vdkuz-KevxPlvkvoWPg,1518
|
96
|
-
lionagi/experimental/work/__init__.py,sha256=iYKkANFu8rd58xoQ4oQSiHgdxNEHYShy4qHQCF8TnyY,176
|
97
|
-
lionagi/experimental/work/async_queue.py,sha256=k8vxa__hWpJn07y7zd1ONzgF0-6xtDWO1eGtnO37YaE,1428
|
98
|
-
lionagi/experimental/work/schema.py,sha256=p82MpVAnHUFn6pKS5yMrZ6hnZxFAJtH7R_Lhng_mK4E,2116
|
99
|
-
lionagi/experimental/work/work_function.py,sha256=Run6b1u9IgDkelZ7fvAhamX2umdWZLZ-7ky7Y5ILRLY,2125
|
100
|
-
lionagi/experimental/work/worker.py,sha256=HXkOjQlTl3OrbegEgxryJbLYYO3qZp0QkKotE7F3IfQ,1714
|
101
|
-
lionagi/experimental/work2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
102
|
-
lionagi/experimental/work2/form.py,sha256=dpOBNlhnVxdO56UHqT14RylsIJHWcCIKDCMZDNK-cW8,13320
|
103
|
-
lionagi/experimental/work2/report.py,sha256=7_Br7FD_BgnIXZsUDS5gA7UugTdXyTnVe89M6OSAHKY,10208
|
104
|
-
lionagi/experimental/work2/schema.py,sha256=xl6FKRz_-OjUZHTQHJQ16EKZvHUbkNKHqOgk1zgzjJw,962
|
105
|
-
lionagi/experimental/work2/tests.py,sha256=dIjdf28CGqlixurEp_pBN4QjISKqnbtox6cY7pQMuwU,2629
|
106
|
-
lionagi/experimental/work2/util.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
107
|
-
lionagi/experimental/work2/work.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
108
|
-
lionagi/experimental/work2/work_function.py,sha256=5VwrIIBqzK73msktwxTTbye9EJ_NLHbXc3XTovgaxuc,3151
|
109
|
-
lionagi/experimental/work2/worker.py,sha256=MbYXpZzctWyHYqKrek1jJgEr24JgY7pFZVQsCJqyoU8,344
|
110
|
-
lionagi/integrations/__init__.py,sha256=Il5Q9ATdX8yXqVxtP_nYqUhExzxPC_qk_WXQ_4h0exg,16
|
111
|
-
lionagi/integrations/bridge/__init__.py,sha256=ee5IeCkDOD2uhbzqxg_xDxaG-Q3BPPZCYltBjzg2gSs,169
|
112
|
-
lionagi/integrations/bridge/autogen_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
113
|
-
lionagi/integrations/bridge/autogen_/autogen_.py,sha256=D66BIcAI_4AafYHp67TqyNF-lgap6bbOxRHukLpAz2s,4055
|
114
|
-
lionagi/integrations/bridge/langchain_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
|
-
lionagi/integrations/bridge/langchain_/documents.py,sha256=jpKtaQFaBDdiLqkrOjXIm-ddJVHb8JOKO-Wjm0SkoqY,4804
|
116
|
-
lionagi/integrations/bridge/langchain_/langchain_bridge.py,sha256=-lnJtyf4iJEwHKQAwBRN6YZ7CTsyFLetl5e8_9UGouY,3163
|
117
|
-
lionagi/integrations/bridge/llamaindex_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
118
|
-
lionagi/integrations/bridge/llamaindex_/get_index.py,sha256=v7bJ0pa-3eUtFJsL_DWox-YOTX_7d1XcA5O6Gwq66fU,11826
|
119
|
-
lionagi/integrations/bridge/llamaindex_/index.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
120
|
-
lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py,sha256=SSnLSIu06xVsghTios01QKGrc2xCq3oC8fVNGO4QkF8,5064
|
121
|
-
lionagi/integrations/bridge/llamaindex_/llama_pack.py,sha256=07hDT7ZlXTOkWg4arRYNqDHBR4NJE5hOmNn52GGtS4o,8397
|
122
|
-
lionagi/integrations/bridge/llamaindex_/node_parser.py,sha256=d8SPD6EMf9bZ6824jjeZOWmwm7BHBZQ0qGq1JnsKh9k,3458
|
123
|
-
lionagi/integrations/bridge/llamaindex_/reader.py,sha256=VxdTk5h3a3_5RQzN15q75XGli52umhz9gLUrKk1Sg90,8235
|
124
|
-
lionagi/integrations/bridge/llamaindex_/textnode.py,sha256=OszGitHZ36zbG4DCGWUnSV6EO7wChEH2VA5M50iBojs,2322
|
125
|
-
lionagi/integrations/bridge/pydantic_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
126
|
-
lionagi/integrations/bridge/pydantic_/pydantic_bridge.py,sha256=TVh7sQX_LKERUvv1nxsA2JICY1S6ptPr3qFqzgHfGCY,87
|
127
|
-
lionagi/integrations/bridge/transformers_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
128
|
-
lionagi/integrations/bridge/transformers_/install_.py,sha256=sRzU6-PS5bq0ntdTM8I5i1M_Tj1yKTlq8rco_6b6QM8,1215
|
129
|
-
lionagi/integrations/chunker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
130
|
-
lionagi/integrations/chunker/chunk.py,sha256=bmkJlu16WXC151h0fh35EtmyDMZ5x1oiAdsVRcn_Ias,5080
|
131
|
-
lionagi/integrations/config/__init__.py,sha256=zzQGZe3H5vofcNWSjjoqe_gqHpCO8Yl7FefmrUpLqnw,133
|
132
|
-
lionagi/integrations/config/mlx_configs.py,sha256=xbostqjnk3aAN-qKyC54YBprHPA38C8YDevXMMEHXWY,44
|
133
|
-
lionagi/integrations/config/oai_configs.py,sha256=WgtARAPM04PDPgadwYlWXGUO-HvmqzSG3mVkvWQ1tso,2774
|
134
|
-
lionagi/integrations/config/ollama_configs.py,sha256=GUn0kagrQA3gpIiaxYyfdi2LAf_Ohz1sVrsAb20OBwo,17
|
135
|
-
lionagi/integrations/config/openrouter_configs.py,sha256=Wn9K_jVI4SWE6EgwtI5UfBO7oL2wpBeZcVxseLVMdlg,1371
|
136
|
-
lionagi/integrations/loader/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
137
|
-
lionagi/integrations/loader/load.py,sha256=CX1F5VeoTany58WX_RD8QMoNJWkbWXoPEkvgFK6Tp6I,4559
|
138
|
-
lionagi/integrations/loader/load_util.py,sha256=-MEF3LPomGGyP53WcPHHA9KiKLJekgKRLghmbymWu9o,8338
|
139
|
-
lionagi/integrations/provider/__init__.py,sha256=MJhnq2tkBRcMH-3utc0G-Co20MmsxLBbp3fUwHrJGQ8,198
|
140
|
-
lionagi/integrations/provider/litellm.py,sha256=l3sTtIPDeM_9soTLj9gpVfFWWDzFfIZ7rbVcuzeql2w,1181
|
141
|
-
lionagi/integrations/provider/mistralai.py,sha256=G-StbfrnUcWZvl0eRby6CZYXxmJf6BRMFzDaix-brmU,7
|
142
|
-
lionagi/integrations/provider/mlx_service.py,sha256=ilbBupRs3HeOeO2iwW0prVq57krPu9db8aYLgq_cN0A,1325
|
143
|
-
lionagi/integrations/provider/oai.py,sha256=ZxfVz-ZdpeYqXQFq_1_Lqlz4sG8zmp48MosGIpV5ggU,4222
|
144
|
-
lionagi/integrations/provider/ollama.py,sha256=dOKqzqjpwYYGw9vGKDVzVh9PAem7oFG09cfKEEB__oc,1314
|
145
|
-
lionagi/integrations/provider/openrouter.py,sha256=ZEG2lLbp-qb7r95CFAuPz7EqAdsMuJxMJXfgWhaBHsk,1856
|
146
|
-
lionagi/integrations/provider/services.py,sha256=zLX_C0p1eI5cfxkxlxIVEsU0k_fknhV1-LoXPJZFE4w,5388
|
147
|
-
lionagi/integrations/provider/transformers.py,sha256=E6CTtm7pa3aa0IqYklWvhXz9YWlh3p_lgKaJXYfXeyA,3397
|
148
|
-
lionagi/integrations/storage/__init__.py,sha256=tutRSV4gxeS342sNi4CeEEIkYHVaQUeO8vilPpxMi-g,74
|
149
|
-
lionagi/integrations/storage/neo4j.py,sha256=ajXmLtqDuWhBa1WTwvvlvKgZoiIO00wFbPVdEowTCIE,25785
|
150
|
-
lionagi/integrations/storage/storage_util.py,sha256=u8N3DSQ4lR7LCQRoPYMSk3np9XsFCJhaOY37HZ51DLM,10600
|
151
|
-
lionagi/integrations/storage/structure_excel.py,sha256=N4gHaT2QBE3P0GdJVSKvzUDnzbfoflfmBwzLoiQbotw,12145
|
152
|
-
lionagi/integrations/storage/to_csv.py,sha256=BS1upr2Qy0Se5JG8nYQHHxmi0OUpKJ1nACbYL5ynNCY,2881
|
153
|
-
lionagi/integrations/storage/to_excel.py,sha256=9hnAgYoHUDmnQadaPH-TTEbStKU6Zc_UXzZLn-4PFtc,3452
|
154
|
-
lionagi/libs/__init__.py,sha256=Nj7IMCmA6WYw5M3uYXAftp7YxTzEjsBspIKGYuSNN6M,848
|
155
|
-
lionagi/libs/ln_api.py,sha256=M6VZz2pVySSwknY15kNrgL92u5-RkkbBvQ1msyfYYZ4,34577
|
156
|
-
lionagi/libs/ln_async.py,sha256=fOlFmg2nTYHzFKwJNIPQNJRr_hB7HXRKEhsN7j-XPLg,6074
|
157
|
-
lionagi/libs/ln_convert.py,sha256=_Qfi2hBC9VFRVtxcaIDY_zmMzqXsYGMiKk4bEgj46Gk,23535
|
158
|
-
lionagi/libs/ln_dataframe.py,sha256=d6oJQ1Xk7Mnl8FZj0lBCPf3QdFfPQpPqnnXsiG-ubUI,5539
|
159
|
-
lionagi/libs/ln_func_call.py,sha256=sNaOXuYVLYJvnKzGpDosFCYhmb9XeExRKR80rqwITTM,49096
|
160
|
-
lionagi/libs/ln_knowledge_graph.py,sha256=LZn1MjMKIRSTaaabrfovTVssQgCZuab4tdnxzzOIxpw,14930
|
161
|
-
lionagi/libs/ln_nested.py,sha256=Xu7xiOWLs0n5kwTR8uGXQ380o1-SnCS7SHJZv9chp90,29640
|
162
|
-
lionagi/libs/ln_parse.py,sha256=g5jsbI08np6QUgDRiXj0NND7fbPN8asnTx-ZsM_SYxY,25007
|
163
|
-
lionagi/libs/ln_queue.py,sha256=bX2vjvoveifN8SSI9dk-52C2KCVEFdmQEE6QqdpnxxM,3418
|
164
|
-
lionagi/libs/ln_tokenizer.py,sha256=lnOgxgHUHYqurZ6Ws_a_pS0fjwwUBlMcAYTDj4FNrEE,1784
|
165
|
-
lionagi/libs/ln_validate.py,sha256=qe9dQfsXCrXXVCkAHo789P6wyZrm05BUAcpXLExM1Ao,8404
|
166
|
-
lionagi/libs/sys_util.py,sha256=Qrq90yrxcGE_Xp8ex1umoIh5uFEWIZIKxnVm8Q1egd4,17353
|
167
|
-
lionagi/lions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
168
|
-
lionagi/lions/coder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
169
|
-
lionagi/lions/coder/add_feature.py,sha256=mLMfz9V9yYbdH6DJs39FOz9IHdhdyPZajocQtQhjgcA,703
|
170
|
-
lionagi/lions/coder/base_prompts.py,sha256=SLpC442nZm2cEkB8o9j28kpkB-WzKLjH6sOTS8CnIrY,367
|
171
|
-
lionagi/lions/coder/coder.py,sha256=196amLoZD9-GAAL7ThhsqdAa5EpQYWnm3qLjAkpvngI,4251
|
172
|
-
lionagi/lions/coder/util.py,sha256=4KQmHk82PzXrgqFQRJEZOqBTIIRjEwUhtuomccmgLew,2689
|
173
|
-
lionagi/lions/researcher/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
174
|
-
lionagi/lions/researcher/data_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
175
|
-
lionagi/lions/researcher/data_source/finhub_.py,sha256=X7r6PeI9nnzqI0sJ4FONVLE0VJ4din302EurFxwX5TE,8782
|
176
|
-
lionagi/lions/researcher/data_source/google_.py,sha256=V4tNn--_8k1A0FBPOD0mt5YmNeRg_7CEoWz-WHoJQmo,6675
|
177
|
-
lionagi/lions/researcher/data_source/wiki_.py,sha256=1RrrW-Ko6y0ssQguIYiWTOoZf0oVT4_JB9g9KK1N4-Y,3123
|
178
|
-
lionagi/lions/researcher/data_source/yfinance_.py,sha256=snAf897J69MyAc6fcFjF0irrMjbAh81EZ3RvaFT3hxE,977
|
179
|
-
lionagi/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
180
|
-
lionagi/tests/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
181
|
-
lionagi/tests/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
182
|
-
lionagi/tests/libs/test_api.py,sha256=wi8uEsV7vO-stJxvdajtOGBdnO76nGsZ_wjN0qXESEQ,1681
|
183
|
-
lionagi/tests/libs/test_async.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
184
|
-
lionagi/tests/libs/test_convert.py,sha256=o8xqmrd3RtSQ5Rrrujek8-RWdikhxwMbn4nyUmujoWI,2796
|
185
|
-
lionagi/tests/libs/test_field_validators.py,sha256=ZzIvBsNg8AXzYS-3l-sAf_TEFtaIh-v9oMhHEFqoRBU,11901
|
186
|
-
lionagi/tests/libs/test_func_call.py,sha256=xvs19YBNxqh3RbWLjQXY19L06b1_uZY611J6_JhNgcM,20782
|
187
|
-
lionagi/tests/libs/test_nested.py,sha256=eEcE4BXJEkjoPZsd9-0rUxOJHjmu8W2hgVClUTwXEFY,13106
|
188
|
-
lionagi/tests/libs/test_parse.py,sha256=aa74kfOoJwDU7L7-59EcgBGYc5-OtafPIP2oGTI3Zrk,6814
|
189
|
-
lionagi/tests/libs/test_queue.py,sha256=l71eiLhzPPMl3K8k_Eb55OtdLSWr5spFbDFnM6UaqeA,1989
|
190
|
-
lionagi/tests/libs/test_sys_util.py,sha256=Y-9jxLGxgbFNp78Z0PJyGUjRROMuRAG3Vo3i5LAH8Hs,7849
|
191
|
-
lionagi/tests/test_core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
192
|
-
lionagi/tests/test_core/test_base_branch.py,sha256=QtNbE1eJHkF_3xOO4TFXLa9gmELMLlBaVZ8v3xnoJy4,18628
|
193
|
-
lionagi/tests/test_core/test_branch.py,sha256=6F-ZG4M6RgmDNnjhhbX1eKnIftXWr2aeLYRZjFxer-4,11712
|
194
|
-
lionagi/tests/test_core/test_chat_flow.py,sha256=mjG7LV4yora7HG2_rIraxxpMROettQzZs6Eb85vaFS8,2596
|
195
|
-
lionagi/tests/test_core/test_mail_manager.py,sha256=yT7Hw-9BEMIlva8FvFu6843i1fQKbu98q8StLK7TTvo,2887
|
196
|
-
lionagi/tests/test_core/test_prompts.py,sha256=TusAnaw1HGzDe6z26YZDKmMbDpoHK7NDvptCkf56nq4,1757
|
197
|
-
lionagi/tests/test_core/test_session.py,sha256=ErAkQe4ZK2yy6nouc0G6srhj8-1Gw8PAEF3SJ-KY0kc,9335
|
198
|
-
lionagi/tests/test_core/test_session_base_util.py,sha256=S40di_G_XLkOWK_451o4NJ_h543bKur9sajPP_vx8q4,10619
|
199
|
-
lionagi/tests/test_core/test_tool_manager.py,sha256=WwQ2M900f3a76LQQVX7I-wgREj_rwARBnsIIZGqbeW0,3431
|
200
|
-
lionagi/tests/test_core/generic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
201
|
-
lionagi/tests/test_core/generic/test_component.py,sha256=QykKp4Hg5aeyolFWN4p0HPixKW3qvs8d34r6Mb8_mTc,3239
|
202
|
-
lionagi-0.1.2.dist-info/LICENSE,sha256=vfczrx-xFNkybZ7Ef-lGUnA1Vorky6wL4kwb1Fd5o3I,1089
|
203
|
-
lionagi-0.1.2.dist-info/METADATA,sha256=ckrC6q9MS-mkNGRY8r51LMe5LCbXqEqcQhGY8koU4Ts,7932
|
204
|
-
lionagi-0.1.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
205
|
-
lionagi-0.1.2.dist-info/top_level.txt,sha256=szvch_d2jE1Lu9ZIKsl26Ll6BGfYfbOgt5lm-UpFSo4,8
|
206
|
-
lionagi-0.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|