lionagi 0.2.9__tar.gz → 0.2.11__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {lionagi-0.2.9 → lionagi-0.2.11}/PKG-INFO +7 -5
- {lionagi-0.2.9 → lionagi-0.2.11}/README.md +5 -2
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/unit.py +46 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/autogen_/autogen_.py +4 -5
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/langchain_/documents.py +8 -4
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/llamaindex_/index.py +10 -4
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/llamaindex_/llama_pack.py +6 -1
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/llamaindex_/node_parser.py +9 -4
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/llamaindex_/reader.py +1 -2
- lionagi-0.2.11/lionagi/version.py +1 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/pyproject.toml +9 -4
- lionagi-0.2.9/lionagi/version.py +0 -1
- {lionagi-0.2.9 → lionagi-0.2.11}/LICENSE +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/_setting/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/_setting/_setting.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/action/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/action/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/action/function_calling.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/action/manual.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/action/node.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/action/tool.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/action/tool_manager.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/base_agent.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/eval/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/eval/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/eval/evaluator.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/eval/vote.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/learn/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/learn/learner.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/plan/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/plan/plan.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/agent/plan/unit_template.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/_logger.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/abc/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/abc/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/abc/component.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/abc/concepts.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/abc/exceptions.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/abc/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/exchange.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/flow.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/model.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/pile.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/progression.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/collections/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/director/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/director/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/director/direct.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/director/director.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/engine/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/engine/branch_engine.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/engine/instruction_map_engine.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/engine/sandbox_.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/engine/script_engine.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/executor/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/executor/base_executor.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/executor/graph_executor.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/executor/neo4j_executor.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/edge.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/edge_condition.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/graph.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/hyperedge.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/node.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/tree.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/generic/tree_node.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/mail/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/mail/mail.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/mail/mail_manager.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/mail/package.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/mail/start_mail.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/action_request.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/action_response.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/assistant_response.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/instruction.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/message.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/system.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/message/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/report/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/report/base.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/report/form.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/report/report.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/report/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/_default.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/action.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/base.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/boolean.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/choice.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/mapping.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/number.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/rulebook.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/string.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/rule/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/session/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/session/branch.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/session/directive_mixin.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/session/session.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/structure/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/structure/chain.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/structure/forest.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/structure/graph.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/structure/tree.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/parallel_unit.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/template/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/template/action.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/template/base.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/template/plan.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/template/predict.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/template/score.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/template/select.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/unit_form.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/unit_mixin.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/unit/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/validator/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/validator/validator.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/work.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/work_edge.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/work_function.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/work_function_node.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/work_queue.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/work_task.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/worker.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/worker_engine.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/core/work/worklog.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/compressor/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/compressor/base.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/compressor/llm_compressor.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/compressor/llm_summarizer.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/compressor/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/parser/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/parser/base_parser.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/parser/base_syntax.txt +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/template/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/template/base_template.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/template/schema.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/directive/tokenizer.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/evaluator/README.md +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/evaluator/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/evaluator/ast_evaluator.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/evaluator/base_evaluator.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/knowledge/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/knowledge/base.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/knowledge/graph.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/memory/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/strategies/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/experimental/strategies/base.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/autogen_/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/langchain_/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/langchain_/langchain_bridge.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/llamaindex_/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/llamaindex_/textnode.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/pydantic_/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/pydantic_/pydantic_bridge.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/transformers_/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/bridge/transformers_/install_.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/chunker/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/chunker/chunk.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/config/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/config/mlx_configs.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/config/oai_configs.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/config/ollama_configs.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/config/openrouter_configs.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/loader/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/loader/load.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/loader/load_util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/_mapping.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/litellm.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/mistralai.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/mlx_service.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/oai.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/ollama.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/openrouter.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/services.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/provider/transformers.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/storage/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/storage/neo4j.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/storage/storage_util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/storage/structure_excel.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/storage/to_csv.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/integrations/storage/to_excel.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_api.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_async.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_context.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_convert.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_dataframe.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_func_call.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_image.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_knowledge_graph.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_nested.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_parse.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_queue.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_tokenize.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/ln_validate.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/special_tokens.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/libs/sys_util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/coder/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/coder/add_feature.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/coder/base_prompts.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/coder/code_form.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/coder/coder.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/coder/util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/researcher/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/researcher/data_source/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/researcher/data_source/finhub_.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/researcher/data_source/google_.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/researcher/data_source/wiki_.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/lions/researcher/data_source/yfinance_.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/api/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/api/aws/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/api/aws/conftest.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/api/aws/test_aws_s3.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/integrations/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_api.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_convert.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_field_validators.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_func_call.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_nested.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_parse.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_queue.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/libs/test_sys_util.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/collections/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/collections/test_component.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/collections/test_exchange.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/collections/test_flow.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/collections/test_pile.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/collections/test_progression.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/generic/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/generic/test_edge.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/generic/test_graph.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/generic/test_node.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/generic/test_structure.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/generic/test_tree_node.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/graph/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/graph/test_graph.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/graph/test_tree.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/mail/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/mail/test_mail.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_branch.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_form.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_report.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_structure/__init__.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_structure/test_base_structure.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_structure/test_graph.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_structure/test_tree.py +0 -0
- {lionagi-0.2.9 → lionagi-0.2.11}/lionagi/tests/test_core/test_validator.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lionagi
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.11
|
4
4
|
Summary: Towards automated general intelligence.
|
5
5
|
Author: HaiyangLi
|
6
6
|
Author-email: quantocean.li@gmail.com
|
@@ -11,9 +11,8 @@ Classifier: Programming Language :: Python :: 3.11
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
12
12
|
Requires-Dist: aiocache (>=0.12.3,<0.13.0)
|
13
13
|
Requires-Dist: ipython (>=8.27.0,<9.0.0)
|
14
|
+
Requires-Dist: lion-core (>=0.3.9,<0.4.0)
|
14
15
|
Requires-Dist: lion-openai (>=0.1.4,<0.2.0)
|
15
|
-
Requires-Dist: lionfuncs (==1.0.1)
|
16
|
-
Requires-Dist: pandas (>=2.2.3,<3.0.0)
|
17
16
|
Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
|
18
17
|
Description-Content-Type: text/markdown
|
19
18
|
|
@@ -27,9 +26,12 @@ Description-Content-Type: text/markdown
|
|
27
26
|
### an AGentic Intelligence Operating System
|
28
27
|
|
29
28
|
```
|
30
|
-
pip install lionagi
|
29
|
+
pip install lionagi
|
30
|
+
```
|
31
|
+
or
|
32
|
+
```
|
33
|
+
poetry add lionagi
|
31
34
|
```
|
32
|
-
|
33
35
|
**Powerful Intelligent Workflow Automation**
|
34
36
|
|
35
37
|
lionagi is an intelligent agentic workflow automation framework. It introduces advanced ML models into any existing workflows and data infrastructure.
|
@@ -8,9 +8,12 @@
|
|
8
8
|
### an AGentic Intelligence Operating System
|
9
9
|
|
10
10
|
```
|
11
|
-
pip install lionagi
|
11
|
+
pip install lionagi
|
12
|
+
```
|
13
|
+
or
|
14
|
+
```
|
15
|
+
poetry add lionagi
|
12
16
|
```
|
13
|
-
|
14
17
|
**Powerful Intelligent Workflow Automation**
|
15
18
|
|
16
19
|
lionagi is an intelligent agentic workflow automation framework. It introduces advanced ML models into any existing workflows and data infrastructure.
|
@@ -2,6 +2,7 @@ from typing import Callable
|
|
2
2
|
|
3
3
|
from lionagi.core.collections import iModel
|
4
4
|
from lionagi.core.collections.abc import Directive
|
5
|
+
from lionagi.core.report.form import Form
|
5
6
|
from lionagi.core.validator.validator import Validator
|
6
7
|
from lionagi.libs.ln_func_call import rcall
|
7
8
|
|
@@ -361,3 +362,48 @@ class Unit(Directive, DirectiveMixin):
|
|
361
362
|
)
|
362
363
|
|
363
364
|
raise ValueError(f"invalid directive: {directive}")
|
365
|
+
|
366
|
+
async def ReactInstruct(
|
367
|
+
self,
|
368
|
+
instruction: str | dict,
|
369
|
+
context: str | dict,
|
370
|
+
form_cls: type[Form],
|
371
|
+
branch=None,
|
372
|
+
tools: list = None,
|
373
|
+
imodel1: iModel = None,
|
374
|
+
imodel2: iModel = None,
|
375
|
+
allow_extension1: bool = False,
|
376
|
+
allow_extension2: bool = False,
|
377
|
+
max_extension1: int = None,
|
378
|
+
max_extension2: int = None,
|
379
|
+
form_kwargs: dict = {},
|
380
|
+
**kwargs,
|
381
|
+
):
|
382
|
+
"""
|
383
|
+
kwargs for direct
|
384
|
+
"""
|
385
|
+
|
386
|
+
kwargs.pop("allow_action", None)
|
387
|
+
|
388
|
+
direct_form: UnitForm = await self.direct(
|
389
|
+
instruction=instruction,
|
390
|
+
context=context,
|
391
|
+
branch=branch,
|
392
|
+
allow_extension=allow_extension1,
|
393
|
+
tools=tools if tools else True,
|
394
|
+
max_extension=max_extension1,
|
395
|
+
imodel=imodel1,
|
396
|
+
allow_action=True,
|
397
|
+
**kwargs,
|
398
|
+
)
|
399
|
+
|
400
|
+
form: Form = await self.direct(
|
401
|
+
form=form_cls(**form_kwargs),
|
402
|
+
imodel=imodel2,
|
403
|
+
branch=branch,
|
404
|
+
allow_extension=allow_extension2,
|
405
|
+
max_extension=max_extension2,
|
406
|
+
**kwargs,
|
407
|
+
)
|
408
|
+
|
409
|
+
return direct_form, form
|
@@ -1,15 +1,14 @@
|
|
1
1
|
from typing import Dict, Union
|
2
2
|
|
3
|
+
from lionfuncs import check_import
|
4
|
+
|
3
5
|
|
4
6
|
def get_ipython_user_proxy():
|
5
7
|
|
6
8
|
try:
|
7
|
-
|
8
|
-
|
9
|
-
SysUtil.check_import("autogen", pip_name="pyautogen")
|
10
|
-
|
11
|
-
import autogen
|
9
|
+
autogen = check_import("autogen", pip_name="pyautogen")
|
12
10
|
from IPython import get_ipython
|
11
|
+
|
13
12
|
except Exception as e:
|
14
13
|
raise ImportError(f"Please install autogen and IPython. {e}")
|
15
14
|
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import Any, Callable, Dict, List, TypeVar, Union
|
2
2
|
|
3
|
+
from lionfuncs import check_import
|
4
|
+
|
3
5
|
from lionagi.libs.sys_util import SysUtil
|
4
6
|
|
5
7
|
T = TypeVar("T")
|
@@ -21,8 +23,9 @@ def to_langchain_document(datanode: T, **kwargs: Any) -> Any:
|
|
21
23
|
Any: An instance of `LangchainDocument` populated with data from the input node.
|
22
24
|
"""
|
23
25
|
|
24
|
-
|
25
|
-
|
26
|
+
LangchainDocument = check_import(
|
27
|
+
"langchain", module_name="schema", import_name="Document"
|
28
|
+
)
|
26
29
|
|
27
30
|
dnode = datanode.to_dict()
|
28
31
|
SysUtil.change_dict_key(dnode, old_key="content", new_key="page_content")
|
@@ -63,8 +66,9 @@ def langchain_loader(
|
|
63
66
|
True
|
64
67
|
"""
|
65
68
|
|
66
|
-
|
67
|
-
|
69
|
+
document_loaders = check_import(
|
70
|
+
"langchain_community", module_name="document_loaders", pip_name="langchain"
|
71
|
+
)
|
68
72
|
|
69
73
|
try:
|
70
74
|
if isinstance(loader, str):
|
@@ -1,5 +1,10 @@
|
|
1
|
+
from lionfuncs import check_import
|
2
|
+
|
3
|
+
|
1
4
|
class LlamaIndex:
|
2
5
|
|
6
|
+
llama_index = check_import("llama_index", pip_name="llama-index")
|
7
|
+
|
3
8
|
@classmethod
|
4
9
|
def index(
|
5
10
|
cls,
|
@@ -10,8 +15,8 @@ class LlamaIndex:
|
|
10
15
|
index_type=None,
|
11
16
|
**kwargs,
|
12
17
|
):
|
13
|
-
|
14
|
-
|
18
|
+
Settings = check_import("llama_index.core", import_name="Settings")
|
19
|
+
OpenAI = check_import("llama_index.llms.openai", import_name="OpenAI")
|
15
20
|
|
16
21
|
if not llm_obj:
|
17
22
|
llm_class = llm_class or OpenAI
|
@@ -23,8 +28,9 @@ class LlamaIndex:
|
|
23
28
|
Settings.llm = llm_obj
|
24
29
|
|
25
30
|
if not index_type:
|
26
|
-
|
27
|
-
|
31
|
+
VectorStoreIndex = check_import(
|
32
|
+
"llama_index.core", import_name="VectorStoreIndex"
|
33
|
+
)
|
28
34
|
index_type = VectorStoreIndex
|
29
35
|
|
30
36
|
return index_type(nodes, **kwargs)
|
@@ -1,9 +1,14 @@
|
|
1
|
+
from lionfuncs import check_import
|
2
|
+
|
3
|
+
|
1
4
|
class LlamaPack:
|
2
5
|
|
3
6
|
@staticmethod
|
4
7
|
def download(pack_name, pack_path):
|
5
8
|
try:
|
6
|
-
|
9
|
+
download_llama_pack = check_import(
|
10
|
+
"llama_index.llama_pack", import_name="download_llama_pack"
|
11
|
+
)
|
7
12
|
|
8
13
|
return download_llama_pack(pack_name, pack_path)
|
9
14
|
except Exception as e:
|
@@ -1,5 +1,7 @@
|
|
1
1
|
from typing import Any
|
2
2
|
|
3
|
+
from lionfuncs import check_import, import_module
|
4
|
+
|
3
5
|
from lionagi.libs.sys_util import SysUtil
|
4
6
|
|
5
7
|
|
@@ -25,9 +27,11 @@ def get_llama_index_node_parser(node_parser: Any):
|
|
25
27
|
found within the llama_index.core.node_parser module.
|
26
28
|
"""
|
27
29
|
|
28
|
-
|
29
|
-
|
30
|
-
|
30
|
+
NodeParser = check_import(
|
31
|
+
"llama_index.core.node_parser.interface",
|
32
|
+
import_name="NodeParser",
|
33
|
+
pip_name="llama-index",
|
34
|
+
)
|
31
35
|
|
32
36
|
if not isinstance(node_parser, str) and not issubclass(node_parser, NodeParser):
|
33
37
|
raise TypeError("node_parser must be a string or NodeParser.")
|
@@ -37,7 +41,8 @@ def get_llama_index_node_parser(node_parser: Any):
|
|
37
41
|
SysUtil.check_import("tree_sitter_languages")
|
38
42
|
|
39
43
|
try:
|
40
|
-
|
44
|
+
node_module = import_module("llama_index.core", module_name="node_parser")
|
45
|
+
return getattr(node_module, node_parser)
|
41
46
|
except Exception as e:
|
42
47
|
raise AttributeError(
|
43
48
|
f"llama_index_core has no such attribute:" f" {node_parser}, Error: {e}"
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.2.11"
|
@@ -1,19 +1,24 @@
|
|
1
|
+
license = {file = "LICENSE"}
|
2
|
+
classifiers=[
|
3
|
+
"Programming Language :: Python :: 3",
|
4
|
+
"License :: OSI Approved :: Apache Software License",
|
5
|
+
"Operating System :: OS Independent",
|
6
|
+
]
|
7
|
+
|
1
8
|
[tool.poetry]
|
2
9
|
name = "lionagi"
|
3
|
-
version = "0.2.
|
10
|
+
version = "0.2.11"
|
4
11
|
description = "Towards automated general intelligence."
|
5
12
|
authors = ["HaiyangLi <quantocean.li@gmail.com>"]
|
6
13
|
readme = "README.md"
|
7
14
|
|
8
15
|
[tool.poetry.dependencies]
|
9
16
|
python = "^3.10"
|
10
|
-
lionfuncs = "1.0.1"
|
11
17
|
lion-openai = "^0.1.4"
|
12
18
|
ipython = "^8.27.0"
|
13
|
-
pandas = "^2.2.3"
|
14
19
|
aiocache = "^0.12.3"
|
15
20
|
python-dotenv = "^1.0.1"
|
16
|
-
|
21
|
+
lion-core = "^0.3.9"
|
17
22
|
|
18
23
|
[tool.poetry.group.dev.dependencies]
|
19
24
|
black = "^24.8.0"
|
lionagi-0.2.9/lionagi/version.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.2.9"
|
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
|
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
|
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
|
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
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|