lionagi 0.4.0__py3-none-any.whl → 0.5.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- lionagi/__init__.py +14 -46
- lionagi/core/__init__.py +3 -1
- lionagi/core/_class_registry.py +69 -0
- lionagi/core/action/__init__.py +3 -13
- lionagi/core/action/action_manager.py +287 -0
- lionagi/core/action/base.py +109 -0
- lionagi/core/action/function_calling.py +127 -92
- lionagi/core/action/tool.py +172 -70
- lionagi/core/action/types.py +16 -0
- lionagi/core/communication/__init__.py +3 -0
- lionagi/core/communication/action_request.py +163 -0
- lionagi/core/communication/action_response.py +149 -0
- lionagi/core/communication/assistant_response.py +161 -0
- lionagi/core/communication/base_mail.py +49 -0
- lionagi/core/communication/instruction.py +376 -0
- lionagi/core/communication/message.py +286 -0
- lionagi/core/communication/message_manager.py +530 -0
- lionagi/core/communication/system.py +116 -0
- lionagi/core/communication/templates/README.md +28 -0
- lionagi/core/communication/templates/action_request.jinja2 +5 -0
- lionagi/core/communication/templates/action_response.jinja2 +9 -0
- lionagi/core/communication/templates/assistant_response.jinja2 +2 -0
- lionagi/core/communication/templates/instruction_message.jinja2 +61 -0
- lionagi/core/communication/templates/system_message.jinja2 +11 -0
- lionagi/core/communication/templates/tool_schemas.jinja2 +7 -0
- lionagi/core/communication/types.py +27 -0
- lionagi/core/communication/utils.py +254 -0
- lionagi/core/forms/__init__.py +3 -0
- lionagi/core/forms/base.py +232 -0
- lionagi/core/forms/form.py +791 -0
- lionagi/core/forms/report.py +321 -0
- lionagi/core/forms/types.py +13 -0
- lionagi/core/forms/utils.py +26 -0
- lionagi/core/generic/__init__.py +3 -6
- lionagi/core/generic/component.py +422 -0
- lionagi/core/generic/edge.py +143 -101
- lionagi/core/generic/element.py +195 -0
- lionagi/core/generic/graph.py +297 -180
- lionagi/core/generic/log.py +151 -0
- lionagi/core/generic/log_manager.py +320 -0
- lionagi/core/generic/node.py +7 -229
- lionagi/core/generic/pile.py +1017 -0
- lionagi/core/generic/progression.py +388 -0
- lionagi/core/generic/types.py +23 -0
- lionagi/core/generic/utils.py +50 -0
- lionagi/core/models/__init__.py +5 -0
- lionagi/core/models/base.py +85 -0
- lionagi/core/models/field_model.py +122 -0
- lionagi/core/models/new_model_params.py +195 -0
- lionagi/core/models/note.py +351 -0
- lionagi/core/models/operable_model.py +392 -0
- lionagi/core/models/schema_model.py +50 -0
- lionagi/core/models/types.py +10 -0
- lionagi/core/session/__init__.py +3 -0
- lionagi/core/session/branch.py +115 -415
- lionagi/core/session/branch_mixins.py +507 -0
- lionagi/core/session/session.py +122 -257
- lionagi/core/session/types.py +8 -0
- lionagi/core/typing/__init__.py +9 -0
- lionagi/core/typing/concepts.py +132 -0
- lionagi/core/typing/config.py +15 -0
- lionagi/core/typing/id.py +221 -0
- lionagi/core/typing/pydantic_.py +33 -0
- lionagi/core/typing/typing_.py +54 -0
- lionagi/integrations/__init__.py +0 -1
- lionagi/integrations/anthropic_/AnthropicModel.py +268 -0
- lionagi/integrations/anthropic_/AnthropicService.py +113 -0
- lionagi/integrations/anthropic_/__init__.py +3 -0
- lionagi/integrations/anthropic_/anthropic_max_output_token_data.yaml +7 -0
- lionagi/integrations/anthropic_/anthropic_price_data.yaml +14 -0
- lionagi/integrations/anthropic_/api_endpoints/__init__.py +3 -0
- lionagi/integrations/anthropic_/api_endpoints/api_request.py +277 -0
- lionagi/integrations/anthropic_/api_endpoints/data_models.py +40 -0
- lionagi/integrations/anthropic_/api_endpoints/match_response.py +119 -0
- lionagi/integrations/anthropic_/api_endpoints/messages/__init__.py +3 -0
- lionagi/integrations/anthropic_/api_endpoints/messages/request/__init__.py +3 -0
- lionagi/integrations/anthropic_/api_endpoints/messages/request/message_models.py +14 -0
- lionagi/integrations/anthropic_/api_endpoints/messages/request/request_body.py +74 -0
- lionagi/integrations/anthropic_/api_endpoints/messages/response/content_models.py +32 -0
- lionagi/integrations/anthropic_/api_endpoints/messages/response/response_body.py +101 -0
- lionagi/integrations/anthropic_/api_endpoints/messages/response/usage_models.py +25 -0
- lionagi/integrations/anthropic_/version.py +5 -0
- lionagi/integrations/groq_/GroqModel.py +318 -0
- lionagi/integrations/groq_/GroqService.py +147 -0
- lionagi/integrations/groq_/__init__.py +3 -0
- lionagi/integrations/groq_/api_endpoints/data_models.py +187 -0
- lionagi/integrations/groq_/api_endpoints/groq_request.py +288 -0
- lionagi/integrations/groq_/api_endpoints/match_response.py +106 -0
- lionagi/integrations/groq_/api_endpoints/response_utils.py +105 -0
- lionagi/integrations/groq_/groq_max_output_token_data.yaml +21 -0
- lionagi/integrations/groq_/groq_price_data.yaml +58 -0
- lionagi/integrations/groq_/groq_rate_limits.yaml +105 -0
- lionagi/integrations/groq_/version.py +5 -0
- lionagi/integrations/litellm_/__init__.py +3 -0
- lionagi/integrations/litellm_/imodel.py +69 -0
- lionagi/integrations/ollama_/OllamaModel.py +244 -0
- lionagi/integrations/ollama_/OllamaService.py +138 -0
- lionagi/integrations/ollama_/__init__.py +3 -0
- lionagi/integrations/ollama_/api_endpoints/__init__.py +3 -0
- lionagi/integrations/ollama_/api_endpoints/api_request.py +179 -0
- lionagi/integrations/ollama_/api_endpoints/chat_completion/__init__.py +3 -0
- lionagi/integrations/ollama_/api_endpoints/chat_completion/message_models.py +31 -0
- lionagi/integrations/ollama_/api_endpoints/chat_completion/request_body.py +46 -0
- lionagi/integrations/ollama_/api_endpoints/chat_completion/response_body.py +67 -0
- lionagi/integrations/ollama_/api_endpoints/chat_completion/tool_models.py +49 -0
- lionagi/integrations/ollama_/api_endpoints/completion/request_body.py +72 -0
- lionagi/integrations/ollama_/api_endpoints/completion/response_body.py +59 -0
- lionagi/integrations/ollama_/api_endpoints/data_models.py +15 -0
- lionagi/integrations/ollama_/api_endpoints/embedding/request_body.py +33 -0
- lionagi/integrations/ollama_/api_endpoints/embedding/response_body.py +29 -0
- lionagi/integrations/ollama_/api_endpoints/match_data_model.py +62 -0
- lionagi/integrations/ollama_/api_endpoints/match_response.py +190 -0
- lionagi/integrations/ollama_/api_endpoints/model/__init__.py +3 -0
- lionagi/integrations/ollama_/api_endpoints/model/copy_model.py +13 -0
- lionagi/integrations/ollama_/api_endpoints/model/create_model.py +28 -0
- lionagi/integrations/ollama_/api_endpoints/model/delete_model.py +11 -0
- lionagi/integrations/ollama_/api_endpoints/model/list_model.py +60 -0
- lionagi/integrations/ollama_/api_endpoints/model/pull_model.py +34 -0
- lionagi/integrations/ollama_/api_endpoints/model/push_model.py +35 -0
- lionagi/integrations/ollama_/api_endpoints/model/show_model.py +36 -0
- lionagi/integrations/ollama_/api_endpoints/option_models.py +68 -0
- lionagi/integrations/openai_/OpenAIModel.py +414 -0
- lionagi/integrations/openai_/OpenAIService.py +426 -0
- lionagi/integrations/openai_/api_endpoints/__init__.py +3 -0
- lionagi/integrations/openai_/api_endpoints/api_request.py +277 -0
- lionagi/integrations/openai_/api_endpoints/audio/__init__.py +9 -0
- lionagi/integrations/openai_/api_endpoints/audio/speech_models.py +34 -0
- lionagi/integrations/openai_/api_endpoints/audio/transcription_models.py +136 -0
- lionagi/integrations/openai_/api_endpoints/audio/translation_models.py +41 -0
- lionagi/integrations/openai_/api_endpoints/audio/types.py +41 -0
- lionagi/integrations/openai_/api_endpoints/batch/__init__.py +17 -0
- lionagi/integrations/openai_/api_endpoints/batch/batch_models.py +146 -0
- lionagi/integrations/openai_/api_endpoints/batch/cancel_batch.py +7 -0
- lionagi/integrations/openai_/api_endpoints/batch/create_batch.py +26 -0
- lionagi/integrations/openai_/api_endpoints/batch/list_batch.py +37 -0
- lionagi/integrations/openai_/api_endpoints/batch/request_object_models.py +65 -0
- lionagi/integrations/openai_/api_endpoints/batch/retrieve_batch.py +7 -0
- lionagi/integrations/openai_/api_endpoints/batch/types.py +4 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/__init__.py +1 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/__init__.py +39 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/message_models.py +121 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/request_body.py +221 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/response_format.py +71 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/stream_options.py +14 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/tool_choice_models.py +17 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/tool_models.py +54 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/request/types.py +18 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/response/choice_models.py +62 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/response/function_models.py +16 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/response/log_prob_models.py +47 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/response/message_models.py +25 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/response/response_body.py +99 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/response/types.py +8 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/response/usage_models.py +24 -0
- lionagi/integrations/openai_/api_endpoints/chat_completions/util.py +46 -0
- lionagi/integrations/openai_/api_endpoints/data_models.py +23 -0
- lionagi/integrations/openai_/api_endpoints/embeddings/__init__.py +3 -0
- lionagi/integrations/openai_/api_endpoints/embeddings/request_body.py +79 -0
- lionagi/integrations/openai_/api_endpoints/embeddings/response_body.py +67 -0
- lionagi/integrations/openai_/api_endpoints/files/__init__.py +11 -0
- lionagi/integrations/openai_/api_endpoints/files/delete_file.py +20 -0
- lionagi/integrations/openai_/api_endpoints/files/file_models.py +56 -0
- lionagi/integrations/openai_/api_endpoints/files/list_files.py +27 -0
- lionagi/integrations/openai_/api_endpoints/files/retrieve_file.py +9 -0
- lionagi/integrations/openai_/api_endpoints/files/upload_file.py +38 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/__init__.py +37 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/cancel_jobs.py +9 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/create_jobs.py +133 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/fine_tuning_job_checkpoint_models.py +58 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/fine_tuning_job_event_models.py +31 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/fine_tuning_job_models.py +140 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/list_fine_tuning_checkpoints.py +51 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/list_fine_tuning_events.py +42 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/list_fine_tuning_jobs.py +31 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/retrieve_jobs.py +9 -0
- lionagi/integrations/openai_/api_endpoints/fine_tuning/training_format.py +30 -0
- lionagi/integrations/openai_/api_endpoints/images/__init__.py +9 -0
- lionagi/integrations/openai_/api_endpoints/images/image_edit_models.py +69 -0
- lionagi/integrations/openai_/api_endpoints/images/image_models.py +56 -0
- lionagi/integrations/openai_/api_endpoints/images/image_variation_models.py +56 -0
- lionagi/integrations/openai_/api_endpoints/images/response_body.py +30 -0
- lionagi/integrations/openai_/api_endpoints/match_data_model.py +197 -0
- lionagi/integrations/openai_/api_endpoints/match_response.py +336 -0
- lionagi/integrations/openai_/api_endpoints/models/__init__.py +7 -0
- lionagi/integrations/openai_/api_endpoints/models/delete_fine_tuned_model.py +17 -0
- lionagi/integrations/openai_/api_endpoints/models/models_models.py +31 -0
- lionagi/integrations/openai_/api_endpoints/models/retrieve_model.py +9 -0
- lionagi/integrations/openai_/api_endpoints/moderations/__init__.py +3 -0
- lionagi/integrations/openai_/api_endpoints/moderations/request_body.py +20 -0
- lionagi/integrations/openai_/api_endpoints/moderations/response_body.py +139 -0
- lionagi/integrations/openai_/api_endpoints/uploads/__init__.py +19 -0
- lionagi/integrations/openai_/api_endpoints/uploads/add_upload_part.py +11 -0
- lionagi/integrations/openai_/api_endpoints/uploads/cancel_upload.py +7 -0
- lionagi/integrations/openai_/api_endpoints/uploads/complete_upload.py +18 -0
- lionagi/integrations/openai_/api_endpoints/uploads/create_upload.py +17 -0
- lionagi/integrations/openai_/api_endpoints/uploads/uploads_models.py +52 -0
- lionagi/integrations/openai_/image_token_calculator/image_token_calculator.py +92 -0
- lionagi/integrations/openai_/image_token_calculator/openai_image_token_data.yaml +15 -0
- lionagi/integrations/openai_/openai_max_output_token_data.yaml +12 -0
- lionagi/integrations/openai_/openai_price_data.yaml +26 -0
- lionagi/integrations/openai_/version.py +1 -0
- lionagi/integrations/pandas_/__init__.py +24 -0
- lionagi/integrations/pandas_/extend_df.py +61 -0
- lionagi/integrations/pandas_/read.py +103 -0
- lionagi/integrations/pandas_/remove_rows.py +61 -0
- lionagi/integrations/pandas_/replace_keywords.py +65 -0
- lionagi/integrations/pandas_/save.py +131 -0
- lionagi/integrations/pandas_/search_keywords.py +69 -0
- lionagi/integrations/pandas_/to_df.py +196 -0
- lionagi/integrations/pandas_/update_cells.py +54 -0
- lionagi/integrations/perplexity_/PerplexityModel.py +269 -0
- lionagi/integrations/perplexity_/PerplexityService.py +109 -0
- lionagi/integrations/perplexity_/__init__.py +3 -0
- lionagi/integrations/perplexity_/api_endpoints/api_request.py +171 -0
- lionagi/integrations/perplexity_/api_endpoints/chat_completions/request/request_body.py +121 -0
- lionagi/integrations/perplexity_/api_endpoints/chat_completions/response/response_body.py +146 -0
- lionagi/integrations/perplexity_/api_endpoints/data_models.py +63 -0
- lionagi/integrations/perplexity_/api_endpoints/match_response.py +26 -0
- lionagi/integrations/perplexity_/perplexity_max_output_token_data.yaml +3 -0
- lionagi/integrations/perplexity_/perplexity_price_data.yaml +10 -0
- lionagi/integrations/perplexity_/version.py +1 -0
- lionagi/integrations/pydantic_/__init__.py +8 -0
- lionagi/integrations/pydantic_/break_down_annotation.py +81 -0
- lionagi/integrations/pydantic_/new_model.py +208 -0
- lionagi/integrations/services.py +17 -0
- lionagi/libs/__init__.py +0 -55
- lionagi/libs/compress/models.py +62 -0
- lionagi/libs/compress/utils.py +81 -0
- lionagi/libs/constants.py +98 -0
- lionagi/libs/file/chunk.py +265 -0
- lionagi/libs/file/file_ops.py +114 -0
- lionagi/libs/file/params.py +212 -0
- lionagi/libs/file/path.py +301 -0
- lionagi/libs/file/process.py +139 -0
- lionagi/libs/file/save.py +90 -0
- lionagi/libs/file/types.py +22 -0
- lionagi/libs/func/async_calls/__init__.py +21 -0
- lionagi/libs/func/async_calls/alcall.py +157 -0
- lionagi/libs/func/async_calls/bcall.py +82 -0
- lionagi/libs/func/async_calls/mcall.py +134 -0
- lionagi/libs/func/async_calls/pcall.py +149 -0
- lionagi/libs/func/async_calls/rcall.py +185 -0
- lionagi/libs/func/async_calls/tcall.py +114 -0
- lionagi/libs/func/async_calls/ucall.py +85 -0
- lionagi/libs/func/decorators.py +277 -0
- lionagi/libs/func/lcall.py +57 -0
- lionagi/libs/func/params.py +64 -0
- lionagi/libs/func/throttle.py +119 -0
- lionagi/libs/func/types.py +39 -0
- lionagi/libs/func/utils.py +96 -0
- lionagi/libs/package/imports.py +162 -0
- lionagi/libs/package/management.py +58 -0
- lionagi/libs/package/params.py +26 -0
- lionagi/libs/package/system.py +18 -0
- lionagi/libs/package/types.py +26 -0
- lionagi/libs/parse/__init__.py +1 -0
- lionagi/libs/parse/flatten/__init__.py +9 -0
- lionagi/libs/parse/flatten/flatten.py +168 -0
- lionagi/libs/parse/flatten/params.py +52 -0
- lionagi/libs/parse/flatten/unflatten.py +79 -0
- lionagi/libs/parse/json/__init__.py +27 -0
- lionagi/libs/parse/json/as_readable.py +104 -0
- lionagi/libs/parse/json/extract.py +102 -0
- lionagi/libs/parse/json/parse.py +179 -0
- lionagi/libs/parse/json/schema.py +227 -0
- lionagi/libs/parse/json/to_json.py +71 -0
- lionagi/libs/parse/nested/__init__.py +33 -0
- lionagi/libs/parse/nested/nfilter.py +55 -0
- lionagi/libs/parse/nested/nget.py +40 -0
- lionagi/libs/parse/nested/ninsert.py +103 -0
- lionagi/libs/parse/nested/nmerge.py +155 -0
- lionagi/libs/parse/nested/npop.py +66 -0
- lionagi/libs/parse/nested/nset.py +89 -0
- lionagi/libs/parse/nested/to_flat_list.py +64 -0
- lionagi/libs/parse/nested/utils.py +185 -0
- lionagi/libs/parse/string_parse/__init__.py +11 -0
- lionagi/libs/parse/string_parse/code_block.py +73 -0
- lionagi/libs/parse/string_parse/docstring.py +179 -0
- lionagi/libs/parse/string_parse/function_.py +92 -0
- lionagi/libs/parse/type_convert/__init__.py +19 -0
- lionagi/libs/parse/type_convert/params.py +145 -0
- lionagi/libs/parse/type_convert/to_dict.py +333 -0
- lionagi/libs/parse/type_convert/to_list.py +186 -0
- lionagi/libs/parse/type_convert/to_num.py +358 -0
- lionagi/libs/parse/type_convert/to_str.py +195 -0
- lionagi/libs/parse/types.py +9 -0
- lionagi/libs/parse/validate/__init__.py +14 -0
- lionagi/libs/parse/validate/boolean.py +96 -0
- lionagi/libs/parse/validate/keys.py +150 -0
- lionagi/libs/parse/validate/mapping.py +109 -0
- lionagi/libs/parse/validate/params.py +62 -0
- lionagi/libs/parse/xml/__init__.py +10 -0
- lionagi/libs/parse/xml/convert.py +56 -0
- lionagi/libs/parse/xml/parser.py +93 -0
- lionagi/libs/string_similarity/__init__.py +32 -0
- lionagi/libs/string_similarity/algorithms.py +219 -0
- lionagi/libs/string_similarity/matcher.py +102 -0
- lionagi/libs/string_similarity/utils.py +15 -0
- lionagi/libs/utils.py +255 -0
- lionagi/operations/__init__.py +3 -6
- lionagi/operations/brainstorm/__init__.py +3 -0
- lionagi/operations/brainstorm/brainstorm.py +204 -0
- lionagi/operations/brainstorm/prompt.py +1 -0
- lionagi/operations/plan/__init__.py +3 -0
- lionagi/operations/plan/plan.py +172 -0
- lionagi/operations/plan/prompt.py +21 -0
- lionagi/operations/select/__init__.py +3 -0
- lionagi/operations/select/prompt.py +1 -0
- lionagi/operations/select/select.py +100 -0
- lionagi/operations/select/utils.py +107 -0
- lionagi/operations/utils.py +35 -0
- lionagi/protocols/adapters/adapter.py +79 -0
- lionagi/protocols/adapters/json_adapter.py +43 -0
- lionagi/protocols/adapters/pandas_adapter.py +96 -0
- lionagi/protocols/configs/__init__.py +15 -0
- lionagi/protocols/configs/branch_config.py +86 -0
- lionagi/protocols/configs/id_config.py +15 -0
- lionagi/protocols/configs/imodel_config.py +73 -0
- lionagi/protocols/configs/log_config.py +93 -0
- lionagi/protocols/configs/retry_config.py +29 -0
- lionagi/protocols/operatives/__init__.py +15 -0
- lionagi/protocols/operatives/action.py +181 -0
- lionagi/protocols/operatives/instruct.py +196 -0
- lionagi/protocols/operatives/operative.py +182 -0
- lionagi/protocols/operatives/prompts.py +232 -0
- lionagi/protocols/operatives/reason.py +56 -0
- lionagi/protocols/operatives/step.py +217 -0
- lionagi/protocols/registries/_component_registry.py +19 -0
- lionagi/protocols/registries/_pile_registry.py +26 -0
- lionagi/service/__init__.py +13 -0
- lionagi/service/complete_request_info.py +11 -0
- lionagi/service/imodel.py +110 -0
- lionagi/service/rate_limiter.py +108 -0
- lionagi/service/service.py +37 -0
- lionagi/service/service_match_util.py +131 -0
- lionagi/service/service_util.py +72 -0
- lionagi/service/token_calculator.py +51 -0
- lionagi/settings.py +136 -0
- lionagi/strategies/base.py +53 -0
- lionagi/strategies/concurrent.py +71 -0
- lionagi/strategies/concurrent_chunk.py +43 -0
- lionagi/strategies/concurrent_sequential_chunk.py +104 -0
- lionagi/strategies/params.py +128 -0
- lionagi/strategies/sequential.py +23 -0
- lionagi/strategies/sequential_chunk.py +89 -0
- lionagi/strategies/sequential_concurrent_chunk.py +100 -0
- lionagi/strategies/types.py +21 -0
- lionagi/strategies/utils.py +49 -0
- lionagi/version.py +1 -1
- lionagi-0.5.0.dist-info/METADATA +348 -0
- lionagi-0.5.0.dist-info/RECORD +373 -0
- {lionagi-0.4.0.dist-info → lionagi-0.5.0.dist-info}/WHEEL +1 -1
- lionagi/core/_setting/_setting.py +0 -59
- lionagi/core/action/README.md +0 -20
- lionagi/core/action/manual.py +0 -1
- lionagi/core/action/node.py +0 -94
- lionagi/core/action/tool_manager.py +0 -342
- lionagi/core/agent/README.md +0 -1
- lionagi/core/agent/base_agent.py +0 -82
- lionagi/core/agent/eval/README.md +0 -1
- lionagi/core/agent/eval/evaluator.py +0 -1
- lionagi/core/agent/eval/vote.py +0 -40
- lionagi/core/agent/learn/learner.py +0 -59
- lionagi/core/agent/plan/unit_template.py +0 -1
- lionagi/core/collections/README.md +0 -23
- lionagi/core/collections/__init__.py +0 -16
- lionagi/core/collections/_logger.py +0 -312
- lionagi/core/collections/abc/README.md +0 -63
- lionagi/core/collections/abc/__init__.py +0 -53
- lionagi/core/collections/abc/component.py +0 -620
- lionagi/core/collections/abc/concepts.py +0 -277
- lionagi/core/collections/abc/exceptions.py +0 -136
- lionagi/core/collections/abc/util.py +0 -45
- lionagi/core/collections/exchange.py +0 -146
- lionagi/core/collections/flow.py +0 -416
- lionagi/core/collections/model.py +0 -465
- lionagi/core/collections/pile.py +0 -1232
- lionagi/core/collections/progression.py +0 -221
- lionagi/core/collections/util.py +0 -73
- lionagi/core/director/README.md +0 -1
- lionagi/core/director/direct.py +0 -298
- lionagi/core/director/director.py +0 -2
- lionagi/core/director/operations/select.py +0 -3
- lionagi/core/director/operations/utils.py +0 -6
- lionagi/core/engine/branch_engine.py +0 -361
- lionagi/core/engine/instruction_map_engine.py +0 -213
- lionagi/core/engine/sandbox_.py +0 -16
- lionagi/core/engine/script_engine.py +0 -89
- lionagi/core/executor/base_executor.py +0 -97
- lionagi/core/executor/graph_executor.py +0 -335
- lionagi/core/executor/neo4j_executor.py +0 -394
- lionagi/core/generic/README.md +0 -0
- lionagi/core/generic/edge_condition.py +0 -17
- lionagi/core/generic/hyperedge.py +0 -1
- lionagi/core/generic/tree.py +0 -49
- lionagi/core/generic/tree_node.py +0 -85
- lionagi/core/mail/__init__.py +0 -11
- lionagi/core/mail/mail.py +0 -26
- lionagi/core/mail/mail_manager.py +0 -185
- lionagi/core/mail/package.py +0 -49
- lionagi/core/mail/start_mail.py +0 -36
- lionagi/core/message/__init__.py +0 -18
- lionagi/core/message/action_request.py +0 -114
- lionagi/core/message/action_response.py +0 -121
- lionagi/core/message/assistant_response.py +0 -80
- lionagi/core/message/instruction.py +0 -194
- lionagi/core/message/message.py +0 -86
- lionagi/core/message/system.py +0 -71
- lionagi/core/message/util.py +0 -274
- lionagi/core/report/__init__.py +0 -4
- lionagi/core/report/base.py +0 -201
- lionagi/core/report/form.py +0 -212
- lionagi/core/report/report.py +0 -150
- lionagi/core/report/util.py +0 -15
- lionagi/core/rule/_default.py +0 -17
- lionagi/core/rule/action.py +0 -87
- lionagi/core/rule/base.py +0 -234
- lionagi/core/rule/boolean.py +0 -56
- lionagi/core/rule/choice.py +0 -48
- lionagi/core/rule/mapping.py +0 -82
- lionagi/core/rule/number.py +0 -73
- lionagi/core/rule/rulebook.py +0 -45
- lionagi/core/rule/string.py +0 -43
- lionagi/core/rule/util.py +0 -0
- lionagi/core/session/directive_mixin.py +0 -307
- lionagi/core/structure/__init__.py +0 -1
- lionagi/core/structure/chain.py +0 -1
- lionagi/core/structure/forest.py +0 -1
- lionagi/core/structure/graph.py +0 -1
- lionagi/core/structure/tree.py +0 -1
- lionagi/core/unit/__init__.py +0 -4
- lionagi/core/unit/parallel_unit.py +0 -234
- lionagi/core/unit/template/action.py +0 -65
- lionagi/core/unit/template/base.py +0 -35
- lionagi/core/unit/template/plan.py +0 -69
- lionagi/core/unit/template/predict.py +0 -95
- lionagi/core/unit/template/score.py +0 -108
- lionagi/core/unit/template/select.py +0 -91
- lionagi/core/unit/unit.py +0 -452
- lionagi/core/unit/unit_form.py +0 -290
- lionagi/core/unit/unit_mixin.py +0 -1166
- lionagi/core/unit/util.py +0 -103
- lionagi/core/validator/validator.py +0 -376
- lionagi/core/work/work.py +0 -59
- lionagi/core/work/work_edge.py +0 -102
- lionagi/core/work/work_function.py +0 -114
- lionagi/core/work/work_function_node.py +0 -50
- lionagi/core/work/work_queue.py +0 -90
- lionagi/core/work/work_task.py +0 -151
- lionagi/core/work/worker.py +0 -410
- lionagi/core/work/worker_engine.py +0 -208
- lionagi/core/work/worklog.py +0 -108
- lionagi/experimental/compressor/base.py +0 -47
- lionagi/experimental/compressor/llm_compressor.py +0 -265
- lionagi/experimental/compressor/llm_summarizer.py +0 -61
- lionagi/experimental/compressor/util.py +0 -70
- lionagi/experimental/directive/README.md +0 -1
- lionagi/experimental/directive/__init__.py +0 -19
- lionagi/experimental/directive/parser/base_parser.py +0 -294
- lionagi/experimental/directive/parser/base_syntax.txt +0 -200
- lionagi/experimental/directive/template/base_template.py +0 -71
- lionagi/experimental/directive/template/schema.py +0 -36
- lionagi/experimental/directive/tokenizer.py +0 -59
- lionagi/experimental/evaluator/README.md +0 -1
- lionagi/experimental/evaluator/ast_evaluator.py +0 -119
- lionagi/experimental/evaluator/base_evaluator.py +0 -213
- lionagi/experimental/knowledge/__init__.py +0 -0
- lionagi/experimental/knowledge/base.py +0 -10
- lionagi/experimental/knowledge/graph.py +0 -0
- lionagi/experimental/memory/__init__.py +0 -0
- lionagi/experimental/strategies/__init__.py +0 -0
- lionagi/experimental/strategies/base.py +0 -1
- lionagi/integrations/bridge/__init__.py +0 -4
- lionagi/integrations/bridge/autogen_/__init__.py +0 -0
- lionagi/integrations/bridge/autogen_/autogen_.py +0 -127
- lionagi/integrations/bridge/langchain_/__init__.py +0 -0
- lionagi/integrations/bridge/langchain_/documents.py +0 -138
- lionagi/integrations/bridge/langchain_/langchain_bridge.py +0 -68
- lionagi/integrations/bridge/llamaindex_/__init__.py +0 -0
- lionagi/integrations/bridge/llamaindex_/index.py +0 -36
- lionagi/integrations/bridge/llamaindex_/llama_index_bridge.py +0 -108
- lionagi/integrations/bridge/llamaindex_/llama_pack.py +0 -256
- lionagi/integrations/bridge/llamaindex_/node_parser.py +0 -92
- lionagi/integrations/bridge/llamaindex_/reader.py +0 -201
- lionagi/integrations/bridge/llamaindex_/textnode.py +0 -59
- lionagi/integrations/bridge/pydantic_/__init__.py +0 -0
- lionagi/integrations/bridge/pydantic_/pydantic_bridge.py +0 -7
- lionagi/integrations/bridge/transformers_/__init__.py +0 -0
- lionagi/integrations/bridge/transformers_/install_.py +0 -39
- lionagi/integrations/chunker/__init__.py +0 -0
- lionagi/integrations/chunker/chunk.py +0 -314
- lionagi/integrations/config/__init__.py +0 -4
- lionagi/integrations/config/mlx_configs.py +0 -1
- lionagi/integrations/config/oai_configs.py +0 -154
- lionagi/integrations/config/ollama_configs.py +0 -1
- lionagi/integrations/config/openrouter_configs.py +0 -74
- lionagi/integrations/langchain_/__init__.py +0 -0
- lionagi/integrations/llamaindex_/__init__.py +0 -0
- lionagi/integrations/loader/__init__.py +0 -0
- lionagi/integrations/loader/load.py +0 -257
- lionagi/integrations/loader/load_util.py +0 -214
- lionagi/integrations/provider/__init__.py +0 -11
- lionagi/integrations/provider/_mapping.py +0 -47
- lionagi/integrations/provider/litellm.py +0 -53
- lionagi/integrations/provider/mistralai.py +0 -1
- lionagi/integrations/provider/mlx_service.py +0 -55
- lionagi/integrations/provider/oai.py +0 -196
- lionagi/integrations/provider/ollama.py +0 -55
- lionagi/integrations/provider/openrouter.py +0 -170
- lionagi/integrations/provider/services.py +0 -138
- lionagi/integrations/provider/transformers.py +0 -108
- lionagi/integrations/storage/__init__.py +0 -3
- lionagi/integrations/storage/neo4j.py +0 -681
- lionagi/integrations/storage/storage_util.py +0 -302
- lionagi/integrations/storage/structure_excel.py +0 -291
- lionagi/integrations/storage/to_csv.py +0 -70
- lionagi/integrations/storage/to_excel.py +0 -91
- lionagi/libs/ln_api.py +0 -944
- lionagi/libs/ln_async.py +0 -208
- lionagi/libs/ln_context.py +0 -37
- lionagi/libs/ln_convert.py +0 -671
- lionagi/libs/ln_dataframe.py +0 -187
- lionagi/libs/ln_func_call.py +0 -1328
- lionagi/libs/ln_image.py +0 -114
- lionagi/libs/ln_knowledge_graph.py +0 -422
- lionagi/libs/ln_nested.py +0 -822
- lionagi/libs/ln_parse.py +0 -750
- lionagi/libs/ln_queue.py +0 -107
- lionagi/libs/ln_tokenize.py +0 -179
- lionagi/libs/ln_validate.py +0 -299
- lionagi/libs/special_tokens.py +0 -172
- lionagi/libs/sys_util.py +0 -710
- lionagi/lions/__init__.py +0 -0
- lionagi/lions/coder/__init__.py +0 -0
- lionagi/lions/coder/add_feature.py +0 -20
- lionagi/lions/coder/base_prompts.py +0 -22
- lionagi/lions/coder/code_form.py +0 -15
- lionagi/lions/coder/coder.py +0 -184
- lionagi/lions/coder/util.py +0 -101
- lionagi/lions/director/__init__.py +0 -0
- lionagi/lions/judge/__init__.py +0 -0
- lionagi/lions/judge/config.py +0 -8
- lionagi/lions/judge/data/__init__.py +0 -0
- lionagi/lions/judge/data/sample_codes.py +0 -526
- lionagi/lions/judge/data/sample_rurbic.py +0 -48
- lionagi/lions/judge/forms/__init__.py +0 -0
- lionagi/lions/judge/forms/code_analysis_form.py +0 -126
- lionagi/lions/judge/rubric.py +0 -34
- lionagi/lions/judge/services/__init__.py +0 -0
- lionagi/lions/judge/services/judge_code.py +0 -49
- lionagi/lions/researcher/__init__.py +0 -0
- lionagi/lions/researcher/data_source/__init__.py +0 -0
- lionagi/lions/researcher/data_source/finhub_.py +0 -192
- lionagi/lions/researcher/data_source/google_.py +0 -207
- lionagi/lions/researcher/data_source/wiki_.py +0 -98
- lionagi/lions/researcher/data_source/yfinance_.py +0 -21
- lionagi/operations/brainstorm.py +0 -87
- lionagi/operations/config.py +0 -6
- lionagi/operations/rank.py +0 -102
- lionagi/operations/score.py +0 -144
- lionagi/operations/select.py +0 -141
- lionagi-0.4.0.dist-info/METADATA +0 -241
- lionagi-0.4.0.dist-info/RECORD +0 -249
- /lionagi/{core/_setting → integrations/anthropic_/api_endpoints/messages/response}/__init__.py +0 -0
- /lionagi/{core/agent → integrations/groq_/api_endpoints}/__init__.py +0 -0
- /lionagi/{core/agent/eval → integrations/ollama_/api_endpoints/completion}/__init__.py +0 -0
- /lionagi/{core/agent/learn → integrations/ollama_/api_endpoints/embedding}/__init__.py +0 -0
- /lionagi/{core/agent/plan → integrations/openai_}/__init__.py +0 -0
- /lionagi/{core/director → integrations/openai_/api_endpoints/chat_completions/response}/__init__.py +0 -0
- /lionagi/{core/director/operations → integrations/openai_/image_token_calculator}/__init__.py +0 -0
- /lionagi/{core/engine → integrations/perplexity_/api_endpoints}/__init__.py +0 -0
- /lionagi/{core/executor → integrations/perplexity_/api_endpoints/chat_completions}/__init__.py +0 -0
- /lionagi/{core/generic/registry/component_registry → integrations/perplexity_/api_endpoints/chat_completions/request}/__init__.py +0 -0
- /lionagi/{core/rule → integrations/perplexity_/api_endpoints/chat_completions/response}/__init__.py +0 -0
- /lionagi/{core/unit/template → libs/compress}/__init__.py +0 -0
- /lionagi/{core/validator → libs/file}/__init__.py +0 -0
- /lionagi/{core/work → libs/func}/__init__.py +0 -0
- /lionagi/{experimental → libs/package}/__init__.py +0 -0
- /lionagi/{core/agent/plan/plan.py → libs/parse/params.py} +0 -0
- /lionagi/{experimental/compressor → protocols}/__init__.py +0 -0
- /lionagi/{experimental/directive/parser → protocols/adapters}/__init__.py +0 -0
- /lionagi/{experimental/directive/template → protocols/registries}/__init__.py +0 -0
- /lionagi/{experimental/evaluator → strategies}/__init__.py +0 -0
- {lionagi-0.4.0.dist-info → lionagi-0.5.0.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,373 @@
|
|
1
|
+
lionagi/__init__.py,sha256=kIVZqqp61CFddL5BbYynIPwRlg3oUbSVTnWh6QOyhaM,495
|
2
|
+
lionagi/settings.py,sha256=r3G-ihH5ehIKwsUdqSGKRwxKpXFj9v6kIaElZKQd7R4,2953
|
3
|
+
lionagi/version.py,sha256=LBK46heutvn3KmsCrKIYu8RQikbfnjZaj2xFrXaeCzQ,22
|
4
|
+
lionagi/core/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
5
|
+
lionagi/core/_class_registry.py,sha256=srSWefqCS9EZrMvyA8zCrZ9KFvzAhTIj8g6mJG5KlIc,1982
|
6
|
+
lionagi/core/action/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
7
|
+
lionagi/core/action/action_manager.py,sha256=8yNWV5x8YtaoL2A_U_5xjJdruqwWw8TLPAtq3f3DC7M,10143
|
8
|
+
lionagi/core/action/base.py,sha256=M2K3irxpp7fDwczefzZdUsHhGd_21l1xhFT9iNSbiK0,4110
|
9
|
+
lionagi/core/action/function_calling.py,sha256=7N5UFLbHPy6yvPrR6RH9SNSwt73s0X_3iAnOV8YMy0Q,6001
|
10
|
+
lionagi/core/action/tool.py,sha256=DEjfc1tABP0rPOblcKhgml9OLUQWedN7raiRuLqGxMI,6910
|
11
|
+
lionagi/core/action/types.py,sha256=KqW5ZHXssfxuf1kIiIUoj-r3KIZEoQ_GkZ04tL6fUPQ,388
|
12
|
+
lionagi/core/communication/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
13
|
+
lionagi/core/communication/action_request.py,sha256=qvrJtCmGnFLYxA9OWskygzkCSU_1lNibYYAqNQeJIz0,5000
|
14
|
+
lionagi/core/communication/action_response.py,sha256=QONcRtvV7Ympbzkdg5gnV0DqCC97Y-gvaA0D7EkjswM,4505
|
15
|
+
lionagi/core/communication/assistant_response.py,sha256=WTQjBxAckMILocaZEsOP6u1mfKr3DhYVt4K8TyAh7Ek,5760
|
16
|
+
lionagi/core/communication/base_mail.py,sha256=Et-WrHlw2x75mLIKy-wMUj3YlGGL_2BF9r1REuiZtM8,1704
|
17
|
+
lionagi/core/communication/instruction.py,sha256=Iy3G1sp0lPuA4Ak9pLobIipou4ePLsMdGGvRq6L58UU,12454
|
18
|
+
lionagi/core/communication/message.py,sha256=Truhh6NVi0bQmOqls20Y2NKM-6QIlBFfNj3Kd0EPHjU,8565
|
19
|
+
lionagi/core/communication/message_manager.py,sha256=RnSYJUnKOKBS8dfY2804Zq2sD-C5qDvBXNxXRsMfRe0,16987
|
20
|
+
lionagi/core/communication/system.py,sha256=5DoDODZePy4EDpE3oI5RpkzBXVp9WC2Mf4B3fPImItI,3824
|
21
|
+
lionagi/core/communication/types.py,sha256=rBGMpE3NW0SGKc-wJdJvT-VrO3wpjwjQhoWzSC2Dqh0,745
|
22
|
+
lionagi/core/communication/utils.py,sha256=vi9CCjS2b5JFQ91h2v_JP8xLjyy96c743GysOUUcb-0,6953
|
23
|
+
lionagi/core/communication/templates/README.md,sha256=Ch4JrKSjd85fLitAYO1OhZjNOGKHoEwaKQlcV16jiUI,1286
|
24
|
+
lionagi/core/communication/templates/action_request.jinja2,sha256=d6OmxHKyvvNDSK4bnBM3TGSUk_HeE_Q2EtLAQ0ZBEJg,120
|
25
|
+
lionagi/core/communication/templates/action_response.jinja2,sha256=Mg0UxmXlIvtP_KPB0GcJxE1TP6lml9BwdPkW1PZxkg8,142
|
26
|
+
lionagi/core/communication/templates/assistant_response.jinja2,sha256=3QyREvLTIJW6lzlHrmHdDHxee99RTh0bf5EmqrZEO4c,46
|
27
|
+
lionagi/core/communication/templates/instruction_message.jinja2,sha256=NNOngo-bUby-U0p8Z82als-lG3Hde_DW0e2WXBtg9So,1418
|
28
|
+
lionagi/core/communication/templates/system_message.jinja2,sha256=JRKJ0aFpYfaXSFouKc_N4unZ35C3yZTOWhIrIdCB5qk,215
|
29
|
+
lionagi/core/communication/templates/tool_schemas.jinja2,sha256=ozIaSDCRjIAhLyA8VM6S-YqS0w2NcctALSwx4LjDwII,126
|
30
|
+
lionagi/core/forms/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
31
|
+
lionagi/core/forms/base.py,sha256=Nk77-d7bA0b7Vxep2HKkswMxWmHueJzoMJ49Aauzwc8,7094
|
32
|
+
lionagi/core/forms/form.py,sha256=5LTnL-dSDgwvgeNXK0-igF7KnRknjey8E3qH9iUO0lk,27114
|
33
|
+
lionagi/core/forms/report.py,sha256=FXu8sQnGMF_nCHUJ4NrXoiptHQ2ON2a356RBGJDZmag,11151
|
34
|
+
lionagi/core/forms/types.py,sha256=5k8RNj87c0lHlSPrqnz4aY6--Lopg3u80qgKyRNuhuY,247
|
35
|
+
lionagi/core/forms/utils.py,sha256=sCjYRy-EJIh1py9qIb04LVgALy2YiPHbhXhNyDNwvoQ,701
|
36
|
+
lionagi/core/generic/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
37
|
+
lionagi/core/generic/component.py,sha256=_U9S8vRbbA7dwsdFbqi0V1bEunq9CIYjQz-DG8gb4w8,13773
|
38
|
+
lionagi/core/generic/edge.py,sha256=E0uw1nbviepTtmhxZjIieksE5utZo2Yk1Wn28tmRf1k,4972
|
39
|
+
lionagi/core/generic/element.py,sha256=lzAH42pqfO4-N8H03fjcKMy1prRI4tZMEDXG_Bc09zU,5722
|
40
|
+
lionagi/core/generic/graph.py,sha256=Pw-RcZyfzO6d8fKcZlsklyCVso5Ntkwb---GZG1xNuU,11916
|
41
|
+
lionagi/core/generic/log.py,sha256=6d1Zs9S_C6TxeJvAAIgrzupEwZ1x8M40Z6uGsmeFjyU,4960
|
42
|
+
lionagi/core/generic/log_manager.py,sha256=MLlY2s3_xlDTwntQPdrQOrdbc0V1qwrKpMheSU7Tt3E,10426
|
43
|
+
lionagi/core/generic/node.py,sha256=GYlc2CKVuNLns2_DL7YS2e8Z3CYGDSWsablQSHuUN3Q,236
|
44
|
+
lionagi/core/generic/pile.py,sha256=Z1u7unyJsQ5wFzRjwjJMIf8H8okr8vOdo567eX7RLFg,29501
|
45
|
+
lionagi/core/generic/progression.py,sha256=1iPOjkcjY5SaEsNvnd3y6P9t2Bb6mN8pPYtpdlNDvkM,11520
|
46
|
+
lionagi/core/generic/types.py,sha256=vcMgOD3puTETk5hpWQBYq1p31e0JnvcqAyKu8zslIdU,615
|
47
|
+
lionagi/core/generic/utils.py,sha256=PiHSrC1_0zx5R7jjPuU9GfGSKfvNTuRVDbtnXtfg0X8,1407
|
48
|
+
lionagi/core/models/__init__.py,sha256=O7nV0tedpUe7_OlUWmCcduGPFtqtzWZcR_SIOnjLsro,134
|
49
|
+
lionagi/core/models/base.py,sha256=xragc2IBqSYtIoOBJVRc2g8C3GR0gV1ipiFxclkdZWM,2554
|
50
|
+
lionagi/core/models/field_model.py,sha256=Tdj6c-w78XRtqYxftLB2MeK0-8wE2_TUCr4xYfQ6qQU,4171
|
51
|
+
lionagi/core/models/new_model_params.py,sha256=i_uVdlPZ7BeLPQhW-d1M3gunZ1ii_HWHYdNg7Gb73VY,6906
|
52
|
+
lionagi/core/models/note.py,sha256=NeEP3boq4GZqvhOZ_XvbVgSSJT87sQwh8c7KdND-nkw,9424
|
53
|
+
lionagi/core/models/operable_model.py,sha256=XhwoamKwZUMc2WympWukNvly4ssR-e58kcRMFc5gIDQ,11837
|
54
|
+
lionagi/core/models/schema_model.py,sha256=1GNCStg10VWyhqjN4ojxs9mt60T5o8I8_ZX7DupJZro,1383
|
55
|
+
lionagi/core/models/types.py,sha256=I8khSl0c-O2UgYLMss5akvIFscogjfgKTE2sT6Tg50I,270
|
56
|
+
lionagi/core/session/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
57
|
+
lionagi/core/session/branch.py,sha256=MZXmE7Ne8_CGxgS_Jo5Qak3wJdvut4ZXgF2j8zPMstc,4241
|
58
|
+
lionagi/core/session/branch_mixins.py,sha256=Li3Y4_EsqsT0c4OwzM1eh1loalAGELUiByPcKWmISAs,18226
|
59
|
+
lionagi/core/session/session.py,sha256=0DW8HoU_Eqki4UeKIaEuXWBb08N_OkxoDWQyH211M9g,5195
|
60
|
+
lionagi/core/session/types.py,sha256=MUGTSa2HWK79p7z-CG22RFP07N5AKnPVNXZwZt_wIvU,202
|
61
|
+
lionagi/core/typing/__init__.py,sha256=THyLLjX2WgKkycQPNxXWWl1BVh7XCrQMuAh8WE4UhP8,226
|
62
|
+
lionagi/core/typing/concepts.py,sha256=UBsX9ZD6IpWt-roHn7Q8-2Iw6JMHfZkYFrfhmku1sqg,2709
|
63
|
+
lionagi/core/typing/config.py,sha256=AxvPxVHwxXHH3WNXRf4rf2VIgGBeaW9MUJASL63bVyg,332
|
64
|
+
lionagi/core/typing/id.py,sha256=gIftkjFxEBLiRsn3g_p9Bo-rq6yxHwOp_12QyVn_1OE,6704
|
65
|
+
lionagi/core/typing/pydantic_.py,sha256=xMNyT0rDhSpKkEDfzj6GHobqlTtRn48svhmA75LP6gs,653
|
66
|
+
lionagi/core/typing/typing_.py,sha256=VJj5W6y-JGK1ZzSbyDs4qAuq0cA5wp5HtRgZUsZ50E0,869
|
67
|
+
lionagi/integrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
68
|
+
lionagi/integrations/services.py,sha256=qxffUaPKvp2Bb_LI3Uiyokm7l6ZAbRi0xKxZXCYs67c,498
|
69
|
+
lionagi/integrations/anthropic_/AnthropicModel.py,sha256=SOqO0xlmOZ9CMl7aEmQylXjDnHJ3c5oyR7POQLrWWGc,9064
|
70
|
+
lionagi/integrations/anthropic_/AnthropicService.py,sha256=AHwsGYkblAMqev-COgqZthAVgFrWBWiaqMmFUcxqm6M,3575
|
71
|
+
lionagi/integrations/anthropic_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
72
|
+
lionagi/integrations/anthropic_/anthropic_max_output_token_data.yaml,sha256=u_CT9UAXoNpbAWuPHMxH9g4erZW7XUwY4vdSXyE86t4,203
|
73
|
+
lionagi/integrations/anthropic_/anthropic_price_data.yaml,sha256=NCoBo5QFiBvrtztZf2FEyYvtKjIOYDuVMAVUINtp3OY,368
|
74
|
+
lionagi/integrations/anthropic_/version.py,sha256=g_pWEWcI5s734NFznrQH3zktRFXpvlB2P-8lty7inwI,135
|
75
|
+
lionagi/integrations/anthropic_/api_endpoints/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
76
|
+
lionagi/integrations/anthropic_/api_endpoints/api_request.py,sha256=JWp-m4DFFwrR13ckTMnfg2ULOJAmHDheuXDNR24vk4s,10368
|
77
|
+
lionagi/integrations/anthropic_/api_endpoints/data_models.py,sha256=qX6U9G_ZNlASyvhQ3WzgdR0kMvSWbO-kbQyo6R7pIAc,978
|
78
|
+
lionagi/integrations/anthropic_/api_endpoints/match_response.py,sha256=IFWhxD-8xyeMaOh7ql2ZMhOk2ZnCZ7ui75TnNtGoXNc,4467
|
79
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
80
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/request/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
81
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/request/message_models.py,sha256=ct_23xwKyPoG1AqzHdfsihcFMK83o_Z6jXxdbBqKBHU,381
|
82
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/request/request_body.py,sha256=2IxHV9hgi3ulv1l23zFlyD1fLlG1OjWEvyKlscBnRic,2172
|
83
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/response/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
84
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/response/content_models.py,sha256=4J40thUbg3leKZKRy7v_YmS-trW1KVXpLzevt7v3IZ8,1033
|
85
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/response/response_body.py,sha256=96e2GAAiTGkExRullvAsAOGhPPHNByhnv6DK_wz1j40,3213
|
86
|
+
lionagi/integrations/anthropic_/api_endpoints/messages/response/usage_models.py,sha256=s6oe5iOU027M7YPS10upnvcPsuFbTV1ZM00lInHPKvA,695
|
87
|
+
lionagi/integrations/groq_/GroqModel.py,sha256=8vIHjzcYoIeRvzXQpBDd-ASx6gXckr5qhmUqJJ9UL1g,11721
|
88
|
+
lionagi/integrations/groq_/GroqService.py,sha256=i3Vru3w8ktve9ISacMSWpjrnpJW_swPMzIZgbvHmxhc,4553
|
89
|
+
lionagi/integrations/groq_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
90
|
+
lionagi/integrations/groq_/groq_max_output_token_data.yaml,sha256=Y0PbyZ7pyyV1zi7ZJSJGVPsZDhSeN2JMOyghzkqqoKc,559
|
91
|
+
lionagi/integrations/groq_/groq_price_data.yaml,sha256=HmN_2-QliKvaC8Ghq7QJAD97ubMYzPSy7EGgqzgCz48,1234
|
92
|
+
lionagi/integrations/groq_/groq_rate_limits.yaml,sha256=x8hiZx_-H3ZyMznnxgFCQidWMEK5jIzBvrYpxb8gFYI,2863
|
93
|
+
lionagi/integrations/groq_/version.py,sha256=g_pWEWcI5s734NFznrQH3zktRFXpvlB2P-8lty7inwI,135
|
94
|
+
lionagi/integrations/groq_/api_endpoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
95
|
+
lionagi/integrations/groq_/api_endpoints/data_models.py,sha256=bwqAbERAT1xAzLkMKkBrHOLr-hLDcblW4pcQ5Oqmyq8,5424
|
96
|
+
lionagi/integrations/groq_/api_endpoints/groq_request.py,sha256=u-GJuu0ZsY7jMWaXtNXnud7Pw3Pxs6Cc280UnTHk3YE,10383
|
97
|
+
lionagi/integrations/groq_/api_endpoints/match_response.py,sha256=95vRKsR1QYPPmBY36dC5azdKn5UlXNRrTQqTUZro_YM,3756
|
98
|
+
lionagi/integrations/groq_/api_endpoints/response_utils.py,sha256=P5kRsGHe-Rx9xejfRcU8q680yotcWLTSaSUuqXATcho,3710
|
99
|
+
lionagi/integrations/litellm_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
100
|
+
lionagi/integrations/litellm_/imodel.py,sha256=Do8fPqdhZi6ImgfATS68imvAMyVqeouCOH5fTPCJ4Z0,2092
|
101
|
+
lionagi/integrations/ollama_/OllamaModel.py,sha256=5kBYIWShsSpQpSgOxdbRk2_4jmss6Y8iISjUcS3KoWw,8341
|
102
|
+
lionagi/integrations/ollama_/OllamaService.py,sha256=hUVnmHEFvQlwaozt6A4xQvBhOkia8AC9cEj9LmSB1i0,3989
|
103
|
+
lionagi/integrations/ollama_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
104
|
+
lionagi/integrations/ollama_/api_endpoints/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
105
|
+
lionagi/integrations/ollama_/api_endpoints/api_request.py,sha256=N3frStr_ZJmqu5WMmJXioxnXy5m10bZNwO9vjifcGVw,6843
|
106
|
+
lionagi/integrations/ollama_/api_endpoints/data_models.py,sha256=BNxn78Opw-c9bcjasqjtJb6F3yhRL_RZwXhFkFi-phc,435
|
107
|
+
lionagi/integrations/ollama_/api_endpoints/match_data_model.py,sha256=o7jakLyzMblo9AOpAm59PgjY-kjZ84Vy8lq4YJcJM98,1950
|
108
|
+
lionagi/integrations/ollama_/api_endpoints/match_response.py,sha256=5d_GPLS_7e42GQBQ2fIjmHFW1m8x3FIOTzu6yRkGG5I,6968
|
109
|
+
lionagi/integrations/ollama_/api_endpoints/option_models.py,sha256=7zdaDIA0Ym8_0zIQtIOBu5wRWfoeWE9Jo_eve2RpfvY,2035
|
110
|
+
lionagi/integrations/ollama_/api_endpoints/chat_completion/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
111
|
+
lionagi/integrations/ollama_/api_endpoints/chat_completion/message_models.py,sha256=8Gp-UlAnVLrIxjESKUr7z9JkXERMyfhdtePT8Z4h_rs,782
|
112
|
+
lionagi/integrations/ollama_/api_endpoints/chat_completion/request_body.py,sha256=BF8WoGWNR-WXqo0ZIOktdV9SISKUtin7ZX6qFXwiAPQ,1403
|
113
|
+
lionagi/integrations/ollama_/api_endpoints/chat_completion/response_body.py,sha256=35fk3-F9uu2J34QuaOvE6ssPgg9ODj7q7RlFx11iSfg,1884
|
114
|
+
lionagi/integrations/ollama_/api_endpoints/chat_completion/tool_models.py,sha256=a6WW9WuAYqk7dowQlzJeKSmu3onYQSWmrUFiznNWbjU,1412
|
115
|
+
lionagi/integrations/ollama_/api_endpoints/completion/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
116
|
+
lionagi/integrations/ollama_/api_endpoints/completion/request_body.py,sha256=Dv_yIOmmNJBqDcJYYLYZUBfXFd7KvlghGif1dH-ZYpI,2196
|
117
|
+
lionagi/integrations/ollama_/api_endpoints/completion/response_body.py,sha256=koHslBjCpKyBAot_1fXDM2nNIvQLTUXEfW-DCFCX3gk,1644
|
118
|
+
lionagi/integrations/ollama_/api_endpoints/embedding/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
119
|
+
lionagi/integrations/ollama_/api_endpoints/embedding/request_body.py,sha256=iViVA1SMtlJeE0VOAPvtrRDOpRmQ9sk2rC4yQFu9JpA,994
|
120
|
+
lionagi/integrations/ollama_/api_endpoints/embedding/response_body.py,sha256=CaLaAX1_cJHPwqatUu6FmFr8B5fIFQ5RkwMJM9CJfPg,763
|
121
|
+
lionagi/integrations/ollama_/api_endpoints/model/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
122
|
+
lionagi/integrations/ollama_/api_endpoints/model/copy_model.py,sha256=n7t8l7bmnRRWKehdAFyQruYemH49wcVFX3KhzFj5lgQ,397
|
123
|
+
lionagi/integrations/ollama_/api_endpoints/model/create_model.py,sha256=InupivJphwORnc8RUi6msSw0TYdSEtVawLObOqIp7B4,808
|
124
|
+
lionagi/integrations/ollama_/api_endpoints/model/delete_model.py,sha256=5YkFTAQRg1PMCLrP_Q2Q75ts-BJ6lkey0sK5UXnXd_g,323
|
125
|
+
lionagi/integrations/ollama_/api_endpoints/model/list_model.py,sha256=OrGdJa0evjYCAWGlsSba_u5NeK5YSSVVTNOUS95qRbE,1166
|
126
|
+
lionagi/integrations/ollama_/api_endpoints/model/pull_model.py,sha256=fiZJcQSRn73SJA9GdlfPBG5RiMISQwBc0y7S_zAlOGA,923
|
127
|
+
lionagi/integrations/ollama_/api_endpoints/model/push_model.py,sha256=yDOMVu3ajdNFT1cuzb4R_3qDxlk0qT4aM2oget3aHZ4,961
|
128
|
+
lionagi/integrations/ollama_/api_endpoints/model/show_model.py,sha256=CclV6pEmm5iYM25ePnMAiicVJmZzolDim7BsQoEJAw0,864
|
129
|
+
lionagi/integrations/openai_/OpenAIModel.py,sha256=J1X2oYdkXUJRTviAeZrsFe6p8Rqcj3Md8wPaLI8z_Ts,15725
|
130
|
+
lionagi/integrations/openai_/OpenAIService.py,sha256=P0sGnxeWPKe15_KndqCgEdM74AKVJ6NJsgFGORqqlrk,13507
|
131
|
+
lionagi/integrations/openai_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
132
|
+
lionagi/integrations/openai_/openai_max_output_token_data.yaml,sha256=3gd8TGnFjy4AdHzvsV9wZjK_r_o26pe3Th75n5eN2zs,263
|
133
|
+
lionagi/integrations/openai_/openai_price_data.yaml,sha256=O8mRk8_-MVVLMMlRRIggVirq-d91U6aNhpl9F3L7EL4,780
|
134
|
+
lionagi/integrations/openai_/version.py,sha256=Y3LSfRioSl2xch70pq_ULlvyECXyEtN3krVaWeGyaxk,22
|
135
|
+
lionagi/integrations/openai_/api_endpoints/__init__.py,sha256=Ave6AXUYRyaRqCwSS3usjr8Jvog26Rjc5HdsCPRAGLk,68
|
136
|
+
lionagi/integrations/openai_/api_endpoints/api_request.py,sha256=2hS3tEQlglgvw5Jw6c0JL5GXfQDv0gRo5TWcyTsCUJA,10567
|
137
|
+
lionagi/integrations/openai_/api_endpoints/data_models.py,sha256=Jiob2b_2W8idS-mNOjnK8cP_vbphArqoOAC6e5DXmc8,627
|
138
|
+
lionagi/integrations/openai_/api_endpoints/match_data_model.py,sha256=tJqtHzFrGrmfLtBUZwe_vx4zETsKqKX0RuYAl_63mz0,7895
|
139
|
+
lionagi/integrations/openai_/api_endpoints/match_response.py,sha256=VHzhCLvM2_JdZ7ZvoHtmiGQKF8RTRmXHwZP5kPEseT4,13304
|
140
|
+
lionagi/integrations/openai_/api_endpoints/audio/__init__.py,sha256=V_3FIdUVmHpQErJ-u8bhKoI4NYL3bAyQZvBRTL7-ujY,297
|
141
|
+
lionagi/integrations/openai_/api_endpoints/audio/speech_models.py,sha256=h6iqirvBRDcg0d1WNN_6nk1258qI-9-a6JQ2dZtGegk,998
|
142
|
+
lionagi/integrations/openai_/api_endpoints/audio/transcription_models.py,sha256=dCRPHnLp12Rbw7bB6hRzR7AuS3SFjjtvni60smlIWVM,4475
|
143
|
+
lionagi/integrations/openai_/api_endpoints/audio/translation_models.py,sha256=E0OL8IgnHr29j08rqbbNxOtTcM9eLhMvjwx94yIlTV4,1438
|
144
|
+
lionagi/integrations/openai_/api_endpoints/audio/types.py,sha256=vbfzlwXL0CKd3I8RY7moYK2aM9QLWdO3E1RjyDDTX0g,667
|
145
|
+
lionagi/integrations/openai_/api_endpoints/batch/__init__.py,sha256=FF5s2MkRHQFbsBXGX1fRfdRQoAX6CsV5PK0xXk7WQPI,542
|
146
|
+
lionagi/integrations/openai_/api_endpoints/batch/batch_models.py,sha256=jpnOeq7fLr4wN42G5Tba3D-A_FgkBHstqkf8sr1PPi4,3974
|
147
|
+
lionagi/integrations/openai_/api_endpoints/batch/cancel_batch.py,sha256=Pr0JTC9tjlSKGCrzVhlqzOIOhw-oDyMBa0j6uf5XoMg,211
|
148
|
+
lionagi/integrations/openai_/api_endpoints/batch/create_batch.py,sha256=eHsNvKdzHuMLaMyV_XP02w6WF4nUYYoSAlowmNIHNdU,717
|
149
|
+
lionagi/integrations/openai_/api_endpoints/batch/list_batch.py,sha256=qLzw2Y3PyjP8kcADL2Fu3DLDvyDpj6zBEefy1XaQ80I,1108
|
150
|
+
lionagi/integrations/openai_/api_endpoints/batch/request_object_models.py,sha256=9sGWYKwGMQMfaET6ZNj48Mbyf5Bzebnv8TYyBV11gHc,1903
|
151
|
+
lionagi/integrations/openai_/api_endpoints/batch/retrieve_batch.py,sha256=vGlA7C2OkCjfM_dgaIgeHNTSvu7mKq5_hbvfy_CFYE8,215
|
152
|
+
lionagi/integrations/openai_/api_endpoints/batch/types.py,sha256=GwKpFxRzQParSwy_HFYtuqnQLdsGe8k2mV0ASAfoMzw,128
|
153
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/__init__.py,sha256=_27ejtr09-zOmdM9D6cktMGZ6caIFbGkU7GoPw_Vwng,31
|
154
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/util.py,sha256=ljPR2AkSbYeUQ8i50NvpxSJb1mogFoTD5kaHdz416as,1631
|
155
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/__init__.py,sha256=CJ213-wPLUTWMJgd5uuKCBWdEUKnSGc4Ax3X_8tNsMw,1021
|
156
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/message_models.py,sha256=KhpO0av1N0DftS4Q9NKUUFsDq2Wle2no_wyrTDGi7xM,3413
|
157
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/request_body.py,sha256=SRy9dCVI2DA5SWZYKyFcqFEgxMkcNnL-nQffJELvXUA,7467
|
158
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/response_format.py,sha256=PZIqHBbKDMGiliX8OqsDXg343OJDmqTH0C_W8EMSSbM,2258
|
159
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/stream_options.py,sha256=dbaLwDcdSNJfLwCuixZ0gj4Y5hSUnXkzMpJ6EoxobRw,538
|
160
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/tool_choice_models.py,sha256=rgm1cFuqtgFi6zAJ7jjGq2hJM8f7IOs_iUWZYn3mp6Q,433
|
161
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/tool_models.py,sha256=UaXUknDVzXqOhO6vamz7RIDl-_K2T74KXRz9uX9VC0E,1681
|
162
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/request/types.py,sha256=GsAmDsS3UNHGUsjptcY-zP7zAHXKritbvw0omUVI22Q,268
|
163
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
164
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/choice_models.py,sha256=E2NEQJQCsVDFqom8CLdI8bwEbc1jftZbm2Mm1W7f9K4,2145
|
165
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/function_models.py,sha256=n3zcupgUrI8YhgkIyt3YDM5NBU4DTW9vqc32mUpZVBE,503
|
166
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/log_prob_models.py,sha256=nsbdaRRrH4oMG4tPQoGBdMfrbKOmAx_9VYhVUK1h9rI,1602
|
167
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/message_models.py,sha256=e4od_BOaEjNU_qYz62lsOh2jomva6rCteeaMBO_XCbY,618
|
168
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/response_body.py,sha256=pDC-fwfBJQTTWvj0UPYKxTWEbhM-IcT_OuefUVNEyq8,3102
|
169
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/types.py,sha256=4YDQWTBJaGevwYqKKqsadJlRHxMmYmVE2hMxZbvN0Ys,163
|
170
|
+
lionagi/integrations/openai_/api_endpoints/chat_completions/response/usage_models.py,sha256=LuCSlqDUlm9myIrjqw7W7v1Glx1PXWX_PPTVIZoAV1o,676
|
171
|
+
lionagi/integrations/openai_/api_endpoints/embeddings/__init__.py,sha256=Bb-Qn1JolKGgo8PWlBVsy9hhZ5Alz-836FCOd67CVJg,93
|
172
|
+
lionagi/integrations/openai_/api_endpoints/embeddings/request_body.py,sha256=L32FMiCfgYkgaVKuw1ZavQzgiS6Pme-cUOfRThHRQRk,2699
|
173
|
+
lionagi/integrations/openai_/api_endpoints/embeddings/response_body.py,sha256=h_T4WbLUTqfrNJMceXbssqgaV9lg6TPDGCK_FGcvm1I,2022
|
174
|
+
lionagi/integrations/openai_/api_endpoints/files/__init__.py,sha256=-TiA4tSajcvWGGgZDJ0ag0TQSDVfGeWlZWoI1cDz0pA,360
|
175
|
+
lionagi/integrations/openai_/api_endpoints/files/delete_file.py,sha256=3ZZ-jXnBKY_ZP9xvGgXl2VHfusVc1cdNeiC4VuDfC98,599
|
176
|
+
lionagi/integrations/openai_/api_endpoints/files/file_models.py,sha256=KR5k8584YBWN4QvpM5gKCwskKQNOrxg_7DkfymxTgs8,1497
|
177
|
+
lionagi/integrations/openai_/api_endpoints/files/list_files.py,sha256=0R1H3oOMme1-OsRWB86DXh0L7F_dyqipTh8DkoTgqzM,764
|
178
|
+
lionagi/integrations/openai_/api_endpoints/files/retrieve_file.py,sha256=ckDId7gHLhk1Zk5SLwcKjOXZu5iV325o2z0JkvrKqEs,238
|
179
|
+
lionagi/integrations/openai_/api_endpoints/files/upload_file.py,sha256=590nXwpymP3iv3W99cdYu5kNDPTLg1_Qx9FJSRDpCaA,997
|
180
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/__init__.py,sha256=7Qs2oJpEJxi7QKyrd_LH2CcHTOdJwYDo-kOp69I5xhk,1188
|
181
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/cancel_jobs.py,sha256=YPjtZhzESpiCpHlheoVW-NNm5VeblfhKz-8mdz-gj_I,258
|
182
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/create_jobs.py,sha256=pxu5N2ES9GjO2G1lnGbGqq4gxVX68F-GbfRaezFlLCU,4017
|
183
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/fine_tuning_job_checkpoint_models.py,sha256=XUTihxeQLFzunBVmNPzviQtxZbVn2yjBq9UhuNxk3QM,1784
|
184
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/fine_tuning_job_event_models.py,sha256=QT3NcubnyhAZf3dAbTZPza2seRb8epJjmUwWU1exKyw,959
|
185
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/fine_tuning_job_models.py,sha256=s1eDwn6LwO2UJvJqNEI0i--1FR8AG7ukTpM4w6YlGEI,3884
|
186
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/list_fine_tuning_checkpoints.py,sha256=CwKwdxz6vV5n_Gxq24JBKD7p5_LghWSfXKxYl59BpZ4,1505
|
187
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/list_fine_tuning_events.py,sha256=VkakE8W0hKZJt5NCxdjJ3WM-fdb2WqDKwZetpZgO-KA,1230
|
188
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/list_fine_tuning_jobs.py,sha256=06ZLaBR2SAi892FPwglM82nU8mlFl6R7dwkwsszPARw,978
|
189
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/retrieve_jobs.py,sha256=IJ2cLsVFVURMWV7ZhOdDlqeuK_F4VIRveXJNtYUc1cc,263
|
190
|
+
lionagi/integrations/openai_/api_endpoints/fine_tuning/training_format.py,sha256=Re1xAUIJvqHmCMo3ETGDPOsy6duRFyLHo09E5XsutxM,873
|
191
|
+
lionagi/integrations/openai_/api_endpoints/images/__init__.py,sha256=HGpOtgiS5Lolkphb5vWH1Gs5TLIPXn_Q-ccD9Gatlq0,293
|
192
|
+
lionagi/integrations/openai_/api_endpoints/images/image_edit_models.py,sha256=8ppou0VeXWm3sw--xilqjtfNjiz97M8kgGmWi5rzXLg,2005
|
193
|
+
lionagi/integrations/openai_/api_endpoints/images/image_models.py,sha256=1ADjKHujcj4-uOnVnn2mdFNn4LAg1OlN7bJvfXNFIRM,1429
|
194
|
+
lionagi/integrations/openai_/api_endpoints/images/image_variation_models.py,sha256=74ypZrozayfNWWDw9zBHJV4rpvunOLq7_MqlsQ1q8VY,1634
|
195
|
+
lionagi/integrations/openai_/api_endpoints/images/response_body.py,sha256=89NLWnBTiDxORJ1yCGhlMRd8RNCB79H-Ya446zkNYQA,864
|
196
|
+
lionagi/integrations/openai_/api_endpoints/models/__init__.py,sha256=C4uJL3hmq78MGoDfFK8-bNoy-6JHuN-HmvEha13HU5M,224
|
197
|
+
lionagi/integrations/openai_/api_endpoints/models/delete_fine_tuned_model.py,sha256=OR9oiwIWBjpFdWcukOa61fbv7yzg04Y9mppqjGyl2XM,570
|
198
|
+
lionagi/integrations/openai_/api_endpoints/models/models_models.py,sha256=jO24cFFaEySps1eJq0SkbMiXIbprj7WKfGXJ9ezhh1U,874
|
199
|
+
lionagi/integrations/openai_/api_endpoints/models/retrieve_model.py,sha256=FCqJr1qiT0pQ4SsUspBcKSdPIg2DPjz6pZowwYfQ5BM,238
|
200
|
+
lionagi/integrations/openai_/api_endpoints/moderations/__init__.py,sha256=qtmBSKh0VL0CTKWa-P5wUGcYGMY0-2NB_7nSuZwRZFo,97
|
201
|
+
lionagi/integrations/openai_/api_endpoints/moderations/request_body.py,sha256=1AKLRmmuaFd49nA4oZk2AYTYDqwdEHifCeFzL6GVvuE,563
|
202
|
+
lionagi/integrations/openai_/api_endpoints/moderations/response_body.py,sha256=jw-4C1rbLQA_8PL9t4k3oRQI-Zff6fVGS8V_-uZpWis,4735
|
203
|
+
lionagi/integrations/openai_/api_endpoints/uploads/__init__.py,sha256=-zMjKTvwaJXzm6lMlcM275wTQvlILxB2UzaJ8VQBj9k,533
|
204
|
+
lionagi/integrations/openai_/api_endpoints/uploads/add_upload_part.py,sha256=_ty3bTOaemL6JzsORe_mEJWNOSKSNxsqgJgjya5LkTU,366
|
205
|
+
lionagi/integrations/openai_/api_endpoints/uploads/cancel_upload.py,sha256=_--0MCuruq2el10O0HPoGDv3zTnj4FtUKB1aeBhCmGg,204
|
206
|
+
lionagi/integrations/openai_/api_endpoints/uploads/complete_upload.py,sha256=elPCj-XtY-rMLbUaDwkl8kZysm70FMiM9zZyZF9vVEA,587
|
207
|
+
lionagi/integrations/openai_/api_endpoints/uploads/create_upload.py,sha256=1RxKMgeAJxnVUz7-EtTK5c0nbMm5AQD-cj_W1Bo4rSI,479
|
208
|
+
lionagi/integrations/openai_/api_endpoints/uploads/uploads_models.py,sha256=QzmbGiuDejCD8Zxqt92fztGy8ROQS3GmlFouXsWvcik,1561
|
209
|
+
lionagi/integrations/openai_/image_token_calculator/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
210
|
+
lionagi/integrations/openai_/image_token_calculator/image_token_calculator.py,sha256=XH5RgB1ZEIGnU9Epbg4x1hO2prO0wUMun-U-iXz4u-s,3022
|
211
|
+
lionagi/integrations/openai_/image_token_calculator/openai_image_token_data.yaml,sha256=xKmjPoJGYepK9_zGMTJgjHZiFNc0MuGLm2DF3o9tv70,204
|
212
|
+
lionagi/integrations/pandas_/__init__.py,sha256=DlYvunk0IwQxpLGcro69crklbACEA9sgRLBE79yVGrs,639
|
213
|
+
lionagi/integrations/pandas_/extend_df.py,sha256=G-IpoZFE5v3bZyVl9d06lMeU7pQOqvWrjCurAoEwDiM,2261
|
214
|
+
lionagi/integrations/pandas_/read.py,sha256=vl1CpJLGVZk_RWFkTDWzlZFqdW6XU4NA1-YPA-zC3dM,3527
|
215
|
+
lionagi/integrations/pandas_/remove_rows.py,sha256=D4gr5VAkH2FhrAuHt1cICS__BFcnxLpWwaMR0K-ltlc,1495
|
216
|
+
lionagi/integrations/pandas_/replace_keywords.py,sha256=dtZBu2Wwp4Ivp8Pj2He5ZbBDOI1ZB2nG1gIWhiC342M,2068
|
217
|
+
lionagi/integrations/pandas_/save.py,sha256=HBFdPoOJG9cTC_quWw7REWvM1ino_nTD8gSQokxSsZo,3923
|
218
|
+
lionagi/integrations/pandas_/search_keywords.py,sha256=AJfN8QVu6rUni6As8AOTnzne_rDrsXp-YUduBF1f4wE,2241
|
219
|
+
lionagi/integrations/pandas_/to_df.py,sha256=3vAOCj0Ib2PZNCblg1oA20PjRIrUXR86FHICQLNhLu0,5757
|
220
|
+
lionagi/integrations/pandas_/update_cells.py,sha256=7X1bGcPvnEINrLM_zFCWUXIkrFdMGV3TjoEYBq_SThs,1658
|
221
|
+
lionagi/integrations/perplexity_/PerplexityModel.py,sha256=FfOR3WwOgZZEw97mai3D9PJS5C1jsZii2tAX5n0IR8s,9171
|
222
|
+
lionagi/integrations/perplexity_/PerplexityService.py,sha256=9Hl3Qcy0r8AqNa94dkWgY5CUSXhSFn4PBVsA6CcEOFY,3550
|
223
|
+
lionagi/integrations/perplexity_/__init__.py,sha256=v8vNyJVIVj8_Oz9RJdVe6ZKUQMYTgDh1VQpnr1KdLaw,112
|
224
|
+
lionagi/integrations/perplexity_/perplexity_max_output_token_data.yaml,sha256=SY6nDrDRhI_HzEBYHaANR_Mc5GRa0SY9Pw_wRuVBlV4,121
|
225
|
+
lionagi/integrations/perplexity_/perplexity_price_data.yaml,sha256=eyp_jZktnEbsEv9VJ0TLNzjp99VdOEA0E-el_dAzCTc,284
|
226
|
+
lionagi/integrations/perplexity_/version.py,sha256=J-j-u0itpEFT6irdmWmixQqYMadNl1X91TxUmoiLHMI,22
|
227
|
+
lionagi/integrations/perplexity_/api_endpoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
228
|
+
lionagi/integrations/perplexity_/api_endpoints/api_request.py,sha256=jcBlSkTta0HIyg-mbY_iNpSoQwuDuQKryFTb0p5JjCM,6657
|
229
|
+
lionagi/integrations/perplexity_/api_endpoints/data_models.py,sha256=kQQorMksoibGopJm5oXpoR5pH_ZyLdnpmA5xd855P2c,1689
|
230
|
+
lionagi/integrations/perplexity_/api_endpoints/match_response.py,sha256=V-pb3XFyZLS9ROo8GNx74tsO0a0HOXdUI4Xp-mwivwA,836
|
231
|
+
lionagi/integrations/perplexity_/api_endpoints/chat_completions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
232
|
+
lionagi/integrations/perplexity_/api_endpoints/chat_completions/request/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
233
|
+
lionagi/integrations/perplexity_/api_endpoints/chat_completions/request/request_body.py,sha256=6yw7qd5oMld--mUWz8X9ZzBI2rzhHJ8yKkUxJrFjyCU,4026
|
234
|
+
lionagi/integrations/perplexity_/api_endpoints/chat_completions/response/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
235
|
+
lionagi/integrations/perplexity_/api_endpoints/chat_completions/response/response_body.py,sha256=bbDa-EwbcNpaRhUNVreGym9cPZyJnI9RkdTC2XJOcfk,5028
|
236
|
+
lionagi/integrations/pydantic_/__init__.py,sha256=8ZxjXcDO10HDMZxn4sureSR4AvqjZGi6rQwH0-p7X7c,271
|
237
|
+
lionagi/integrations/pydantic_/break_down_annotation.py,sha256=q9zjhoJkvYjjpfLH_ZKbgpdDjQr8nOjubJRU_6VLRRo,2574
|
238
|
+
lionagi/integrations/pydantic_/new_model.py,sha256=MtlQ86kYeYApAxPLvsXVCDNMKQsFVUvIEcHqbY3SQ7o,6576
|
239
|
+
lionagi/libs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
240
|
+
lionagi/libs/constants.py,sha256=nxZbZVo2msiYDsWMRth_VuqVLaa4CbqaM4CAn0zYXcM,2199
|
241
|
+
lionagi/libs/utils.py,sha256=2gyPZBDMw8Zqqy4X6lxbeImdVoSmf0gZSl34mVmXH6M,7447
|
242
|
+
lionagi/libs/compress/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
243
|
+
lionagi/libs/compress/models.py,sha256=AX6BElvEnnYnCnZzTlJUXknhVGrSTpDHO7DBkSKH0v8,1773
|
244
|
+
lionagi/libs/compress/utils.py,sha256=-U54mWr9_u19BYaS_VNCPCRQQ4kDgB4x4_WNr1WGR8U,2289
|
245
|
+
lionagi/libs/file/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
246
|
+
lionagi/libs/file/chunk.py,sha256=AZjHivnG4GMG9CYRZ9opWuwjeAlMrSDFNUXGexvkxjw,8722
|
247
|
+
lionagi/libs/file/file_ops.py,sha256=lZ_yEQy1moT5zsvxvGPsxlRVmELd9Vdu4r-sik8Ev0o,3317
|
248
|
+
lionagi/libs/file/params.py,sha256=S8hZkbNsKMnOZHD2SsBtOxugCsOm2ITarKOTdKtvk7k,7102
|
249
|
+
lionagi/libs/file/path.py,sha256=VBWVrX_JjYNFaJbBXZe1WDTs0CSkXotuJJ1A36DWnV0,9184
|
250
|
+
lionagi/libs/file/process.py,sha256=9YpMD3e69q5DT9BEuNqOup0lyGG38pHlO4jEqN59dhc,5086
|
251
|
+
lionagi/libs/file/save.py,sha256=raNfzoQujjjJmbR3UZN3tlpA_1SW-aAe1qqYc0-sGck,2721
|
252
|
+
lionagi/libs/file/types.py,sha256=i8Rcd5vHU1diblFHynZkaCVkUBZVn2QRNZ9s0Kw783Q,578
|
253
|
+
lionagi/libs/func/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
254
|
+
lionagi/libs/func/decorators.py,sha256=QjGP01vrLd-8jN6NEQFPUV-5AJuJ-vN29y9VsUYl_js,9194
|
255
|
+
lionagi/libs/func/lcall.py,sha256=Kyxqab4lurd5uYLx4tmuC4tAcBpPAkHakO4So66TfDo,1601
|
256
|
+
lionagi/libs/func/params.py,sha256=y9duFaU7yQ_2cHHln8wbEGhwrKRHhjLwjHhpduEm8Rs,1909
|
257
|
+
lionagi/libs/func/throttle.py,sha256=iOOmS6i81NGRCClf4WaIhMMXwPt_rZ6WXYBqMJ_weEE,3418
|
258
|
+
lionagi/libs/func/types.py,sha256=wdjGNmY82pVACQBuDMUt3XJO0G9_wKHR7VesOeMxo_A,831
|
259
|
+
lionagi/libs/func/utils.py,sha256=-LMdUEjksXP6JjjcUBh0XEQiXF30Zmv3xpKbmXjfya8,2674
|
260
|
+
lionagi/libs/func/async_calls/__init__.py,sha256=CuMBwJxb9wzq9vcmt72LTlOqmXnBYxDY47R9Ks-6uO8,397
|
261
|
+
lionagi/libs/func/async_calls/alcall.py,sha256=9yxLmlXPh_ScfMF9H52qoIapvntvA4NLYmd51GSRLak,5825
|
262
|
+
lionagi/libs/func/async_calls/bcall.py,sha256=7lFLl39sSurK3-Tmtv_QKvhEaBrEV9pLTzKK-t90Nrs,2902
|
263
|
+
lionagi/libs/func/async_calls/mcall.py,sha256=9O5gWbBT4iIqXfcdZjgAdqsOSLWrNS4_tt6ou231ozA,4607
|
264
|
+
lionagi/libs/func/async_calls/pcall.py,sha256=6u3RJPV-3yOkWxC9iSoVFl1veFfZFJpR0QRyGtfBODI,5831
|
265
|
+
lionagi/libs/func/async_calls/rcall.py,sha256=8EtcnFYF2oQHn6Vs_zS7q-5MgfE4qWbSeyEZEBq9rj0,6188
|
266
|
+
lionagi/libs/func/async_calls/tcall.py,sha256=3Kz30kiSts6smZ_x_RRY1gBxpo8p5GwqEMnoamEbWXk,4033
|
267
|
+
lionagi/libs/func/async_calls/ucall.py,sha256=PuV4YZeSMUaSiW8lkHpeA4W-TKU2YH7KZYqx1E6O0y8,2655
|
268
|
+
lionagi/libs/package/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
269
|
+
lionagi/libs/package/imports.py,sha256=4n-5BWcPPlCiGlUK-WGAJmU-kPde2EsKrVVSkY2yQvA,4856
|
270
|
+
lionagi/libs/package/management.py,sha256=G27rlIkNqX_V1RrUBZgo-1ZTmDNoTz0jIn4LsCg9q8A,1529
|
271
|
+
lionagi/libs/package/params.py,sha256=FybIWscQcSY1QnU-ZGHSJkCrK4xzGTQIdcI_zI1aMF8,943
|
272
|
+
lionagi/libs/package/system.py,sha256=K7wNp6yMIhwM4ALVT1eP6CHqvuvoPogGXFLm3KTIdCM,451
|
273
|
+
lionagi/libs/package/types.py,sha256=jBPFsaDzKos9m0PCmNjwmX_YeP16SqqZrc63UG-N9fM,529
|
274
|
+
lionagi/libs/parse/__init__.py,sha256=DMGXIqPsmut9H5GT0ZeSzQIzYzzPwI-2gLXydpbwiV8,21
|
275
|
+
lionagi/libs/parse/params.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
276
|
+
lionagi/libs/parse/types.py,sha256=AuppKoITOpmw7HxuTzFWkcSL9qH4Og9_FYNY0dbVbZ8,230
|
277
|
+
lionagi/libs/parse/flatten/__init__.py,sha256=yApy0ruiXfjMBWsjZlwdhtQhoIdO5_GAz9VSK9IaUVo,170
|
278
|
+
lionagi/libs/parse/flatten/flatten.py,sha256=-LLJtMUpKHu91USB5lwczVNdioB7iEwRQfKo5eoPzeE,5366
|
279
|
+
lionagi/libs/parse/flatten/params.py,sha256=agNcQvYiD1l1y_XOIUjC7W8ullalOeU5eTw3K5E6_74,1723
|
280
|
+
lionagi/libs/parse/flatten/unflatten.py,sha256=57pF65jR38pOgpKhhGERhJSyTIcr2Y1DMCxt_FYwzvs,2505
|
281
|
+
lionagi/libs/parse/json/__init__.py,sha256=WB9isBCAqxcst7cOlX-u1owKBtrIiUHX51uX1GVY_N0,667
|
282
|
+
lionagi/libs/parse/json/as_readable.py,sha256=Zsz6bhzZ0OPakcxUoZASTIDBJP3JuRQZoS5tsfwd_r8,2915
|
283
|
+
lionagi/libs/parse/json/extract.py,sha256=iHQhdD6q_zXHMaamncOpO9n65z_zF8ojlU_YFjXX-bE,3297
|
284
|
+
lionagi/libs/parse/json/parse.py,sha256=tpAvzKbsCNzuJRw6trE6xmaNHvpkhjf3JcqG27gA2Oo,5019
|
285
|
+
lionagi/libs/parse/json/schema.py,sha256=p0FeQByneRUCgfAl7bu-MiqIzEMWWZk2jbbwIzNpjY8,7558
|
286
|
+
lionagi/libs/parse/json/to_json.py,sha256=A5-RYtw1G64_1IXzH5Cq7CVvFS03WcRI0uxiJmKX63s,1846
|
287
|
+
lionagi/libs/parse/nested/__init__.py,sha256=wO3nQ2NXv3KwUigo9OjzFMiFWieVBWj_8aSRzCjp1hc,666
|
288
|
+
lionagi/libs/parse/nested/nfilter.py,sha256=7zpJpxZEPJngYnp20UxOR5ty-FChthKyIV_To_UavGc,1655
|
289
|
+
lionagi/libs/parse/nested/nget.py,sha256=cpXanIvI1FtMb8-VXX_JxKhsgitukncjgCA7PAkRRMs,1169
|
290
|
+
lionagi/libs/parse/nested/ninsert.py,sha256=0G8rnmvQTIm7UeluYp7n-Utt6BukDibs5DwZx0IdGzw,3783
|
291
|
+
lionagi/libs/parse/nested/nmerge.py,sha256=LAUT3NzmFaLk4S95h6c-onqOVk7Nlw9paNuHROZwBjQ,5191
|
292
|
+
lionagi/libs/parse/nested/npop.py,sha256=UbPBtJV6W4I_c2lBoZYPy1hpe0oTy0WVab52aOw2dDg,2093
|
293
|
+
lionagi/libs/parse/nested/nset.py,sha256=BoQE5AMgsmwdAQO7NRh2wpk3z6SsWUzlfUbF_MUhm6g,3288
|
294
|
+
lionagi/libs/parse/nested/to_flat_list.py,sha256=abc3J-FuGvcaoPnVD-8hFO19bSEU2pABmGykjYq0FDw,1804
|
295
|
+
lionagi/libs/parse/nested/utils.py,sha256=bKoH1l0iownfvym9kVN0HjmGpSOcQ4OjPhePBX19FzM,5976
|
296
|
+
lionagi/libs/parse/string_parse/__init__.py,sha256=uf-5KOQ0ft6Getme3uhWnP65Nt4zZjBX9WfIMGBwjB0,282
|
297
|
+
lionagi/libs/parse/string_parse/code_block.py,sha256=bNgTeEQYwHErWRC2QpMzgXJ34ZAvUYUy3HIrdLgN4-4,2281
|
298
|
+
lionagi/libs/parse/string_parse/docstring.py,sha256=4a372yyy_nuayURsaFmQEOdSVfzx_VK6u-Wm92qdzsw,5616
|
299
|
+
lionagi/libs/parse/string_parse/function_.py,sha256=8DHOkMgM2vw3PoMRe7NdwOxKrJk-8f0dVcGW54Jdh2M,3063
|
300
|
+
lionagi/libs/parse/type_convert/__init__.py,sha256=0biuZSorpfWedrzoUOHK_X3OzaQ984QGiidMA7-kbqw,427
|
301
|
+
lionagi/libs/parse/type_convert/params.py,sha256=8dWfxemCv2AdhXDS5E_OjrhvVkP5yXYdAidsaGKjntM,4372
|
302
|
+
lionagi/libs/parse/type_convert/to_dict.py,sha256=BX5ldBIR_24MyxWnBhmuHF5KjxsXOFGcsCpAXszUjEU,9539
|
303
|
+
lionagi/libs/parse/type_convert/to_list.py,sha256=DN56_3-zsDSnHJCs0XYaQlw3yM0WFlLX5w-krI3R0io,4715
|
304
|
+
lionagi/libs/parse/type_convert/to_num.py,sha256=V5Uou1ORI6gNUkDI4FH7ajT-HL20-O9G1Uc0-M3Rxak,10864
|
305
|
+
lionagi/libs/parse/type_convert/to_str.py,sha256=C9UIarlrB5eiIyxxjeFVYhD916mNcoNyi1YBWDbGyZo,5626
|
306
|
+
lionagi/libs/parse/validate/__init__.py,sha256=vmhOf08GejSIKaVpT81Loiipl1ZUbBb6rcbryCqu6RA,350
|
307
|
+
lionagi/libs/parse/validate/boolean.py,sha256=0a3AgY84K5SJX3A_2ueoL9jbxIwYnOr13C9XNn8j5z8,2941
|
308
|
+
lionagi/libs/parse/validate/keys.py,sha256=gPhQe1fuDHVp1cOg0pVzHDf7Vo2Y3lSittrBSP7LC7Q,5225
|
309
|
+
lionagi/libs/parse/validate/mapping.py,sha256=coILj8CSpZtqxhDZU1QWNRfclaB0QGU-LoaHLuswTWM,3783
|
310
|
+
lionagi/libs/parse/validate/params.py,sha256=jCXtQ0G3m9zRIYSG1rRvSVPQ3kYyCsY5NzjZl-Qigjk,2288
|
311
|
+
lionagi/libs/parse/xml/__init__.py,sha256=RjFXVOzwW5e8EO4qAXefQH_ZoqDawFCEnTLCTPZiQOY,191
|
312
|
+
lionagi/libs/parse/xml/convert.py,sha256=9ySfrYYS4CZFot2sG6sjBkOmYruPDRXh5ndQBTnUCJg,1601
|
313
|
+
lionagi/libs/parse/xml/parser.py,sha256=Rv_Q4ZY6EZXmO8Cc_rK39fVK_sH-0_asmYuPacH1J-4,3333
|
314
|
+
lionagi/libs/string_similarity/__init__.py,sha256=Fxk4pdU8zCsty1tsnX668M3jSsWiUYYtYZL1FE-LEU4,798
|
315
|
+
lionagi/libs/string_similarity/algorithms.py,sha256=1n6hXsQBbaMG6wpgBE0EKHT2a5yspRIXfZoQYH9SlsQ,5417
|
316
|
+
lionagi/libs/string_similarity/matcher.py,sha256=ki6V0dZHASB_NulsutETUhIdxa3-9rBStC7Eglx2Vjc,3130
|
317
|
+
lionagi/libs/string_similarity/utils.py,sha256=NdD0qF5tuytWBsm0WMrH0gRBBSxw2p4-m2RQHoEAYQw,330
|
318
|
+
lionagi/operations/__init__.py,sha256=Dt7o6DFP7zVR-uxZ4xsGHQcse3XVlF6S8Y9NhaUTn_4,68
|
319
|
+
lionagi/operations/utils.py,sha256=kn5SkZRczl1aQ-vJBeVPlMdeyUUD0s5iyuAW4P6KOvQ,1164
|
320
|
+
lionagi/operations/brainstorm/__init__.py,sha256=amsoH65wepsx58DfgH-TRTN1wDH5TC24qYI_f02zkVg,61
|
321
|
+
lionagi/operations/brainstorm/brainstorm.py,sha256=zrwGlIapbwGC34rFNzLcjg4b60W3uxQT_diV36c3zdA,6273
|
322
|
+
lionagi/operations/brainstorm/prompt.py,sha256=95t8SEEzaaEj0x0l5H5HsWaHSiPn-YqH9GaxaQYX0Dw,459
|
323
|
+
lionagi/operations/plan/__init__.py,sha256=SVqoVmlSGz9lsLztm487H2qOLwgyFxSi2yZ8ubn-bgE,43
|
324
|
+
lionagi/operations/plan/plan.py,sha256=SzQ2mRDlz1qvVSYpeMQhGvDtyaweuQQlhyJCoLh3w9A,5611
|
325
|
+
lionagi/operations/plan/prompt.py,sha256=ze79yFvZ_mBz4m-nS5ly9IK2PC43xl87_hfbwfj5jkw,763
|
326
|
+
lionagi/operations/select/__init__.py,sha256=dUd-KS1l404_ueYlIQsVNhS9jAqjn5pJbtUEbbh6KlI,49
|
327
|
+
lionagi/operations/select/prompt.py,sha256=wbmuDC96fcQ4LFKjqmeErOQwVRpGWRqcwUeLTWnbeNs,186
|
328
|
+
lionagi/operations/select/select.py,sha256=2lQ8el8bQV1kaUF-r5IBfgaGhD2bvrLd9zwfqvcWYgk,3164
|
329
|
+
lionagi/operations/select/utils.py,sha256=JYx-AwR9m9KyUmCwfNm3NAQ6NKYzc3Ti_mV6_f8G_MI,3258
|
330
|
+
lionagi/protocols/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
331
|
+
lionagi/protocols/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
332
|
+
lionagi/protocols/adapters/adapter.py,sha256=pOnp30ND8rGdotJTIItXG9EDwqJuFO9zp5ShyiqPezk,2250
|
333
|
+
lionagi/protocols/adapters/json_adapter.py,sha256=yCt_GgR6WJfjFWBqeCb6HPtJ0slfepBJi8O0VUeEW8Y,936
|
334
|
+
lionagi/protocols/adapters/pandas_adapter.py,sha256=-ypnH2XAROyIjTv9yrzFpPgqwur67hWAOEubI24Ncpk,2679
|
335
|
+
lionagi/protocols/configs/__init__.py,sha256=8CFN8Lv6F0aJ4Xy7pslnpNTe18dBFaddvzOrAsZuOp0,383
|
336
|
+
lionagi/protocols/configs/branch_config.py,sha256=gUcbT0l1lh2wMoiM1RvmBYma3YdhrsF-oso3cbb9hbU,2727
|
337
|
+
lionagi/protocols/configs/id_config.py,sha256=hkYNorTUfgD3t-kGCQuxi6RGIqsUAn-0RXXxzGCiXxs,360
|
338
|
+
lionagi/protocols/configs/imodel_config.py,sha256=WEelayVt3GbgDgna-EjgQlXgJZzQOx1AlGcMrWJ2OBg,2317
|
339
|
+
lionagi/protocols/configs/log_config.py,sha256=ZPi_D2DFyVTgzoA2yEfqWXkpB0bdkf9dHZstqeNkWAE,2995
|
340
|
+
lionagi/protocols/configs/retry_config.py,sha256=pZwV-iV7YoyPpJgSJTbIXYjOKQjzudnZ7dsSOuy3ZSw,843
|
341
|
+
lionagi/protocols/operatives/__init__.py,sha256=SZElTB0uORZ8EvGpSf6thJGCbKgKjiKx9Bl8zbBUfYM,350
|
342
|
+
lionagi/protocols/operatives/action.py,sha256=BtV9MY544TxXLxskyC1Hj8Rz1dxbfcSpmFW5p8nxlIg,4741
|
343
|
+
lionagi/protocols/operatives/instruct.py,sha256=ZTxaFep2XUtv2Dgb3hwD4qf-IVPKHrBHsvXHYPJxcak,5198
|
344
|
+
lionagi/protocols/operatives/operative.py,sha256=ejoOBEnxUOgPx_tj-cAm_al-mH3MWF5D5sXJ0SAlDGM,7111
|
345
|
+
lionagi/protocols/operatives/prompts.py,sha256=1H22Xyv-HQzaZq54v10d_iwdLR7hy5X4lobBdU2aXZY,8871
|
346
|
+
lionagi/protocols/operatives/reason.py,sha256=rVTMuDzwqSr3wYXsPXYY5pU7iQNy9qeBkcYGZN-Z-ZU,1328
|
347
|
+
lionagi/protocols/operatives/step.py,sha256=gX-ahLbsaHPvrIINnOH19IUx2BBXt14n1GpMjeSaZ2I,8652
|
348
|
+
lionagi/protocols/registries/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
349
|
+
lionagi/protocols/registries/_component_registry.py,sha256=MRA8bAgmjqNsFUnzq1I7JuqOGQa1WZrkzWeHq59pY_I,453
|
350
|
+
lionagi/protocols/registries/_pile_registry.py,sha256=iHiQsd0dapzu7L2YA-VPo7qAw6gjWdDETKe_zh1zhHk,543
|
351
|
+
lionagi/service/__init__.py,sha256=xuMab03l9QSeBmq0GXjkTE-Oh2R10l0aful5swKrjas,296
|
352
|
+
lionagi/service/complete_request_info.py,sha256=V9cWqmQ-fo952EWCooAvezaM_xuxYU4Xy0Jo_0XJnug,301
|
353
|
+
lionagi/service/imodel.py,sha256=gObNmi7tTOZRS639YuAtB1oy8XcXIZUusZJ815LAGm0,3758
|
354
|
+
lionagi/service/rate_limiter.py,sha256=1cCtKfpOo_8h4ZN-oX5HXtnq0iGjF1rxi8htyu65kMU,3746
|
355
|
+
lionagi/service/service.py,sha256=uN9mBrZeV-MDOovqNU4kjRjOhGVtxJOJKTgYNO0QDuc,986
|
356
|
+
lionagi/service/service_match_util.py,sha256=Re2zJgqsBV9LnDcn5N9pUGMQB_O8-jCTR3ZH6-nxFds,4301
|
357
|
+
lionagi/service/service_util.py,sha256=z0tU_wAgWq_gDfm_QeNfDbrsmseumoNxVQ1bEpOCBzg,2985
|
358
|
+
lionagi/service/token_calculator.py,sha256=6FQ7GvCq4nBo_7QbNyekYJmQrVIzL0CNwiztK3QSR3M,1486
|
359
|
+
lionagi/strategies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
360
|
+
lionagi/strategies/base.py,sha256=xDsX5-LOypAJ65F1_Tk9Gqows7DFxgL_xoXvNUC7OwU,1723
|
361
|
+
lionagi/strategies/concurrent.py,sha256=_prVllDu6WRreUn9nqBHclOXf8NrvfrewTAqH2nGLwI,2592
|
362
|
+
lionagi/strategies/concurrent_chunk.py,sha256=NhJBbt83pQvhS9GDyRknr9PprGGb2KcPEQZhQdDj5Ro,1582
|
363
|
+
lionagi/strategies/concurrent_sequential_chunk.py,sha256=eTOdbOIlkfwiX-CYyEtJ9_-o0F6I19ORN7IyIQxrzIE,3529
|
364
|
+
lionagi/strategies/params.py,sha256=aHfeoaOiyIYx-CXbbo_NbWdyoeC4kU8lzpBPMT2N4So,4826
|
365
|
+
lionagi/strategies/sequential.py,sha256=pd6MQwCeHDJzC9cNwC6LDtPmrutD_gAo46sOlO_CJR0,822
|
366
|
+
lionagi/strategies/sequential_chunk.py,sha256=jG_WZXG-Ra3yd30CmX4b3XeCNAUrZGA2-i8pSPZGZy0,3032
|
367
|
+
lionagi/strategies/sequential_concurrent_chunk.py,sha256=H7GShaqYlD5XxNJMG2GdOR4Vl8JHDhZb5jxNq8zY0hI,3365
|
368
|
+
lionagi/strategies/types.py,sha256=fEvE4d1H4SeCcXcd2dz3q4k8jFIBtxYzjxDN7eJRLtI,769
|
369
|
+
lionagi/strategies/utils.py,sha256=DX1dvxia8cNRqEJJbssJ3mgRzo7kgWCTA4y5DYLCCZE,1281
|
370
|
+
lionagi-0.5.0.dist-info/METADATA,sha256=OuNuC0O5DostwQRd5b2H11jASoX_tKE7Q-fuzXRGC-U,17275
|
371
|
+
lionagi-0.5.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
372
|
+
lionagi-0.5.0.dist-info/licenses/LICENSE,sha256=VXFWsdoN5AAknBCgFqQNgPWYx7OPp-PFEP961zGdOjc,11288
|
373
|
+
lionagi-0.5.0.dist-info/RECORD,,
|
@@ -1,59 +0,0 @@
|
|
1
|
-
# TODO
|
2
|
-
|
3
|
-
# import csv
|
4
|
-
# import json
|
5
|
-
# import threading
|
6
|
-
# from contextlib import contextmanager
|
7
|
-
|
8
|
-
|
9
|
-
# class Settings:
|
10
|
-
# def __init__(self):
|
11
|
-
# self._lock = threading.Lock()
|
12
|
-
# self._config = {}
|
13
|
-
# self._default_service = None
|
14
|
-
|
15
|
-
# def load_from_json(self, file_path):
|
16
|
-
# with self._lock:
|
17
|
-
# with open(file_path, "r") as file:
|
18
|
-
# self._config = json.load(file)
|
19
|
-
|
20
|
-
# def save_to_json(self, file_path):
|
21
|
-
# with self._lock:
|
22
|
-
# with open(file_path, "w") as file:
|
23
|
-
# json.dump(self._config, file, indent=4)
|
24
|
-
|
25
|
-
# def load_default_service(self, file_path):
|
26
|
-
# with self._lock:
|
27
|
-
# with open(file_path, "r") as file:
|
28
|
-
# reader = csv.DictReader(file)
|
29
|
-
# self._default_service = next(reader)
|
30
|
-
|
31
|
-
# def save_default_service(self, file_path):
|
32
|
-
# with self._lock:
|
33
|
-
# fieldnames = ["provider", "api_key", "rate_limit"]
|
34
|
-
# with open(file_path, "w", newline="") as file:
|
35
|
-
# writer = csv.DictWriter(file, fieldnames=fieldnames)
|
36
|
-
# writer.writeheader()
|
37
|
-
# writer.writerow(self._default_service)
|
38
|
-
|
39
|
-
# @contextmanager
|
40
|
-
# def service_context(self, provider=None, api_key=None, rate_limit=None):
|
41
|
-
# with self._lock:
|
42
|
-
# service_config = {
|
43
|
-
# "provider": provider or self._default_service["provider"],
|
44
|
-
# "api_key": api_key or self._default_service["api_key"],
|
45
|
-
# "rate_limit": rate_limit or self._default_service["rate_limit"],
|
46
|
-
# }
|
47
|
-
# yield service_config
|
48
|
-
|
49
|
-
# def get_config(self, key):
|
50
|
-
# with self._lock:
|
51
|
-
# return self._config.get(key)
|
52
|
-
|
53
|
-
# def set_config(self, key, value):
|
54
|
-
# with self._lock:
|
55
|
-
# self._config[key] = value
|
56
|
-
|
57
|
-
|
58
|
-
# # Singleton instance
|
59
|
-
# lionagi_settings = Settings()
|
lionagi/core/action/README.md
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
# Action Folder
|
2
|
-
|
3
|
-
The `action` folder contains various modules designed to facilitate dynamic function invocation and tool management within the system. Each module provides specific functionalities, which are briefly described below:
|
4
|
-
|
5
|
-
## Modules
|
6
|
-
|
7
|
-
### function_calling.py
|
8
|
-
This module defines the `FunctionCalling` class, which supports dynamic invocation of functions based on different input types such as tuples, dictionaries, `ActionRequest` objects, or JSON strings. It enables seamless function calls by creating instances based on the provided input format and invoking the corresponding functions asynchronously.
|
9
|
-
|
10
|
-
### tool_manager.py
|
11
|
-
The `ToolManager` class is defined in this module. It manages tools in the system, allowing for the registration, invocation, and retrieval of tool schemas. Tools can be registered individually or in batches and invoked using various input formats including function names, JSON strings, or specialized objects like `FunctionCalling`.
|
12
|
-
|
13
|
-
### tool.py
|
14
|
-
This module contains the `Tool` class, representing a tool with capabilities for pre-processing, post-processing, and parsing function results. It allows for the definition of callable functions, optional pre-processors, post-processors, and parsers to handle function results. The `Tool` class ensures flexible and reusable tool definitions within the system.
|
15
|
-
|
16
|
-
## Usage Guide
|
17
|
-
|
18
|
-
- **function_calling.py**: Use this module when you need to dynamically invoke functions based on varying input formats. It simplifies function calls by creating a standardized interface for different types of function descriptions.
|
19
|
-
- **tool_manager.py**: Utilize the `ToolManager` class to manage your system's tools. It provides methods for registering tools, invoking them, and retrieving their schemas, making it a central point for tool management.
|
20
|
-
- **tool.py**: Define individual tools using the `Tool` class, specifying any necessary pre-processing or post-processing steps. This module is essential for creating robust and flexible tools that can be easily integrated into the system.
|
lionagi/core/action/manual.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# TODO
|
lionagi/core/action/node.py
DELETED
@@ -1,94 +0,0 @@
|
|
1
|
-
from pydantic import Field
|
2
|
-
|
3
|
-
from lionagi.core.collections.abc import Actionable
|
4
|
-
from lionagi.core.generic.node import Node
|
5
|
-
|
6
|
-
from .tool import Tool
|
7
|
-
|
8
|
-
|
9
|
-
class DirectiveSelection(Node, Actionable):
|
10
|
-
"""
|
11
|
-
Represents a directive selection node which can be invoked to perform an action.
|
12
|
-
|
13
|
-
Attributes:
|
14
|
-
directive (str): The action to be performed, with a default value of "chat".
|
15
|
-
directive_kwargs (dict): The arguments for the action.
|
16
|
-
|
17
|
-
Methods:
|
18
|
-
invoke(): An asynchronous method to perform the action defined by the directive.
|
19
|
-
"""
|
20
|
-
|
21
|
-
directive: str = Field(
|
22
|
-
"chat", description="The action to be performed", alias="action_type"
|
23
|
-
)
|
24
|
-
directive_kwargs: dict = Field(
|
25
|
-
default_factory=dict,
|
26
|
-
description="The arguments for the action",
|
27
|
-
alias="action_arguments",
|
28
|
-
)
|
29
|
-
|
30
|
-
async def invoke(self):
|
31
|
-
"""
|
32
|
-
Perform the action defined by the directive.
|
33
|
-
|
34
|
-
This method is intended to be overridden by subclasses to provide specific
|
35
|
-
implementation details for the action.
|
36
|
-
"""
|
37
|
-
pass
|
38
|
-
|
39
|
-
|
40
|
-
class ActionNode(DirectiveSelection):
|
41
|
-
"""
|
42
|
-
Represents an action node that can invoke actions within a branch using tools and instructions.
|
43
|
-
|
44
|
-
Attributes:
|
45
|
-
tools (list[Tool] | Tool | None): The tools to be used in the action.
|
46
|
-
instruction (Node): The instruction for the action.
|
47
|
-
|
48
|
-
Methods:
|
49
|
-
invoke(branch, context=None): An asynchronous method to invoke the action
|
50
|
-
within the given branch.
|
51
|
-
"""
|
52
|
-
|
53
|
-
tools: list[Tool] | Tool | None = Field(
|
54
|
-
default_factory=list,
|
55
|
-
description="The tools to be used in the action",
|
56
|
-
alias="tool",
|
57
|
-
)
|
58
|
-
instruction: Node = Field(
|
59
|
-
..., description="The instruction for the action", alias="instruct"
|
60
|
-
)
|
61
|
-
|
62
|
-
async def invoke(self, branch, context=None):
|
63
|
-
"""
|
64
|
-
Invoke the action within the given branch.
|
65
|
-
|
66
|
-
Args:
|
67
|
-
branch: The branch in which to perform the action.
|
68
|
-
context: Optional; Additional context for the action.
|
69
|
-
|
70
|
-
Returns:
|
71
|
-
The result of the action, depending on the directive.
|
72
|
-
|
73
|
-
Raises:
|
74
|
-
ValueError: If the directive is not "chat" or "direct".
|
75
|
-
"""
|
76
|
-
if self.directive == "chat":
|
77
|
-
return await branch.chat(
|
78
|
-
instruction=self.instruction.instruct,
|
79
|
-
tools=self.tools,
|
80
|
-
**self.directive_kwargs,
|
81
|
-
)
|
82
|
-
elif self.directive == "direct":
|
83
|
-
if self.tools:
|
84
|
-
self.directive_kwargs["allow_action"] = True
|
85
|
-
return await branch.direct(
|
86
|
-
instruction=self.instruction.instruct,
|
87
|
-
context=context,
|
88
|
-
tools=self.tools,
|
89
|
-
**self.directive_kwargs,
|
90
|
-
)
|
91
|
-
else:
|
92
|
-
raise ValueError(
|
93
|
-
'Invalid directive, valid directives are: "chat", "direct"'
|
94
|
-
)
|