lionagi 0.12.1__tar.gz → 0.12.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lionagi-0.12.3/.github/FUNDING.yml +15 -0
- lionagi-0.12.3/.github/workflows/ci.yml +68 -0
- lionagi-0.12.3/.github/workflows/codeql.yml +40 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/.github/workflows/docs.yml +1 -4
- lionagi-0.12.3/.github/workflows/release.yml +65 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/.gitignore +1 -10
- lionagi-0.12.3/.python-version +1 -0
- lionagi-0.12.3/CODE_OF_CONDUCT.md +75 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/PKG-INFO +29 -11
- {lionagi-0.12.1 → lionagi-0.12.3}/README.md +2 -3
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/file.py +1 -1
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/reason.py +1 -1
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/concat.py +1 -6
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/concat_files.py +1 -5
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/save.py +1 -1
- lionagi-0.12.3/lionagi/libs/package/imports.py +21 -0
- lionagi-0.12.3/lionagi/libs/parse.py +30 -0
- lionagi-0.12.3/lionagi/libs/token_transform/synthlang_/resources/frameworks/framework_options.json +52 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/generic/log.py +1 -2
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/templates/README.md +6 -10
- lionagi-0.12.3/lionagi/service/providers/exa_/models.py +160 -0
- lionagi-0.12.3/lionagi/service/providers/perplexity_/models.py +144 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/utils.py +921 -123
- lionagi-0.12.3/lionagi/version.py +1 -0
- lionagi-0.12.3/main.py +6 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/pyproject.toml +32 -14
- lionagi-0.12.3/scripts/README.md +15 -0
- lionagi-0.12.3/scripts/concat.py +95 -0
- lionagi-0.12.3/scripts/config.py +18 -0
- lionagi-0.12.3/uv.lock +4022 -0
- lionagi-0.12.1/.github/workflows/ci.yml +0 -35
- lionagi-0.12.1/.github/workflows/codeql.yml +0 -40
- lionagi-0.12.1/.github/workflows/release.yml +0 -61
- lionagi-0.12.1/CODE_OF_CONDUCT.md +0 -104
- lionagi-0.12.1/dev_tools/count_code_base_lines.py +0 -113
- lionagi-0.12.1/lionagi/libs/file/create_path.py +0 -80
- lionagi-0.12.1/lionagi/libs/file/file_util.py +0 -358
- lionagi-0.12.1/lionagi/libs/package/imports.py +0 -190
- lionagi-0.12.1/lionagi/libs/parse/fuzzy_parse_json.py +0 -117
- lionagi-0.12.1/lionagi/libs/parse/to_dict.py +0 -336
- lionagi-0.12.1/lionagi/libs/parse/to_json.py +0 -61
- lionagi-0.12.1/lionagi/libs/parse/to_num.py +0 -378
- lionagi-0.12.1/lionagi/libs/parse/to_xml.py +0 -57
- lionagi-0.12.1/lionagi/libs/parse/xml_parser.py +0 -148
- lionagi-0.12.1/lionagi/libs/schema/breakdown_pydantic_annotation.py +0 -48
- lionagi-0.12.1/lionagi/libs/token_transform/synthlang_/resources/frameworks/framework_options.json +0 -52
- lionagi-0.12.1/lionagi/service/providers/exa_/models.py +0 -3
- lionagi-0.12.1/lionagi/service/providers/perplexity_/models.py +0 -5
- lionagi-0.12.1/lionagi/tools/file/__init__.py +0 -3
- lionagi-0.12.1/lionagi/version.py +0 -1
- lionagi-0.12.1/prompts/doc_style.md +0 -228
- lionagi-0.12.1/reports/ips/IP-601.md +0 -257
- lionagi-0.12.1/reports/ips/IP-602.md +0 -272
- lionagi-0.12.1/reports/ips/IP-603.md +0 -144
- lionagi-0.12.1/reports/ips/IP-604.md +0 -199
- lionagi-0.12.1/reports/tis/TI-601.md +0 -233
- lionagi-0.12.1/reports/tis/TI-602.md +0 -627
- lionagi-0.12.1/reports/tis/TI-603.md +0 -141
- lionagi-0.12.1/reports/tis/TI-604.md +0 -223
- lionagi-0.12.1/uv.lock +0 -4463
- {lionagi-0.12.1 → lionagi-0.12.3}/.coveragerc +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/.env.example +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/.github/dependabot.yml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/.pre-commit-config.yaml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/CONTRIBUTING.md +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/LICENSE +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/cookbooks/ch01_get_started.md +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/cookbooks/ch02_concepts.md +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/Makefile +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/_static/custom.css +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/_templates/layout.html +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/conf.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/index.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/action.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/adapter.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/branch.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/branch_operations.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/concepts.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/element_id.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/event.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/form.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/graph.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/index.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/instruct.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/lib_file.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/lib_nested.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/lib_package.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/lib_schema.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/lib_validate.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/log.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/mail.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/message.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/models.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/operative_step.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/pile.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/processor.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/progression.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/service.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/session.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/modules/utils.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/tutorials/get_started.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/tutorials/get_started_pt2.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/tutorials/get_started_pt3.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/docs/tutorials/index.rst +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/_class_registry.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/_errors.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/_types.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/adapter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/json_adapter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/pandas_/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/pandas_/csv_adapter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/pandas_/excel_adapter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/pandas_/pd_dataframe_adapter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/pandas_/pd_series_adapter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/toml_adapter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/adapters/types.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/action.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/base.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/code.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/instruct.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/fields/research.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/chunk.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/file_ops.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/params.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/file/process.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/flatten.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/nfilter.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/nget.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/ninsert.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/nmerge.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/npop.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/nset.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/unflatten.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/nested/utils.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/package/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/package/management.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/package/params.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/package/system.py +0 -0
- {lionagi-0.12.1/lionagi/libs/parse → lionagi-0.12.3/lionagi/libs/schema}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/schema/as_readable.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/schema/extract_code_block.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/schema/extract_docstring.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/schema/function_to_schema.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/schema/json_schema.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/base.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/llmlingua.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/perplexity.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/symbolic_compress_context.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/base.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/abstract_algebra.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/category_theory.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/complex_analysis.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/group_theory.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/math_logic.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/reflective_patterns.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/set_theory.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/frameworks/topology_fundamentals.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/mapping/lion_emoji_mapping.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/mapping/python_math_mapping.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/mapping/rust_chinese_mapping.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/resources/utility/base_synthlang_system_prompt.toml +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/synthlang_/translate_to_synthlang.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/token_transform/types.py +0 -0
- {lionagi-0.12.1/lionagi/libs/schema → lionagi-0.12.3/lionagi/libs/validate}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/validate/common_field_validators.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/validate/fuzzy_match_keys.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/validate/fuzzy_validate_mapping.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/validate/string_similarity.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/libs/validate/validate_boolean.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/models/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/models/field_model.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/models/hashable_model.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/models/model_params.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/models/note.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/models/operable_model.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/models/schema_model.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/ReAct/ReAct.py +0 -0
- {lionagi-0.12.1/lionagi/libs/validate → lionagi-0.12.3/lionagi/operations/ReAct}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/ReAct/utils.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/__init__.py +0 -0
- {lionagi-0.12.1/lionagi/operations/ReAct → lionagi-0.12.3/lionagi/operations/_act}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/_act/act.py +0 -0
- {lionagi-0.12.1/lionagi/operations/_act → lionagi-0.12.3/lionagi/operations/brainstorm}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/brainstorm/brainstorm.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/brainstorm/prompt.py +0 -0
- {lionagi-0.12.1/lionagi/operations/brainstorm → lionagi-0.12.3/lionagi/operations/chat}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/chat/chat.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/communicate/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/communicate/communicate.py +0 -0
- {lionagi-0.12.1/lionagi/operations/chat → lionagi-0.12.3/lionagi/operations/instruct}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/instruct/instruct.py +0 -0
- {lionagi-0.12.1/lionagi/operations/instruct → lionagi-0.12.3/lionagi/operations/interpret}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/interpret/interpret.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/manager.py +0 -0
- {lionagi-0.12.1/lionagi/operations/interpret → lionagi-0.12.3/lionagi/operations/operate}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/operate/operate.py +0 -0
- {lionagi-0.12.1/lionagi/operations/operate → lionagi-0.12.3/lionagi/operations/parse}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/parse/parse.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/plan/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/plan/plan.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/plan/prompt.py +0 -0
- {lionagi-0.12.1/lionagi/operations/parse → lionagi-0.12.3/lionagi/operations/select}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/select/select.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/select/utils.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/translate/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/translate/translate.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/types.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/operations/utils.py +0 -0
- {lionagi-0.12.1/lionagi/operations/select → lionagi-0.12.3/lionagi/protocols}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/_concepts.py +0 -0
- {lionagi-0.12.1/lionagi/protocols → lionagi-0.12.3/lionagi/protocols/action}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/action/function_calling.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/action/manager.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/action/tool.py +0 -0
- {lionagi-0.12.1/lionagi/protocols/action → lionagi-0.12.3/lionagi/protocols/forms}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/forms/base.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/forms/flow.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/forms/form.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/forms/report.py +0 -0
- {lionagi-0.12.1/lionagi/protocols/forms → lionagi-0.12.3/lionagi/protocols/generic}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/generic/element.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/generic/event.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/generic/pile.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/generic/processor.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/generic/progression.py +0 -0
- {lionagi-0.12.1/lionagi/protocols/generic → lionagi-0.12.3/lionagi/protocols/graph}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/graph/edge.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/graph/graph.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/graph/node.py +0 -0
- {lionagi-0.12.1/lionagi/protocols/graph → lionagi-0.12.3/lionagi/protocols/mail}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/mail/exchange.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/mail/mail.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/mail/mailbox.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/mail/manager.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/mail/package.py +0 -0
- {lionagi-0.12.1/lionagi/protocols/mail → lionagi-0.12.3/lionagi/protocols/messages}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/action_request.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/action_response.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/assistant_response.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/base.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/instruction.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/manager.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/message.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/system.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/templates/action_request.jinja2 +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/templates/action_response.jinja2 +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/templates/assistant_response.jinja2 +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/templates/instruction_message.jinja2 +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/templates/system_message.jinja2 +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/messages/templates/tool_schemas.jinja2 +0 -0
- {lionagi-0.12.1/lionagi/protocols/messages → lionagi-0.12.3/lionagi/protocols/operatives}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/operatives/operative.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/operatives/step.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/protocols/types.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/__init__.py +0 -0
- {lionagi-0.12.1/lionagi/protocols/operatives → lionagi-0.12.3/lionagi/service/endpoints}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/endpoints/base.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/endpoints/chat_completion.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/endpoints/match_endpoint.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/endpoints/rate_limited_processor.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/endpoints/token_calculator.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/imodel.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/manager.py +0 -0
- {lionagi-0.12.1/lionagi/service/endpoints → lionagi-0.12.3/lionagi/service/providers}/__init__.py +0 -0
- {lionagi-0.12.1/lionagi/service/providers → lionagi-0.12.3/lionagi/service/providers/anthropic_}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/anthropic_/messages.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/exa_/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/exa_/search.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/exa_/types.py +0 -0
- {lionagi-0.12.1/lionagi/service/providers/anthropic_ → lionagi-0.12.3/lionagi/service/providers/groq_}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/groq_/chat_completions.py +0 -0
- {lionagi-0.12.1/lionagi/service/providers/groq_ → lionagi-0.12.3/lionagi/service/providers/ollama_}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/ollama_/chat_completions.py +0 -0
- {lionagi-0.12.1/lionagi/service/providers/ollama_ → lionagi-0.12.3/lionagi/service/providers/openai_}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/openai_/chat_completions.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/openai_/spec.py +0 -0
- {lionagi-0.12.1/lionagi/service/providers/openai_ → lionagi-0.12.3/lionagi/service/providers/openrouter_}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/openrouter_/chat_completions.py +0 -0
- {lionagi-0.12.1/lionagi/service/providers/openrouter_ → lionagi-0.12.3/lionagi/service/providers/perplexity_}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/perplexity_/chat_completions.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/providers/types.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/service/types.py +0 -0
- {lionagi-0.12.1/lionagi/service/providers/perplexity_ → lionagi-0.12.3/lionagi/session}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/session/branch.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/session/prompts.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/session/session.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/settings.py +0 -0
- {lionagi-0.12.1/lionagi/session → lionagi-0.12.3/lionagi/tools}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/tools/base.py +0 -0
- {lionagi-0.12.1/lionagi/tools → lionagi-0.12.3/lionagi/tools/file}/__init__.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/tools/file/reader.py +0 -0
- {lionagi-0.12.1 → lionagi-0.12.3}/lionagi/tools/types.py +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
# These are supported funding model platforms
|
2
|
+
|
3
|
+
github: [lion-agi]
|
4
|
+
patreon: # Replace with a single Patreon username
|
5
|
+
open_collective: # Replace with a single Open Collective username
|
6
|
+
ko_fi: # Replace with a single Ko-fi username
|
7
|
+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
|
8
|
+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
|
9
|
+
liberapay: # Replace with a single Liberapay username
|
10
|
+
issuehunt: # Replace with a single IssueHunt username
|
11
|
+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
|
12
|
+
polar: # Replace with a single Polar username
|
13
|
+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
|
14
|
+
thanks_dev: # Replace with a single thanks.dev username
|
15
|
+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
|
@@ -0,0 +1,68 @@
|
|
1
|
+
name: Continuous Integration
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main, develop ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ main, develop ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
python-version: ['3.10', '3.11', '3.12', '3.13']
|
15
|
+
steps:
|
16
|
+
- uses: actions/checkout@v4
|
17
|
+
- name: Set up Python ${{ matrix.python-version }}
|
18
|
+
uses: actions/setup-python@v5
|
19
|
+
with:
|
20
|
+
python-version: ${{ matrix.python-version }}
|
21
|
+
|
22
|
+
- name: Install uv
|
23
|
+
run: |
|
24
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
25
|
+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
26
|
+
|
27
|
+
- name: Load cached dependencies
|
28
|
+
id: cached-uv-dependencies
|
29
|
+
uses: actions/cache@v4
|
30
|
+
with:
|
31
|
+
path: .venv
|
32
|
+
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
|
33
|
+
|
34
|
+
- name: Install dependencies
|
35
|
+
if: steps.cached-uv-dependencies.outputs.cache-hit != 'true'
|
36
|
+
run: |
|
37
|
+
uv venv
|
38
|
+
uv build
|
39
|
+
|
40
|
+
- name: Run tests
|
41
|
+
run: |
|
42
|
+
source .venv/bin/activate
|
43
|
+
uv run pytest --asyncio-mode=auto --maxfail=1 --disable-warnings tests/
|
44
|
+
|
45
|
+
- name: Check code style and compatibility
|
46
|
+
run: |
|
47
|
+
source .venv/bin/activate
|
48
|
+
uv run black --check .
|
49
|
+
uv run isort --check-only .
|
50
|
+
|
51
|
+
publish:
|
52
|
+
needs: test
|
53
|
+
runs-on: ubuntu-latest
|
54
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
55
|
+
steps:
|
56
|
+
- uses: actions/checkout@v4
|
57
|
+
- name: Set up Python
|
58
|
+
uses: actions/setup-python@v5
|
59
|
+
with:
|
60
|
+
python-version: "3.12"
|
61
|
+
|
62
|
+
- name: Install uv
|
63
|
+
run: |
|
64
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
65
|
+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
66
|
+
|
67
|
+
- name: Build package
|
68
|
+
run: uv build
|
@@ -0,0 +1,40 @@
|
|
1
|
+
name: "CodeQL"
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main, develop ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ main, develop ]
|
8
|
+
schedule:
|
9
|
+
- cron: '0 0 * * 0'
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
analyze:
|
13
|
+
name: Analyze
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
permissions:
|
16
|
+
actions: read
|
17
|
+
contents: read
|
18
|
+
security-events: write
|
19
|
+
|
20
|
+
strategy:
|
21
|
+
fail-fast: false
|
22
|
+
matrix:
|
23
|
+
language: [ 'python' ]
|
24
|
+
|
25
|
+
steps:
|
26
|
+
- name: Checkout repository
|
27
|
+
uses: actions/checkout@v4
|
28
|
+
|
29
|
+
- name: Initialize CodeQL
|
30
|
+
uses: github/codeql-action/init@v3
|
31
|
+
with:
|
32
|
+
languages: ${{ matrix.language }}
|
33
|
+
|
34
|
+
- name: Autobuild
|
35
|
+
uses: github/codeql-action/autobuild@v3
|
36
|
+
|
37
|
+
- name: Perform CodeQL Analysis
|
38
|
+
uses: github/codeql-action/analyze@v3
|
39
|
+
|
40
|
+
# filepath: .github/workflows/codeql-analysis.yml
|
@@ -0,0 +1,65 @@
|
|
1
|
+
name: Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
release:
|
5
|
+
types: [published]
|
6
|
+
|
7
|
+
permissions:
|
8
|
+
contents: read
|
9
|
+
|
10
|
+
jobs:
|
11
|
+
test:
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
strategy:
|
14
|
+
matrix:
|
15
|
+
python-version: ['3.10', '3.11', '3.12', '3.13']
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v4
|
18
|
+
- name: Set up Python ${{ matrix.python-version }}
|
19
|
+
uses: actions/setup-python@v5
|
20
|
+
with:
|
21
|
+
python-version: ${{ matrix.python-version }}
|
22
|
+
|
23
|
+
- name: Install uv
|
24
|
+
run: |
|
25
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
26
|
+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
27
|
+
|
28
|
+
- name: Install dependencies
|
29
|
+
run: |
|
30
|
+
uv venv
|
31
|
+
uv build
|
32
|
+
|
33
|
+
- name: Run tests
|
34
|
+
run: |
|
35
|
+
source .venv/bin/activate
|
36
|
+
uv run pytest --asyncio-mode=auto --maxfail=1 --disable-warnings tests/
|
37
|
+
|
38
|
+
deploy:
|
39
|
+
needs: test
|
40
|
+
runs-on: ubuntu-latest
|
41
|
+
steps:
|
42
|
+
- uses: actions/checkout@v4
|
43
|
+
- name: Set up Python
|
44
|
+
uses: actions/setup-python@v5
|
45
|
+
with:
|
46
|
+
python-version: "3.12"
|
47
|
+
|
48
|
+
- name: Install uv
|
49
|
+
run: |
|
50
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh
|
51
|
+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
52
|
+
|
53
|
+
- name: Install dependencies
|
54
|
+
run: |
|
55
|
+
uv venv
|
56
|
+
uv pip install twine
|
57
|
+
|
58
|
+
- name: Build package
|
59
|
+
run: uv build
|
60
|
+
|
61
|
+
- name: Publish package to PyPI
|
62
|
+
env:
|
63
|
+
TWINE_USERNAME: __token__
|
64
|
+
TWINE_PASSWORD: ${{ secrets.PYPI_API_KEY }}
|
65
|
+
run: uv run twine upload dist/*
|
@@ -165,18 +165,9 @@ cython_debug/
|
|
165
165
|
#.idea/
|
166
166
|
|
167
167
|
# Generated files
|
168
|
-
lionagi/adapter_map.json
|
169
168
|
# Exclude setup.py and pyproject.toml from version control
|
170
|
-
setup.py
|
171
|
-
pyproject.toml
|
172
|
-
.idea/
|
173
|
-
.data/
|
174
|
-
notebooks/.lock
|
175
|
-
notebooks/meta.json
|
176
|
-
logs/
|
177
|
-
temp_logs/
|
178
|
-
dev/
|
179
169
|
*.DS_Store
|
180
170
|
.roomodes
|
181
171
|
.khive/
|
182
172
|
.roo/
|
173
|
+
data/logs/
|
@@ -0,0 +1 @@
|
|
1
|
+
3.10
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# LionAGI Code of Conduct
|
2
|
+
|
3
|
+
## A. Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as members, contributors, and leaders of the LionAGI community pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of background, identity, and personal characteristics.
|
6
|
+
|
7
|
+
We commit to act and interact in ways that contribute to an inclusive, diverse, and friendly community.
|
8
|
+
|
9
|
+
## B. Our Standards
|
10
|
+
|
11
|
+
Examples of behavior that contribute to a positive environment include:
|
12
|
+
|
13
|
+
* Demonstrating empathy and kindness toward other people.
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences.
|
15
|
+
* Giving and gracefully accepting constructive feedback.
|
16
|
+
* Accepting responsibility for our actions, apologizing to those affected by our mistakes, and learning from the experience.
|
17
|
+
* Focusing on what is best for the community as a whole.
|
18
|
+
|
19
|
+
Examples of unacceptable behavior include:
|
20
|
+
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or advances of any kind.
|
22
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks.
|
23
|
+
* Public or private harassment.
|
24
|
+
* Publishing others' private information, such as a physical or email address, without explicit permission.
|
25
|
+
* Other conduct which could reasonably be considered inappropriate in a professional setting.
|
26
|
+
|
27
|
+
## C. Enforcement Responsibilities
|
28
|
+
|
29
|
+
Our community leaders are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
30
|
+
|
31
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct.
|
32
|
+
|
33
|
+
## D. Scope
|
34
|
+
|
35
|
+
This Code of Conduct applies within all community spaces, including GitHub, Discord, and various social media platforms, and also applies when an individual is officially representing the community.
|
36
|
+
|
37
|
+
## E. Enforcement
|
38
|
+
|
39
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team via our Discord server. All complaints will be reviewed and investigated in a manner that ensures fairness and respect for all parties.
|
40
|
+
|
41
|
+
Community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
42
|
+
|
43
|
+
## F. Enforcement Guidelines
|
44
|
+
|
45
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action deemed in violation of this Code of Conduct:
|
46
|
+
|
47
|
+
### 1. Correction
|
48
|
+
|
49
|
+
**Community Impact**: Use of inappropriate language or behavior deemed unprofessional.
|
50
|
+
|
51
|
+
**Consequence**: A private written warning from community leaders, with an explanation of why the behavior was inappropriate.
|
52
|
+
|
53
|
+
### 2. Warning
|
54
|
+
|
55
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
56
|
+
|
57
|
+
**Consequence**: A warning with consequences for continued behavior. This includes a temporary ban from community interaction if the behavior persists.
|
58
|
+
|
59
|
+
### 3. Temporary Ban
|
60
|
+
|
61
|
+
**Community Impact**: A serious violation of community standards.
|
62
|
+
|
63
|
+
**Consequence**: A temporary ban from any sort of interaction within the community.
|
64
|
+
|
65
|
+
### 4. Permanent Ban
|
66
|
+
|
67
|
+
**Community Impact**: Sustained inappropriate behavior, harassment, or aggression toward individuals.
|
68
|
+
|
69
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
70
|
+
|
71
|
+
## G. Attribution
|
72
|
+
|
73
|
+
This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at [Contributor Covenant](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
|
74
|
+
|
75
|
+
For answers to common questions about this code of conduct, see the [FAQ](https://www.contributor-covenant.org/faq).
|
@@ -1,8 +1,8 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: lionagi
|
3
|
-
Version: 0.12.
|
3
|
+
Version: 0.12.3
|
4
4
|
Summary: An Intelligence Operating System.
|
5
|
-
Author-email: HaiyangLi <quantocean.li@gmail.com>
|
5
|
+
Author-email: HaiyangLi <quantocean.li@gmail.com>, Liangbingyan Luo <llby_luo@outlook.com>
|
6
6
|
License: Apache License
|
7
7
|
Version 2.0, January 2004
|
8
8
|
http://www.apache.org/licenses/
|
@@ -219,19 +219,38 @@ Classifier: Programming Language :: Python :: 3.11
|
|
219
219
|
Classifier: Programming Language :: Python :: 3.12
|
220
220
|
Classifier: Programming Language :: Python :: 3.13
|
221
221
|
Requires-Python: >=3.10
|
222
|
+
Requires-Dist: aiocache>=0.12.0
|
223
|
+
Requires-Dist: aiohttp>=3.10.0
|
222
224
|
Requires-Dist: jinja2>=3.0.0
|
223
|
-
Requires-Dist: khive>=0.2.6
|
224
225
|
Requires-Dist: pandas>=2.0.0
|
226
|
+
Requires-Dist: pillow>=10.0.0
|
227
|
+
Requires-Dist: pydantic>2.0.0
|
228
|
+
Requires-Dist: python-dotenv>=1.1.0
|
225
229
|
Requires-Dist: tiktoken>=0.8.0
|
230
|
+
Requires-Dist: toml>=0.9.0
|
226
231
|
Provides-Extra: all
|
227
|
-
Requires-Dist:
|
228
|
-
Requires-Dist: litellm; extra == 'all'
|
232
|
+
Requires-Dist: docling>=2.15.1; extra == 'all'
|
233
|
+
Requires-Dist: litellm>=1.59.5; extra == 'all'
|
234
|
+
Requires-Dist: ollama>=0.4.7; extra == 'all'
|
235
|
+
Requires-Dist: openai>=1.60.0; extra == 'all'
|
236
|
+
Provides-Extra: docs
|
237
|
+
Requires-Dist: furo>=2024.8.6; extra == 'docs'
|
238
|
+
Requires-Dist: sphinx-autobuild>=2024.10.3; extra == 'docs'
|
239
|
+
Requires-Dist: sphinx>=8.1.3; extra == 'docs'
|
240
|
+
Provides-Extra: lint
|
241
|
+
Requires-Dist: black[jupyter]>=24.10.0; extra == 'lint'
|
242
|
+
Requires-Dist: isort>=5.13.2; extra == 'lint'
|
243
|
+
Requires-Dist: pre-commit>=4.0.1; extra == 'lint'
|
229
244
|
Provides-Extra: llms
|
230
|
-
Requires-Dist: litellm; extra == 'llms'
|
245
|
+
Requires-Dist: litellm>=1.59.5; extra == 'llms'
|
231
246
|
Provides-Extra: ollama
|
232
|
-
Requires-Dist:
|
247
|
+
Requires-Dist: ollama>=0.4.7; extra == 'ollama'
|
248
|
+
Requires-Dist: openai>=1.60.0; extra == 'ollama'
|
249
|
+
Provides-Extra: test
|
250
|
+
Requires-Dist: pytest-asyncio>=0.25.0; extra == 'test'
|
251
|
+
Requires-Dist: pytest>=8.3.4; extra == 'test'
|
233
252
|
Provides-Extra: tools
|
234
|
-
Requires-Dist:
|
253
|
+
Requires-Dist: docling>=2.15.1; extra == 'tools'
|
235
254
|
Description-Content-Type: text/markdown
|
236
255
|
|
237
256
|

|
@@ -239,9 +258,8 @@ Description-Content-Type: text/markdown
|
|
239
258
|

|
240
259
|
|
241
260
|
[Documentation](https://lion-agi.github.io/lionagi/) |
|
242
|
-
[Discord](https://discord.gg/
|
261
|
+
[Discord](https://discord.gg/JDj9ENhUE8) |
|
243
262
|
[PyPI](https://pypi.org/project/lionagi/) |
|
244
|
-
[Roadmap](https://trello.com/b/3seomsrI/lionagi)
|
245
263
|
|
246
264
|
# LION - Language InterOperable Network
|
247
265
|
|
@@ -391,7 +409,7 @@ We welcome issues, ideas, and pull requests:
|
|
391
409
|
|
392
410
|
```
|
393
411
|
@software{Li_LionAGI_2023,
|
394
|
-
author = {Haiyang Li},
|
412
|
+
author = {Haiyang Li, Liangbingyan Luo},
|
395
413
|
month = {12},
|
396
414
|
year = {2023},
|
397
415
|
title = {LionAGI: Towards Automated General Intelligence},
|
@@ -3,9 +3,8 @@
|
|
3
3
|

|
4
4
|
|
5
5
|
[Documentation](https://lion-agi.github.io/lionagi/) |
|
6
|
-
[Discord](https://discord.gg/
|
6
|
+
[Discord](https://discord.gg/JDj9ENhUE8) |
|
7
7
|
[PyPI](https://pypi.org/project/lionagi/) |
|
8
|
-
[Roadmap](https://trello.com/b/3seomsrI/lionagi)
|
9
8
|
|
10
9
|
# LION - Language InterOperable Network
|
11
10
|
|
@@ -155,7 +154,7 @@ We welcome issues, ideas, and pull requests:
|
|
155
154
|
|
156
155
|
```
|
157
156
|
@software{Li_LionAGI_2023,
|
158
|
-
author = {Haiyang Li},
|
157
|
+
author = {Haiyang Li, Liangbingyan Luo},
|
159
158
|
month = {12},
|
160
159
|
year = {2023},
|
161
160
|
title = {LionAGI: Towards Automated General Intelligence},
|
@@ -1,12 +1,7 @@
|
|
1
|
-
# Copyright (c) 2023 - 2025, HaiyangLi <quantocean.li at gmail dot com>
|
2
|
-
#
|
3
|
-
# SPDX-License-Identifier: Apache-2.0
|
4
|
-
|
5
1
|
from pathlib import Path
|
6
2
|
from typing import Any
|
7
3
|
|
8
|
-
from lionagi.
|
9
|
-
from lionagi.utils import lcall
|
4
|
+
from lionagi.utils import create_path, lcall
|
10
5
|
|
11
6
|
from .process import dir_to_files
|
12
7
|
|
@@ -1,10 +1,6 @@
|
|
1
|
-
# Copyright (c) 2023 - 2025, HaiyangLi <quantocean.li at gmail dot com>
|
2
|
-
#
|
3
|
-
# SPDX-License-Identifier: Apache-2.0
|
4
|
-
|
5
1
|
from pathlib import Path
|
6
2
|
|
7
|
-
from lionagi.
|
3
|
+
from lionagi.utils import create_path
|
8
4
|
|
9
5
|
from .process import dir_to_files
|
10
6
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Copyright (c) 2023 - 2025, HaiyangLi <quantocean.li at gmail dot com>
|
2
|
+
#
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
4
|
+
|
5
|
+
from lionagi.utils import (
|
6
|
+
check_import,
|
7
|
+
import_module,
|
8
|
+
install_import,
|
9
|
+
is_import_installed,
|
10
|
+
run_package_manager_command,
|
11
|
+
)
|
12
|
+
|
13
|
+
# backward compatibility
|
14
|
+
|
15
|
+
__all__ = (
|
16
|
+
"run_package_manager_command",
|
17
|
+
"check_import",
|
18
|
+
"import_module",
|
19
|
+
"install_import",
|
20
|
+
"is_import_installed",
|
21
|
+
)
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Copyright (c) 2023 - 2025, HaiyangLi <quantocean.li at gmail dot com>
|
2
|
+
#
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
4
|
+
|
5
|
+
from lionagi.libs.schema.as_readable import as_readable
|
6
|
+
from lionagi.libs.schema.extract_code_block import extract_code_block
|
7
|
+
from lionagi.libs.schema.function_to_schema import function_to_schema
|
8
|
+
from lionagi.libs.validate.fuzzy_match_keys import fuzzy_match_keys
|
9
|
+
from lionagi.libs.validate.fuzzy_validate_mapping import fuzzy_validate_mapping
|
10
|
+
from lionagi.libs.validate.string_similarity import string_similarity
|
11
|
+
from lionagi.utils import fuzzy_parse_json, to_dict, to_json, to_num
|
12
|
+
|
13
|
+
validate_keys = fuzzy_match_keys # for backward compatibility
|
14
|
+
validate_mapping = fuzzy_validate_mapping # for backward compatibility
|
15
|
+
|
16
|
+
|
17
|
+
__all__ = (
|
18
|
+
"as_readable",
|
19
|
+
"extract_code_block",
|
20
|
+
"function_to_schema",
|
21
|
+
"fuzzy_match_keys",
|
22
|
+
"fuzzy_validate_mapping",
|
23
|
+
"string_similarity",
|
24
|
+
"validate_keys",
|
25
|
+
"validate_mapping",
|
26
|
+
"to_dict",
|
27
|
+
"to_json",
|
28
|
+
"to_num",
|
29
|
+
"fuzzy_parse_json",
|
30
|
+
)
|
lionagi-0.12.3/lionagi/libs/token_transform/synthlang_/resources/frameworks/framework_options.json
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
{
|
2
|
+
"options": {
|
3
|
+
"math": {
|
4
|
+
"name": "Mathematical Framework",
|
5
|
+
"description": "Offers a suite of math glyphs and notation rules.",
|
6
|
+
"glyphs": [
|
7
|
+
{
|
8
|
+
"symbol": "\u21b9",
|
9
|
+
"name": "Focus/Filter",
|
10
|
+
"description": "Used for focusing instructions"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"symbol": "\u03a3",
|
14
|
+
"name": "Summarize",
|
15
|
+
"description": "Condense large sets of data"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"symbol": "\u2295",
|
19
|
+
"name": "Combine/Merge",
|
20
|
+
"description": "Merge multiple data sources"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"symbol": "\u2022",
|
24
|
+
"name": "Group Operation",
|
25
|
+
"description": "Binary operation in group theory"
|
26
|
+
}
|
27
|
+
]
|
28
|
+
},
|
29
|
+
"optim": {
|
30
|
+
"name": "Optimization Framework",
|
31
|
+
"description": "Compression and optimization for code/math expressions.",
|
32
|
+
"glyphs": [
|
33
|
+
{
|
34
|
+
"symbol": "IF",
|
35
|
+
"name": "Conditional Operator",
|
36
|
+
"description": "Represents branching logic"
|
37
|
+
}
|
38
|
+
]
|
39
|
+
},
|
40
|
+
"custom_algebra": {
|
41
|
+
"name": "Custom Algebraic Framework",
|
42
|
+
"description": "Extra rules for ring, group, field expansions.",
|
43
|
+
"glyphs": [
|
44
|
+
{
|
45
|
+
"symbol": "\u221e",
|
46
|
+
"name": "Infinite Operator",
|
47
|
+
"description": "Represents unbounded algebraic ops"
|
48
|
+
}
|
49
|
+
]
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
@@ -11,8 +11,7 @@ from typing import Any
|
|
11
11
|
|
12
12
|
from pydantic import BaseModel, Field, PrivateAttr, field_validator
|
13
13
|
|
14
|
-
from lionagi.
|
15
|
-
from lionagi.utils import to_dict
|
14
|
+
from lionagi.utils import create_path, to_dict
|
16
15
|
|
17
16
|
from .._concepts import Manager
|
18
17
|
from .element import Element
|
@@ -19,14 +19,10 @@ message_text = template.render(**args)
|
|
19
19
|
print(message_text)
|
20
20
|
```
|
21
21
|
|
22
|
-
Benefits and Customization
|
23
|
-
templates without changing your code logic.
|
24
|
-
separated, making it simpler to maintain or adjust one message format without
|
25
|
-
|
26
|
-
|
27
|
-
template (like tool_schemas.jinja2) and include it where needed. • Over time,
|
28
|
-
you can add more templates or split existing ones if certain messages become too
|
29
|
-
complex.
|
22
|
+
Benefits and Customization
|
23
|
+
• You can easily rearrange sections within these templates without changing your code logic.
|
24
|
+
• Each message type is clearly separated, making it simpler to maintain or adjust one message format without affecting the others.
|
25
|
+
• If you find that you use some snippet (like rendering a schema) in multiple templates, you can factor it out into its own partial template (like tool_schemas.jinja2) and include it where needed.
|
26
|
+
• Over time, you can add more templates or split existing ones if certain messages become too complex.
|
30
27
|
|
31
|
-
By establishing this set of base templates and arguments, you have a starting
|
32
|
-
point. You can expand or refine as your requirements evolve.
|
28
|
+
By establishing this set of base templates and arguments, you have a starting point. You can expand or refine as your requirements evolve.
|