lionagi 0.7.4__tar.gz → 0.7.5__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {lionagi-0.7.4 → lionagi-0.7.5}/PKG-INFO +1 -1
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/ReAct/ReAct.py +1 -1
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/brainstorm/brainstorm.py +9 -9
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/plan/plan.py +4 -4
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/concurrent.py +1 -1
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/concurrent_sequential_chunk.py +1 -1
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/sequential.py +1 -1
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/sequential_chunk.py +1 -1
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/sequential_concurrent_chunk.py +1 -1
- lionagi-0.7.5/lionagi/version.py +1 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/pyproject.toml +1 -1
- lionagi-0.7.4/lionagi/version.py +0 -1
- {lionagi-0.7.4 → lionagi-0.7.5}/.env.example +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.github/FUNDING.yml +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.github/dependabot.yml +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/ci.yml +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/codeql.yml +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/docs.yml +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.github/workflows/release.yml +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.gitignore +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/.pre-commit-config.yaml +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/CODE_OF_CONDUCT.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/CONTRIBUTING.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/LICENSE +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/README.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch01_get_started.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch02_concepts.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch10_e2e_project.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch11_performance.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch12_graph.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch3_internal_tools.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch4_structured_forms.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch5_react.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch6_multi_branch.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch7_multi_agent.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch8_rate_limiting.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/cookbooks/ch9_data_adapter.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/dev_tools/count_code_base_lines.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/Makefile +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/_static/custom.css +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/_templates/layout.html +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/conf.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/index.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/action.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/adapter.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/branch.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/branch_operations.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/concepts.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/element_id.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/event.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/form.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/graph.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/index.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/instruct.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_file.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_nested.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_package.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_schema.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/lib_validate.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/log.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/mail.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/message.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/models.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/operative_step.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/pile.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/processor.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/progression.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/service.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/session.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/modules/utils.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/get_started.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/get_started_pt2.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/get_started_pt3.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/docs/tutorials/index.rst +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/_class_registry.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/_errors.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/_types.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/chunk.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/file_ops.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/params.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/process.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/file/save.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/flatten.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nfilter.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nget.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/ninsert.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nmerge.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/npop.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/nset.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/unflatten.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/nested/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/imports.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/management.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/params.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/package/system.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/parse.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/as_readable.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/extract_code_block.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/extract_docstring.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/function_to_schema.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/schema/json_schema.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/llmlingua.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/perplexity.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/token_transform/synthlang.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/common_field_validators.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/fuzzy_match_keys.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/fuzzy_validate_mapping.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/string_similarity.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/libs/validate/validate_boolean.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/ReAct/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/ReAct/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/_act/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/_act/act.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/brainstorm/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/brainstorm/prompt.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/chat/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/chat/chat.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/communicate/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/communicate/communicate.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/instruct/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/instruct/instruct.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/interpret/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/interpret/interpret.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/operate/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/operate/operate.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/parse/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/parse/parse.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/plan/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/plan/prompt.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/select/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/select/select.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/select/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/translate/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/translate/translate.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/types.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operations/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/function_calling.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/manager.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/request_response_model.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/tool.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/action/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/base.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/form.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/report.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/forms/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/base.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/instruct.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/instruct_collection.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/node.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/prompts.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/instruct/reason.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/manager.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/field_model.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/model_params.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/note.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/operable_model.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/models/schema_model.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/operative.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/step.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/base.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/concurrent_chunk.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/params.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/types.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/_concepts.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/adapter.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/json_adapter.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/csv_adapter.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/excel_adapter.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/pd_dataframe_adapter.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/pandas_/pd_series_adapter.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/adapters/types.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/element.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/event.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/log.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/pile.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/processor.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/generic/progression.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/edge.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/graph.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/graph/node.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/exchange.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/mail.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/mailbox.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/manager.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/mail/package.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/action_request.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/action_response.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/assistant_response.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/base.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/instruction.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/manager.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/message.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/system.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/README.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/action_request.jinja2 +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/action_response.jinja2 +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/assistant_response.jinja2 +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/instruction_message.jinja2 +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/system_message.jinja2 +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/messages/templates/tool_schemas.jinja2 +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/protocols/types.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/base.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/chat_completion.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/match_endpoint.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/rate_limited_processor.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/endpoints/token_calculator.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/imodel.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/manager.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/anthropic_/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/anthropic_/messages.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/groq_/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/groq_/chat_completions.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openai_/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openai_/chat_completions.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openrouter_/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/openrouter_/chat_completions.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/perplexity_/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/providers/perplexity_/chat_completions.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/service/types.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/session/__init__.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/session/branch.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/session/session.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/settings.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/lionagi/utils.py +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/prompts/doc_style.md +0 -0
- {lionagi-0.7.4 → lionagi-0.7.5}/uv.lock +0 -0
@@ -112,7 +112,7 @@ async def ReAct(
|
|
112
112
|
if extensions:
|
113
113
|
extensions -= 1
|
114
114
|
|
115
|
-
# Step 3: Produce final answer by calling branch.
|
115
|
+
# Step 3: Produce final answer by calling branch.instruct with an answer prompt
|
116
116
|
answer_prompt = ReActAnalysis.ANSWER_PROMPT.format(
|
117
117
|
instruction=instruct_dict["instruction"]
|
118
118
|
)
|
@@ -75,7 +75,7 @@ async def run_instruct(
|
|
75
75
|
if verbose:
|
76
76
|
snippet = (
|
77
77
|
child_ins.guidance[:100] + "..."
|
78
|
-
if len(child_ins.guidance) > 100
|
78
|
+
if len(child_ins.guidance or "") > 100
|
79
79
|
else child_ins.guidance
|
80
80
|
)
|
81
81
|
print(f"\n-----Running instruction-----\n{snippet}")
|
@@ -181,7 +181,7 @@ async def brainstorm(
|
|
181
181
|
if verbose:
|
182
182
|
snippet = (
|
183
183
|
ins_.guidance[:100] + "..."
|
184
|
-
if len(ins_.guidance) > 100
|
184
|
+
if len(ins_.guidance or "") > 100
|
185
185
|
else ins_.guidance
|
186
186
|
)
|
187
187
|
print(f"\n-----Running instruction-----\n{snippet}")
|
@@ -255,12 +255,12 @@ async def brainstorm(
|
|
255
255
|
if verbose:
|
256
256
|
snippet = (
|
257
257
|
ins_.guidance[:100] + "..."
|
258
|
-
if len(ins_.guidance) > 100
|
258
|
+
if len(ins_.guidance or "") > 100
|
259
259
|
else ins_.guidance
|
260
260
|
)
|
261
261
|
print(f"\n-----Exploring Idea-----\n{snippet}")
|
262
262
|
new_branch = session.split(branch)
|
263
|
-
resp = await new_branch.
|
263
|
+
resp = await new_branch.instruct(
|
264
264
|
ins_, **(explore_kwargs or {})
|
265
265
|
)
|
266
266
|
return InstructResponse(instruct=ins_, response=resp)
|
@@ -303,11 +303,11 @@ async def brainstorm(
|
|
303
303
|
if verbose:
|
304
304
|
snippet = (
|
305
305
|
i.guidance[:100] + "..."
|
306
|
-
if len(i.guidance) > 100
|
306
|
+
if len(i.guidance or "") > 100
|
307
307
|
else i.guidance
|
308
308
|
)
|
309
309
|
print(f"\n-----Exploring Idea-----\n{snippet}")
|
310
|
-
seq_res = await branch.
|
310
|
+
seq_res = await branch.instruct(
|
311
311
|
i, **(explore_kwargs or {})
|
312
312
|
)
|
313
313
|
explore_results.append(
|
@@ -337,7 +337,7 @@ async def brainstorm(
|
|
337
337
|
|
338
338
|
async def _explore(ins_: Instruct):
|
339
339
|
child_branch = session.split(base_branch)
|
340
|
-
child_resp = await child_branch.
|
340
|
+
child_resp = await child_branch.instruct(
|
341
341
|
ins_, **(explore_kwargs or {})
|
342
342
|
)
|
343
343
|
return InstructResponse(
|
@@ -393,14 +393,14 @@ async def brainstorm(
|
|
393
393
|
if verbose:
|
394
394
|
snippet = (
|
395
395
|
ins_.guidance[:100] + "..."
|
396
|
-
if len(ins_.guidance) > 100
|
396
|
+
if len(ins_.guidance or "") > 100
|
397
397
|
else ins_.guidance
|
398
398
|
)
|
399
399
|
print(
|
400
400
|
f"\n-----Exploring Idea (sequential in chunk)-----\n{snippet}"
|
401
401
|
)
|
402
402
|
|
403
|
-
seq_resp = await local_branch.
|
403
|
+
seq_resp = await local_branch.instruct(
|
404
404
|
ins_, **(explore_kwargs or {})
|
405
405
|
)
|
406
406
|
chunk_results.append(
|
@@ -249,7 +249,7 @@ async def plan(
|
|
249
249
|
)
|
250
250
|
print(f"Instruction: {snippet}")
|
251
251
|
|
252
|
-
step_response = await execute_branch.
|
252
|
+
step_response = await execute_branch.instruct(
|
253
253
|
plan_step, **(execution_kwargs or {})
|
254
254
|
)
|
255
255
|
seq_results.append(
|
@@ -277,7 +277,7 @@ async def plan(
|
|
277
277
|
print(f"\n------ Executing step (concurrently) ------")
|
278
278
|
print(f"Instruction: {snippet}")
|
279
279
|
local_branch = session.split(execute_branch)
|
280
|
-
resp = await local_branch.
|
280
|
+
resp = await local_branch.instruct(
|
281
281
|
plan_step, **(execution_kwargs or {})
|
282
282
|
)
|
283
283
|
return InstructResponse(instruct=plan_step, response=resp)
|
@@ -309,7 +309,7 @@ async def plan(
|
|
309
309
|
|
310
310
|
async def _execute(plan_step: Instruct):
|
311
311
|
local_branch = session.split(execute_branch)
|
312
|
-
resp = await local_branch.
|
312
|
+
resp = await local_branch.instruct(
|
313
313
|
plan_step, **(execution_kwargs or {})
|
314
314
|
)
|
315
315
|
return InstructResponse(
|
@@ -355,7 +355,7 @@ async def plan(
|
|
355
355
|
print(
|
356
356
|
f"\n--- Executing step (sequential in chunk) ---\nInstruction: {snippet}"
|
357
357
|
)
|
358
|
-
resp = await local_branch.
|
358
|
+
resp = await local_branch.instruct(
|
359
359
|
plan_step, **(execution_kwargs or {})
|
360
360
|
)
|
361
361
|
chunk_result.append(
|
@@ -25,7 +25,7 @@ class ConcurrentExecutor(StrategyExecutor):
|
|
25
25
|
return await self.execute_instruct(ins_, b_, False, **kwargs)
|
26
26
|
|
27
27
|
config = {**ins.model_dump(), **kwargs}
|
28
|
-
res = await branch.
|
28
|
+
res = await branch.instruct(**config)
|
29
29
|
branch.msgs.logger.dump()
|
30
30
|
instructs = (
|
31
31
|
res.instruct_models if hasattr(res, "instruct_models") else []
|
{lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/concurrent_sequential_chunk.py
RENAMED
@@ -68,7 +68,7 @@ class ConcurrentSequentialChunkExecutor(StrategyExecutor):
|
|
68
68
|
else f"\n-----Executing Instruct {idx}-----\n{msg_}"
|
69
69
|
)
|
70
70
|
|
71
|
-
res = await self.branch.
|
71
|
+
res = await self.branch.instruct(ins_, **self.params.execute_kwargs)
|
72
72
|
return InstructResponse(instruct=ins_, response=res)
|
73
73
|
|
74
74
|
async def _execute_chunk(
|
@@ -20,7 +20,7 @@ class SequentialExecutor(StrategyExecutor):
|
|
20
20
|
for idx, item in enumerate(instructs, start=1):
|
21
21
|
if self.params.verbose:
|
22
22
|
print(f"\nExecuting step {idx}/{len(instructs)}")
|
23
|
-
out = await self.execute_branch.
|
23
|
+
out = await self.execute_branch.instruct(
|
24
24
|
item, **self.params.execute_kwargs
|
25
25
|
)
|
26
26
|
ress.append(InstructResponse(instruct=item, response=out))
|
@@ -60,7 +60,7 @@ class SequentialChunkExecutor(StrategyExecutor):
|
|
60
60
|
else:
|
61
61
|
print(f"\n-----Executing Instruct-----\n{msg_}")
|
62
62
|
|
63
|
-
res = await self.branch.
|
63
|
+
res = await self.branch.instruct(ins_, **self.params.execute_kwargs)
|
64
64
|
return InstructResponse(instruct=ins_, response=res)
|
65
65
|
|
66
66
|
async def _execute_chunk(
|
{lionagi-0.7.4 → lionagi-0.7.5}/lionagi/operatives/strategies/sequential_concurrent_chunk.py
RENAMED
@@ -71,7 +71,7 @@ class SequentialConcurrentChunkExecutor(StrategyExecutor):
|
|
71
71
|
)
|
72
72
|
|
73
73
|
branch = self.session.split(self.branch)
|
74
|
-
res = await branch.
|
74
|
+
res = await branch.instruct(ins_, **self.params.execute_kwargs)
|
75
75
|
return InstructResponse(instruct=ins_, response=res)
|
76
76
|
|
77
77
|
async def _execute_chunk(
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "0.7.5"
|
lionagi-0.7.4/lionagi/version.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "0.7.4"
|
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
|
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
|