langwatch 0.2.10__tar.gz → 0.2.11__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langwatch-0.2.10 → langwatch-0.2.11}/Makefile +2 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/PKG-INFO +5 -3
- langwatch-0.2.11/examples/opentelemetry/openllmetry_crewai_bot.py +143 -0
- langwatch-0.2.11/examples/prompt_management_fastapi.py +112 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/pyproject.toml +6 -4
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/__init__.py +14 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/__version__.py +1 -1
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/attributes.py +4 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/batch_evaluation.py +11 -2
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/api/default/delete_api_scenario_events.py +183 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_prompts_by_id.py +22 -1
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_prompts_by_id_versions.py +21 -16
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/api/default/get_index.py +146 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_prompts.py +51 -10
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_prompts_by_id_sync.py +230 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_scenario_events.py +229 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/api/default/post_index.py +175 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/put_api_prompts_by_id.py +26 -4
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/__init__.py +933 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_400.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_401.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_404.py +12 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_500.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_scenario_events_response_200.py +81 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_scenario_events_response_400.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_scenario_events_response_401.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_scenario_events_response_500.py +70 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_400.py +1 -12
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_401.py +1 -12
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_404.py +1 -12
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_500.py +1 -12
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200.py +334 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_demonstrations_inline.py +93 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_inputs_item.py +69 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_inputs_item_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_inputs_item_type.py +1 -1
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_outputs_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_outputs_item.py +17 -19
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_outputs_item_json_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_outputs_item_json_schema.py +5 -5
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_outputs_item_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_outputs_item_type.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_prompting_technique.py +90 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_prompting_technique_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_prompting_technique_demonstrations_inline.py +95 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_prompting_technique_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_prompting_technique_demonstrations_inline_records.py +53 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format.py +104 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format_type_0_json_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format_json_schema_type_0.py +12 -12
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format_type_0_json_schema_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format_json_schema_type_0_schema.py +5 -5
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format_type_0_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format_type.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_scope.py +9 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_400.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_401.py +15 -6
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_404.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_500.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item.py +354 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_demonstrations_inline.py +93 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_demonstrations_inline_records.py +53 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_inputs_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_inputs_item.py +10 -10
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_inputs_item_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_inputs_item_type.py +1 -1
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_messages_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_messages_item.py +10 -10
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_messages_item_role.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_messages_item_role.py +1 -1
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_outputs_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_outputs_item.py +18 -18
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_outputs_item_json_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_outputs_item_json_schema.py +5 -5
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_outputs_item_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_outputs_item_type.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_prompting_technique.py +92 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_prompting_technique_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_prompting_technique_demonstrations_inline.py +98 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_prompting_technique_demonstrations_inline_column_types_item.py +158 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_prompting_technique_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_response_format.py +106 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_response_format_json_schema_type_0.py +77 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_response_format_json_schema_type_0_schema.py +44 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_response_format_type.py +8 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_item_scope.py +9 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_400.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_401.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_404.py +12 -1
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_500.py +12 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item.py +332 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_demonstrations_inline.py +93 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_inputs_item.py +69 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_inputs_item_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_inputs_item_type.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_outputs_item.py +96 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_outputs_item_json_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_outputs_item_json_schema.py +5 -5
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_outputs_item_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_outputs_item_type.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_prompting_technique.py +90 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_prompting_technique_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_prompting_technique_demonstrations_inline.py +95 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_prompting_technique_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_prompting_technique_demonstrations_inline_records.py +53 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format.py +104 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format_type_0_json_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format_json_schema_type_0.py +12 -12
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format_type_0_json_schema_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format_json_schema_type_0_schema.py +5 -5
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format_type_0_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format_type.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_scope.py +9 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_400.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_401.py +15 -6
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_500.py +70 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item.py +61 -23
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item_messages_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item_messages_item_role.py +10 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format_type_0.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item_response_format_type_0.py +17 -17
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_demonstrations_columns_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item_response_format_type_0_json_schema.py +21 -23
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item_response_format_type_0_json_schema_schema.py +44 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format_type_0_type.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item_response_format_type_0_type.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_200_item_scope.py +9 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_500.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_400.py +5 -5
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_500.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_401.py +5 -5
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_404.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/get_index_response_500.py +5 -5
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body.py +196 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_inputs_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_inputs_item_type.py +16 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_messages_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_messages_item_role.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_outputs_item.py +92 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_outputs_item_type.py +11 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_400_error.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_schema_version.py +2 -2
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body_scope.py +9 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body.py +85 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data.py +226 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_demonstrations_inline.py +93 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_demonstrations_inline_records.py +53 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_inputs_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_inputs_item.py +10 -10
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_inputs_item_type.py +16 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_messages_item.py +71 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_messages_item_role.py +10 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_outputs_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_outputs_item.py +18 -18
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_outputs_item_type.py +11 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_prompting_technique.py +92 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_prompting_technique_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_prompting_technique_demonstrations_inline.py +98 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_prompting_technique_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_prompting_technique_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_response_format.py +104 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_response_format_json_schema_type_0.py +77 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_response_format_json_schema_type_0_schema.py +44 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_body_config_data_response_format_type.py +8 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200.py +106 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_action.py +11 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info.py +95 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data.py +242 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_demonstrations.py +96 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_demonstrations_inline.py +98 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_demonstrations_inline_column_types_item.py +156 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_inputs_item.py +71 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_inputs_item_type.py +16 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_messages_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_messages_item.py +10 -10
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_messages_item_role.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_messages_item_role.py +1 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_outputs_item.py +102 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_outputs_item_type.py +11 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_prompting_technique.py +99 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_prompting_technique_demonstrations.py +105 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_prompting_technique_demonstrations_inline.py +103 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_prompting_technique_demonstrations_inline_column_types_item.py +157 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_prompting_technique_demonstrations_inline_records.py +54 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_response_format.py +116 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_response_format_json_schema_type_0.py +85 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_response_format_json_schema_type_0_schema.py +46 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_conflict_info_remote_config_data_response_format_type.py +8 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt.py +352 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_demonstrations_inline.py +93 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_demonstrations_inline_records.py +53 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_inputs_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_inputs_item.py +10 -10
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_inputs_item_type.py +16 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_messages_item.py +71 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_messages_item_role.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_outputs_item.py +98 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_outputs_item_type.py +11 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_prompting_technique.py +92 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_prompting_technique_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_prompting_technique_demonstrations_inline.py +98 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_prompting_technique_demonstrations_inline_column_types_item.py +158 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_prompting_technique_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_response_format.py +106 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_response_format_json_schema_type_0.py +77 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_response_format_json_schema_type_0_schema.py +44 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_response_format_type.py +8 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_200_prompt_scope.py +9 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_400.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_401.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_sync_response_500.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200.py +328 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_demonstrations_inline.py +93 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_inputs_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_inputs_item_type.py +16 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_outputs_item.py +96 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_outputs_item_type.py +11 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_prompting_technique.py +90 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_prompting_technique_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_prompting_technique_demonstrations_inline.py +95 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_prompting_technique_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_prompting_technique_demonstrations_inline_records.py +53 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format.py +100 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format_type_0_json_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format_json_schema_type_0.py +12 -12
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format_type_0_json_schema_schema.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format_json_schema_type_0_schema.py +5 -5
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_response_format_type.py +8 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_scope.py +9 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_400.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_401.py +15 -6
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_409.py +67 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_500.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_0.py +127 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_0_metadata.py +68 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_1.py +164 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_1_results_type_0.py +98 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_1_results_type_0_verdict.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_1_status.py +13 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2.py +245 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2_messages_item_type_0.py +88 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2_messages_item_type_1.py +88 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2_messages_item_type_2.py +120 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2_messages_item_type_2_tool_calls_item.py +87 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2_messages_item_type_2_tool_calls_item_function.py +11 -19
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2_messages_item_type_3.py +88 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_body_type_2_messages_item_type_4.py +85 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_response_201.py +81 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_500.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_response_400.py +5 -5
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_response_401.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_api_scenario_events_response_500.py +70 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body.py +163 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_inputs_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_inputs_item_type.py +16 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_messages_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_messages_item_role.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_outputs_item.py +92 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_outputs_item_type.py +11 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_body_scope.py +9 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200.py +59 -25
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200_messages_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200_messages_item_role.py +10 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_response_format_type_0.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200_response_format_type_0.py +16 -18
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200_response_format_type_0_json_schema.py +77 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200_response_format_type_0_json_schema_schema.py +44 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200_response_format_type_0_type.py +8 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_200_scope.py +9 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_500.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_400.py +5 -5
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_401.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/post_index_response_500.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body.py +214 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_inputs_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_inputs_item_type.py +16 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_messages_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_messages_item_role.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_outputs_item.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_outputs_item_type.py +11 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_400_error.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_schema_version.py +2 -2
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body_scope.py +9 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200.py +334 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_demonstrations_inline.py +93 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_demonstrations_inline_records.py +51 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_inputs_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_inputs_item_type.py +16 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_messages_item.py +69 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_messages_item_role.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_outputs_item.py +96 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_outputs_item_json_schema.py +59 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_outputs_item_type.py +11 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_prompting_technique.py +90 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_prompting_technique_demonstrations.py +94 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_prompting_technique_demonstrations_inline.py +95 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_prompting_technique_demonstrations_inline_column_types_item.py +154 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_prompting_technique_demonstrations_inline_records.py +53 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_prompting_technique_type.py +10 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_response_format.py +104 -0
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_demonstrations_columns_item.py → langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_response_format_json_schema_type_0.py +21 -23
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_response_format_json_schema_type_0_schema.py +44 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_response_format_type.py +8 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_200_scope.py +9 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_400.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_401.py +15 -6
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_404.py +12 -1
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_409.py +67 -0
- langwatch-0.2.11/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_422.py +70 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_500.py +12 -1
- langwatch-0.2.11/src/langwatch/prompts/__init__.py +5 -0
- langwatch-0.2.11/src/langwatch/prompts/decorators/prompt_service_tracing.py +59 -0
- langwatch-0.2.11/src/langwatch/prompts/decorators/prompt_tracing.py +88 -0
- langwatch-0.2.11/src/langwatch/prompts/errors.py +150 -0
- {langwatch-0.2.10/src/langwatch/prompt → langwatch-0.2.11/src/langwatch/prompts}/formatter.py +5 -3
- langwatch-0.2.11/src/langwatch/prompts/prompt.py +192 -0
- langwatch-0.2.11/src/langwatch/prompts/service.py +265 -0
- langwatch-0.2.11/src/langwatch/prompts/types.py +24 -0
- langwatch-0.2.11/tests/fixtures/__init__.py +5 -0
- langwatch-0.2.11/tests/fixtures/get_response_factories.py +70 -0
- langwatch-0.2.11/tests/fixtures/span_exporter.py +97 -0
- langwatch-0.2.11/tests/prompts/test_prompt.py +109 -0
- {langwatch-0.2.10/tests → langwatch-0.2.11/tests/prompts}/test_prompt_formatter.py +9 -11
- langwatch-0.2.11/tests/prompts/test_prompt_service_tracing.py +46 -0
- langwatch-0.2.11/tests/prompts/test_prompt_tracing.py +133 -0
- langwatch-0.2.11/uv.lock +6429 -0
- langwatch-0.2.10/examples/openai_bot_prompt.py +0 -54
- langwatch-0.2.10/examples/openai_bot_prompt_async.py +0 -53
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_prompts_by_id_versions.py +0 -241
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/__init__.py +0 -393
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_400_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_401_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_response_format_type_0.py +0 -81
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_400_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_401_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200.py +0 -155
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data.py +0 -180
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_demonstrations.py +0 -101
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_demonstrations_columns_item_type.py +0 -18
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_200_config_data_demonstrations_rows_item.py +0 -59
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_400_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_versions_response_401_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item.py +0 -172
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_401_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_body.py +0 -59
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body.py +0 -147
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data.py +0 -183
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_demonstrations.py +0 -106
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_demonstrations_columns_item_type.py +0 -18
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_body_config_data_demonstrations_rows_item.py +0 -59
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200.py +0 -155
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data.py +0 -182
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_demonstrations.py +0 -101
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_demonstrations_columns_item.py +0 -79
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_demonstrations_columns_item_type.py +0 -18
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_demonstrations_rows_item.py +0 -59
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_messages_item.py +0 -71
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_200_config_data_messages_item_role.py +0 -10
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_400.py +0 -61
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_400_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_401.py +0 -61
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_401_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_404.py +0 -59
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_by_id_versions_response_500.py +0 -59
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_401_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_body.py +0 -59
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_400_error.py +0 -8
- langwatch-0.2.10/src/langwatch/generated/langwatch_rest_api_client/models/put_api_prompts_by_id_response_401_error.py +0 -8
- langwatch-0.2.10/src/langwatch/prompt/__init__.py +0 -7
- langwatch-0.2.10/src/langwatch/prompt/get_prompt.py +0 -137
- langwatch-0.2.10/src/langwatch/prompt/prompt.py +0 -65
- langwatch-0.2.10/uv.lock +0 -7309
- {langwatch-0.2.10 → langwatch-0.2.11}/.editorconfig +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/.env.example +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/.gitignore +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/README.md +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/azure_openai_stream_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/custom_evaluation_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/data/rag_dspy_bot.json +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/distributed_tracing.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/documentation/openai_langwatch.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/documentation/openai_openinference.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/dspy_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/dspy_visualization.ipynb +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/evaluation_manual_call.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/fastapi_app.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_async_streaming.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_exception.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_rag.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_rag_expected_output.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_rag_multithreaded.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_span_context_manager.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_span_low_level.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_streaming.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_sync_function.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/generic_bot_update_metadata_later.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/guardrails.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/guardrails_parallel.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/guardrails_without_tracing.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/haystack_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/langchain_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/langchain_bot_with_memory.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/langchain_rag_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/langchain_rag_bot_vertex_ai.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/langchain_rag_bot_with_threads.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/langgraph_rag_bot_with_threads.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/langwatch_docs_rag_evaluation.ipynb +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/litellm_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/offline_evaluation.ipynb +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/openai_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/openai_bot_disable_trace.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/openai_bot_function_call.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/openai_bot_max_string_length.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/openai_bot_max_string_length_none.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/openai_bot_rag.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/openai_bot_sampling_rate.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openinference_dspy_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openinference_haystack.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openinference_langchain_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openinference_openai_assistants_api_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openinference_openai_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openllmetry_anthropic_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openllmetry_langchain_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/openllmetry_openai_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/opentelemetry/traditional_instrumentation_fastapi_app.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/pdf_parsing_evaluation.ipynb +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/sanity/setup_example.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/span_evaluation.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/strands_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/streamlit_openai_assistants_api_bot.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/weaviate_dspy_visualization.ipynb +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/weaviate_setup/.gitignore +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/weaviate_setup/Weaviate-Import.ipynb +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/weaviate_setup/docker-compose.yml +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/weaviate_setup/optimization_screenshot.png +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/examples/weaviate_setup/tracing_screenshot.png +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/client.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/dataset/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/domain/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/dspy/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/evaluation/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/evaluation/evaluation.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/evaluations.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/exporters/filterable_batch_span_exporter.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/delete_api_annotations_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/delete_api_prompts_by_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_annotations.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_annotations_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_annotations_trace_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_dataset_by_slug_or_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_prompts.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/get_api_trace_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/patch_api_annotations_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_annotations_trace_id.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_dataset_by_slug_entries.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_trace_id_share.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/default/post_api_trace_id_unshare.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/traces/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/api/traces/post_api_trace_search.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/client.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/errors.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/annotation.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/dataset_post_entries.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/dataset_post_entries_entries_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_annotations_id_response_200.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/delete_api_prompts_by_id_response_200.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/error.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/evaluation.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/evaluation_timestamps.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_200.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_200_data_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_200_data_item_entry.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_dataset_by_slug_or_id_response_422.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_messages_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_by_id_response_200_messages_item_role.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_messages_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_prompts_response_200_item_messages_item_role.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_error_type_0.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_evaluations_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_evaluations_item_error.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_evaluations_item_timestamps.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_input.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_metadata.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_metrics.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_output.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_error_type_0.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_input.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_input_value_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_metrics.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_output.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_output_value_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_params.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_spans_item_timestamps.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/get_api_trace_id_response_200_timestamps.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/input_.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/metadata.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/metrics.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/output.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/pagination.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/patch_api_annotations_id_body.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/patch_api_annotations_id_response_200.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/post_api_annotations_trace_id_body.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_messages_item.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/post_api_prompts_response_200_messages_item_role.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/post_api_trace_id_share_response_200.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/post_api_trace_id_unshare_response_200.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/search_request.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/search_request_filters.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/search_response.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/timestamps.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/models/trace.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/py.typed +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/generated/langwatch_rest_api_client/types.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/guardrails.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/langchain.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/litellm.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/login.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/openai.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/py.typed +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/state.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/telemetry/context.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/telemetry/sampling.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/telemetry/span.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/telemetry/tracing.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/telemetry/types.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/tracer.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/types.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/utils/__init__.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/utils/capture.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/utils/exceptions.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/utils/initialization.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/utils/module.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/utils/transformation.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/src/langwatch/utils/utils.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/tests/exporters/test_filterable_batch_span_exporter.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/tests/telemetry/test_context.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/tests/telemetry/test_tracing.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/tests/test_client.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/tests/test_examples.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/tests/test_login.py +0 -0
- {langwatch-0.2.10 → langwatch-0.2.11}/tests/test_version.py +0 -0
|
@@ -42,6 +42,8 @@ ensure-openapi-python-client:
|
|
|
42
42
|
fi
|
|
43
43
|
|
|
44
44
|
generate/api-client: ensure-openapi-python-client
|
|
45
|
+
@echo "Deleting old API client..."
|
|
46
|
+
@rm -rf src/langwatch/generated/langwatch_rest_api_client
|
|
45
47
|
@echo "Building API client..."
|
|
46
48
|
@mkdir -p .tmp/api-client
|
|
47
49
|
uv run openapi-python-client generate \
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langwatch
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.11
|
|
4
4
|
Summary: LangWatch Python SDK, for monitoring your LLMs
|
|
5
5
|
Author-email: Langwatch Engineers <engineering@langwatch.ai>
|
|
6
6
|
License: MIT
|
|
@@ -9,12 +9,11 @@ Classifier: Intended Audience :: Developers
|
|
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
15
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
17
|
-
Requires-Python:
|
|
16
|
+
Requires-Python: <3.13,>=3.10
|
|
18
17
|
Requires-Dist: coolname>=2.2.0
|
|
19
18
|
Requires-Dist: deprecated>=1.2.18
|
|
20
19
|
Requires-Dist: dspy-ai<3.0.0,>=2.5.2
|
|
@@ -27,7 +26,9 @@ Requires-Dist: openinference-instrumentation-openai>=0.1.25
|
|
|
27
26
|
Requires-Dist: openinference-semantic-conventions>=0.1.17
|
|
28
27
|
Requires-Dist: opentelemetry-api>=1.32.1
|
|
29
28
|
Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.32.1
|
|
29
|
+
Requires-Dist: opentelemetry-instrumentation-crewai>=0.45.0
|
|
30
30
|
Requires-Dist: opentelemetry-sdk>=1.32.1
|
|
31
|
+
Requires-Dist: python-liquid>=2.0.2
|
|
31
32
|
Requires-Dist: retry>=0.9.2
|
|
32
33
|
Requires-Dist: termcolor>=3.0.1
|
|
33
34
|
Provides-Extra: dev
|
|
@@ -35,6 +36,7 @@ Requires-Dist: ruff>=0.11.1; extra == 'dev'
|
|
|
35
36
|
Provides-Extra: dspy
|
|
36
37
|
Requires-Dist: dspy-ai<3.0.0,>=2.5.2; extra == 'dspy'
|
|
37
38
|
Provides-Extra: tests
|
|
39
|
+
Requires-Dist: factory-boy<4.0.0,>=3.3.0; extra == 'tests'
|
|
38
40
|
Requires-Dist: pytest-asyncio<0.22.0,>=0.21.1; extra == 'tests'
|
|
39
41
|
Requires-Dist: pytest<8.0.0,>=7.4.2; extra == 'tests'
|
|
40
42
|
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"""
|
|
2
|
+
CrewAI Integration Examples with OpenLLMetry and LangWatch
|
|
3
|
+
|
|
4
|
+
This file demonstrates how to integrate CrewAI with LangWatch using OpenLLMetry instrumentation.
|
|
5
|
+
|
|
6
|
+
Installation Requirements:
|
|
7
|
+
pip install crewai
|
|
8
|
+
pip install opentelemetry-instrumentation-crewai
|
|
9
|
+
pip install langwatch
|
|
10
|
+
|
|
11
|
+
For more information, see: https://docs.langwatch.ai/integration/python/integrations/crew-ai
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
import os
|
|
15
|
+
from dotenv import load_dotenv
|
|
16
|
+
|
|
17
|
+
import langwatch
|
|
18
|
+
import chainlit as cl
|
|
19
|
+
|
|
20
|
+
load_dotenv()
|
|
21
|
+
|
|
22
|
+
from opentelemetry.instrumentation.crewai import CrewAIInstrumentor
|
|
23
|
+
|
|
24
|
+
# Setup LangWatch with OpenLLMetry CrewAI instrumentor
|
|
25
|
+
langwatch.setup(instrumentors=[CrewAIInstrumentor()])
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# Example CrewAI agents and tasks
|
|
29
|
+
def create_planning_crew():
|
|
30
|
+
"""Create a planning crew for event organization"""
|
|
31
|
+
try:
|
|
32
|
+
from crewai import Agent, Task, Crew
|
|
33
|
+
|
|
34
|
+
planner = Agent(
|
|
35
|
+
role="Event Planner",
|
|
36
|
+
goal="Plan an engaging tech conference",
|
|
37
|
+
backstory="An experienced planner with a passion for technology events.",
|
|
38
|
+
)
|
|
39
|
+
task_planner = Task(
|
|
40
|
+
description="Outline the agenda for a 3-day AI conference.",
|
|
41
|
+
agent=planner,
|
|
42
|
+
expected_output="A detailed 3-day conference agenda with session topics, speakers, and timing.",
|
|
43
|
+
)
|
|
44
|
+
conference_crew = Crew(agents=[planner], tasks=[task_planner])
|
|
45
|
+
return conference_crew
|
|
46
|
+
|
|
47
|
+
except ImportError as e:
|
|
48
|
+
return None
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def create_market_analysis_crew():
|
|
52
|
+
"""Create a market analysis crew"""
|
|
53
|
+
try:
|
|
54
|
+
from crewai import Agent, Task, Crew
|
|
55
|
+
|
|
56
|
+
researcher = Agent(
|
|
57
|
+
role="Market Analyst",
|
|
58
|
+
goal="Analyze market trends in AI",
|
|
59
|
+
backstory="A skilled analyst with deep understanding of technology markets.",
|
|
60
|
+
)
|
|
61
|
+
task_analyst = Task(
|
|
62
|
+
description="Analyze current AI market trends and provide insights.",
|
|
63
|
+
agent=researcher,
|
|
64
|
+
expected_output="A comprehensive market analysis report with key trends, insights, and recommendations.",
|
|
65
|
+
)
|
|
66
|
+
analysis_crew = Crew(agents=[researcher], tasks=[task_analyst])
|
|
67
|
+
return analysis_crew
|
|
68
|
+
|
|
69
|
+
except ImportError as e:
|
|
70
|
+
return None
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
@cl.on_message
|
|
74
|
+
async def main(message: cl.Message):
|
|
75
|
+
"""Main chainlit handler for CrewAI examples"""
|
|
76
|
+
msg = cl.Message(content="")
|
|
77
|
+
|
|
78
|
+
# Check if CrewAI is available
|
|
79
|
+
try:
|
|
80
|
+
import crewai
|
|
81
|
+
except ImportError:
|
|
82
|
+
await msg.stream_token(
|
|
83
|
+
"❌ CrewAI is not installed. Please install it with: pip install crewai"
|
|
84
|
+
)
|
|
85
|
+
await msg.update()
|
|
86
|
+
return
|
|
87
|
+
|
|
88
|
+
# Check if OpenLLMetry instrumentation is available
|
|
89
|
+
try:
|
|
90
|
+
from opentelemetry.instrumentation.crewai import CrewAIInstrumentor
|
|
91
|
+
except ImportError:
|
|
92
|
+
await msg.stream_token(
|
|
93
|
+
"❌ OpenLLMetry CrewAI instrumentation is not installed. Please install it with: pip install opentelemetry-instrumentation-crewai"
|
|
94
|
+
)
|
|
95
|
+
await msg.update()
|
|
96
|
+
return
|
|
97
|
+
|
|
98
|
+
await msg.stream_token(
|
|
99
|
+
"🤖 Setting up CrewAI with OpenLLMetry instrumentation...\n\n"
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
# Create and run the planning crew
|
|
103
|
+
await msg.stream_token("📅 Creating event planning crew...\n")
|
|
104
|
+
planning_crew = create_planning_crew()
|
|
105
|
+
|
|
106
|
+
if planning_crew is None:
|
|
107
|
+
await msg.stream_token(
|
|
108
|
+
"❌ Failed to create planning crew. Please check your CrewAI installation.\n"
|
|
109
|
+
)
|
|
110
|
+
await msg.update()
|
|
111
|
+
return
|
|
112
|
+
|
|
113
|
+
await msg.stream_token("📝 Planning crew created successfully!\n")
|
|
114
|
+
await msg.stream_token("🚀 Starting conference planning process...\n\n")
|
|
115
|
+
|
|
116
|
+
# Run the crew with LangWatch tracing
|
|
117
|
+
with langwatch.trace(name="CrewAI Planning Process with OpenLLMetry"):
|
|
118
|
+
try:
|
|
119
|
+
result = planning_crew.kickoff()
|
|
120
|
+
await msg.stream_token(
|
|
121
|
+
f"✅ Conference planning completed!\n\n📊 Results:\n{result}\n"
|
|
122
|
+
)
|
|
123
|
+
except Exception as e:
|
|
124
|
+
await msg.stream_token(f"❌ Error during planning: {str(e)}\n")
|
|
125
|
+
|
|
126
|
+
await msg.stream_token(
|
|
127
|
+
"\n🎯 This example demonstrates CrewAI integration with OpenLLMetry instrumentation via LangWatch.\n"
|
|
128
|
+
)
|
|
129
|
+
await msg.stream_token(
|
|
130
|
+
"📈 All agent interactions, task executions, and LLM calls are automatically traced and can be viewed in your LangWatch dashboard.\n"
|
|
131
|
+
)
|
|
132
|
+
|
|
133
|
+
await msg.update()
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
@cl.on_chat_start
|
|
137
|
+
async def on_chat_start():
|
|
138
|
+
"""Initialize the chat session"""
|
|
139
|
+
await cl.Message(
|
|
140
|
+
content="🤖 Welcome to CrewAI with OpenLLMetry! This example demonstrates how CrewAI agents work with LangWatch telemetry.\n\n"
|
|
141
|
+
"💡 Ask any question to see the planning crew in action, or just say 'hello' to get started!\n\n"
|
|
142
|
+
"📅 The crew will plan a tech conference agenda, with all operations automatically traced."
|
|
143
|
+
).send()
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Example demonstrating LangWatch prompt management operations.
|
|
3
|
+
|
|
4
|
+
This example shows how to:
|
|
5
|
+
1. Create a new prompt
|
|
6
|
+
2. Retrieve and use a prompt
|
|
7
|
+
3. Update a prompt
|
|
8
|
+
4. Use the updated prompt
|
|
9
|
+
5. Delete a prompt
|
|
10
|
+
|
|
11
|
+
Run this example with:
|
|
12
|
+
python examples/prompt_management.py
|
|
13
|
+
"""
|
|
14
|
+
|
|
15
|
+
from dotenv import load_dotenv
|
|
16
|
+
import langwatch
|
|
17
|
+
import uuid
|
|
18
|
+
from openai import OpenAI
|
|
19
|
+
|
|
20
|
+
load_dotenv()
|
|
21
|
+
|
|
22
|
+
client = OpenAI()
|
|
23
|
+
|
|
24
|
+
# Initialize LangWatch (ensure you have LANGWATCH_API_KEY set)
|
|
25
|
+
langwatch.setup(debug=True)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
@langwatch.span()
|
|
29
|
+
def example():
|
|
30
|
+
# Autotrack OpenAI calls
|
|
31
|
+
langwatch.get_current_trace().autotrack_openai_calls(client)
|
|
32
|
+
|
|
33
|
+
print("=== LangWatch Prompt Management Example ===\n")
|
|
34
|
+
|
|
35
|
+
# 1. Create a new prompt
|
|
36
|
+
print("1. Creating a new prompt...")
|
|
37
|
+
short_uuid = str(uuid.uuid4())[:8]
|
|
38
|
+
prompt = langwatch.prompts.create(
|
|
39
|
+
handle=f"something/example_prompt_{short_uuid}",
|
|
40
|
+
scope="PROJECT", # optional - 'ORGANIZATION' or 'PROJECT'
|
|
41
|
+
author_id=None, # optional
|
|
42
|
+
prompt="You are a helpful assistant. Specialize in {{subject}}.", # optional
|
|
43
|
+
messages=[ # optional -- you cannot set a system message and a prompt at the same time
|
|
44
|
+
{"role": "user", "content": "{{question}}"},
|
|
45
|
+
],
|
|
46
|
+
inputs=[{"identifier": "question", "type": "str"}], # optional
|
|
47
|
+
outputs=[
|
|
48
|
+
{"identifier": "answer", "type": "str", "json_schema": {"type": "str"}}
|
|
49
|
+
], # optional
|
|
50
|
+
)
|
|
51
|
+
print(f"Created prompt with id: {prompt.id}")
|
|
52
|
+
print(f"Created prompt with handle: {prompt.handle}")
|
|
53
|
+
|
|
54
|
+
# 2. Get and use the prompt
|
|
55
|
+
print("2. Retrieving the prompt...")
|
|
56
|
+
retrieved_prompt = langwatch.prompts.get(prompt.handle)
|
|
57
|
+
print(f"Retrieved prompt: {retrieved_prompt.handle}")
|
|
58
|
+
|
|
59
|
+
# Use the prompt (example usage)
|
|
60
|
+
print("Using the prompt...")
|
|
61
|
+
|
|
62
|
+
# Compile the prompt with variables
|
|
63
|
+
compiled_prompt = retrieved_prompt.compile(
|
|
64
|
+
question="What is the capital of France?"
|
|
65
|
+
)
|
|
66
|
+
print(f"Compiled prompt: {compiled_prompt.prompt}")
|
|
67
|
+
print(f"Compiled prompt messages: {compiled_prompt.messages}")
|
|
68
|
+
|
|
69
|
+
# 3. Update the prompt
|
|
70
|
+
print("3. Updating the prompt...")
|
|
71
|
+
updated_prompt = langwatch.prompts.update(
|
|
72
|
+
prompt.handle,
|
|
73
|
+
handle=f"updated_example_prompt_{short_uuid}", # optional
|
|
74
|
+
scope="PROJECT", # optional - 'ORGANIZATION' or 'PROJECT'
|
|
75
|
+
prompt="You are obsessed with {{subject}} and talk in CAPS.", # optional
|
|
76
|
+
)
|
|
77
|
+
print(f"Updated prompt name: {updated_prompt.name}")
|
|
78
|
+
print(f"Prompt ID remains: {updated_prompt.id}")
|
|
79
|
+
|
|
80
|
+
# 4. Use the updated prompt
|
|
81
|
+
print("Using the updated prompt...")
|
|
82
|
+
|
|
83
|
+
# Compile the updated prompt to show the difference
|
|
84
|
+
updated_compiled = updated_prompt.compile_strict(
|
|
85
|
+
subject="quantum computing", question="How does it work in 10 words or less?"
|
|
86
|
+
)
|
|
87
|
+
print(f"Updated compiled prompt: {updated_compiled.prompt}")
|
|
88
|
+
print(f"Updated compiled prompt messages: {updated_compiled.messages}")
|
|
89
|
+
|
|
90
|
+
# This is where you would use the prompt in your application
|
|
91
|
+
# For example, you could use the prompt to generate a response
|
|
92
|
+
response = client.chat.completions.create(
|
|
93
|
+
model=updated_compiled.model.split("openai/")[1],
|
|
94
|
+
messages=updated_compiled.messages,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
print(f"Response: {response.choices[0].message.content}")
|
|
98
|
+
|
|
99
|
+
# 5. Delete the prompt
|
|
100
|
+
print("5. Deleting the prompt...")
|
|
101
|
+
result = langwatch.prompts.delete(updated_prompt.handle)
|
|
102
|
+
print(f"Deletion result: {result}")
|
|
103
|
+
print("Prompt management example completed successfully!")
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
@langwatch.trace()
|
|
107
|
+
def main():
|
|
108
|
+
example()
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
if __name__ == "__main__":
|
|
112
|
+
main()
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "langwatch"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.11" # remember to also update it in src/langwatch/__version__.py
|
|
4
4
|
description = "LangWatch Python SDK, for monitoring your LLMs"
|
|
5
5
|
authors = [{ name = "Langwatch Engineers", email = "engineering@langwatch.ai" }]
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.10,<3.13"
|
|
7
7
|
license = { text = "MIT" }
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
classifiers = [
|
|
@@ -12,7 +12,7 @@ classifiers = [
|
|
|
12
12
|
"License :: OSI Approved :: MIT License",
|
|
13
13
|
"Operating System :: OS Independent",
|
|
14
14
|
"Programming Language :: Python :: 3",
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
"Programming Language :: Python :: 3.10",
|
|
17
17
|
"Programming Language :: Python :: 3.11",
|
|
18
18
|
"Programming Language :: Python :: 3.12",
|
|
@@ -32,15 +32,17 @@ dependencies = [
|
|
|
32
32
|
"opentelemetry-api>=1.32.1",
|
|
33
33
|
"opentelemetry-exporter-otlp-proto-http>=1.32.1",
|
|
34
34
|
"opentelemetry-sdk>=1.32.1",
|
|
35
|
+
"opentelemetry-instrumentation-crewai>=0.45.0",
|
|
35
36
|
"retry>=0.9.2",
|
|
36
37
|
"termcolor>=3.0.1",
|
|
37
38
|
"deprecated>=1.2.18",
|
|
39
|
+
"python-liquid>=2.0.2",
|
|
38
40
|
]
|
|
39
41
|
|
|
40
42
|
[project.optional-dependencies]
|
|
41
43
|
dspy = ["dspy-ai>=2.5.2,<3.0.0"]
|
|
42
44
|
dev = ["ruff>=0.11.1"]
|
|
43
|
-
tests = ["pytest>=7.4.2,<8.0.0", "pytest-asyncio>=0.21.1,<0.22.0"]
|
|
45
|
+
tests = ["pytest>=7.4.2,<8.0.0", "pytest-asyncio>=0.21.1,<0.22.0", "factory-boy>=3.3.0,<4.0.0"]
|
|
44
46
|
|
|
45
47
|
[build-system]
|
|
46
48
|
requires = ["hatchling"]
|
|
@@ -12,12 +12,18 @@ from .utils.initialization import ensure_setup, setup
|
|
|
12
12
|
# Type hints for IntelliSense (only imported for typing)
|
|
13
13
|
from typing import TYPE_CHECKING
|
|
14
14
|
|
|
15
|
+
# Type hints for IntelliSense (only imported for typing)
|
|
15
16
|
if TYPE_CHECKING:
|
|
16
17
|
import langwatch.evaluations as evaluations
|
|
17
18
|
import langwatch.evaluation as evaluation
|
|
18
19
|
import langwatch.dataset as dataset
|
|
19
20
|
import langwatch.dspy as dspy
|
|
20
21
|
import langwatch.langchain as langchain
|
|
22
|
+
from .prompts.service import PromptService
|
|
23
|
+
|
|
24
|
+
# Type hint for the prompts service specifically
|
|
25
|
+
# required to get the instance typing correct
|
|
26
|
+
prompts: PromptService
|
|
21
27
|
|
|
22
28
|
|
|
23
29
|
@module_property
|
|
@@ -54,6 +60,13 @@ def __getattr__(name: str):
|
|
|
54
60
|
# Cache it in the module globals for subsequent access
|
|
55
61
|
globals()[name] = module
|
|
56
62
|
return module
|
|
63
|
+
elif name == "prompts":
|
|
64
|
+
# Special-case: expose a PromptService instance at langwatch.prompts
|
|
65
|
+
from .prompts.service import PromptService
|
|
66
|
+
|
|
67
|
+
svc = PromptService.from_global()
|
|
68
|
+
globals()[name] = svc # Cache for subsequent access
|
|
69
|
+
return svc
|
|
57
70
|
|
|
58
71
|
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
|
|
59
72
|
|
|
@@ -140,4 +153,5 @@ __all__ = [
|
|
|
140
153
|
"evaluations",
|
|
141
154
|
"langchain",
|
|
142
155
|
"dspy",
|
|
156
|
+
"prompts",
|
|
143
157
|
]
|
|
@@ -72,9 +72,13 @@ class AttributeKey:
|
|
|
72
72
|
LangWatchEventEvaluationCustom = "langwatch.evaluation.custom"
|
|
73
73
|
LangWatchEventEvaluationLog = "langwatch.evaluation.log"
|
|
74
74
|
|
|
75
|
+
# LangWatch Prompt attributes
|
|
75
76
|
LangWatchPromptId = "langwatch.prompt.id"
|
|
77
|
+
LangWatchPromptHandle = "langwatch.prompt.handle"
|
|
76
78
|
LangWatchPromptVersionId = "langwatch.prompt.version.id"
|
|
77
79
|
LangWatchPromptVersionNumber = "langwatch.prompt.version.number"
|
|
80
|
+
LangWatchPromptVariables = "langwatch.prompt.variables"
|
|
81
|
+
LangWatchPromptSelectedId = "langwatch.prompt.selected.id"
|
|
78
82
|
|
|
79
83
|
# Deprecated attributes
|
|
80
84
|
DeprecatedTraceId = "deprecated.trace.id"
|
|
@@ -108,6 +108,7 @@ class BatchEvaluation:
|
|
|
108
108
|
experiment: Optional[str] = None,
|
|
109
109
|
run_id: Optional[str] = None,
|
|
110
110
|
max_workers=4,
|
|
111
|
+
settings: Optional[dict[str, Any]] = None,
|
|
111
112
|
):
|
|
112
113
|
self.dataset = dataset
|
|
113
114
|
self.evaluations = evaluations
|
|
@@ -119,7 +120,7 @@ class BatchEvaluation:
|
|
|
119
120
|
self.total = 0
|
|
120
121
|
self.progress = 0
|
|
121
122
|
self.created_at = int(time.time() * 1000)
|
|
122
|
-
|
|
123
|
+
self.settings = settings or {}
|
|
123
124
|
self.lock = threading.Lock()
|
|
124
125
|
self.batch = {"dataset": [], "evaluations": []}
|
|
125
126
|
self.last_sent = 0
|
|
@@ -244,7 +245,9 @@ class BatchEvaluation:
|
|
|
244
245
|
|
|
245
246
|
coroutines: list[Coroutine[Tuple[str, SingleEvaluationResult], Any, Any]] = []
|
|
246
247
|
for evaluation in self.evaluations:
|
|
247
|
-
coroutines.append(
|
|
248
|
+
coroutines.append(
|
|
249
|
+
run_evaluation(entry_with_output, evaluation, error, self.settings)
|
|
250
|
+
)
|
|
248
251
|
|
|
249
252
|
async def gather_results(futures):
|
|
250
253
|
evaluation_results = await asyncio.gather(*futures)
|
|
@@ -331,6 +334,7 @@ class BatchEvaluation:
|
|
|
331
334
|
"evaluations": self.batch["evaluations"],
|
|
332
335
|
"progress": self.progress,
|
|
333
336
|
"total": self.total,
|
|
337
|
+
"settings": self.settings,
|
|
334
338
|
"timestamps": {
|
|
335
339
|
"created_at": self.created_at,
|
|
336
340
|
},
|
|
@@ -382,6 +386,7 @@ async def run_evaluation(
|
|
|
382
386
|
data: DatasetEntry,
|
|
383
387
|
evaluation: str,
|
|
384
388
|
error: Optional[Exception] = None,
|
|
389
|
+
settings: Optional[Dict[str, Any]] = None,
|
|
385
390
|
) -> Tuple[str, SingleEvaluationResult]:
|
|
386
391
|
if error:
|
|
387
392
|
return evaluation, EvaluationResultSkipped(
|
|
@@ -395,6 +400,10 @@ async def run_evaluation(
|
|
|
395
400
|
"data": data.model_dump(),
|
|
396
401
|
}
|
|
397
402
|
|
|
403
|
+
# Include settings if provided
|
|
404
|
+
if settings:
|
|
405
|
+
json_data["settings"] = settings
|
|
406
|
+
|
|
398
407
|
request_params = {
|
|
399
408
|
"url": langwatch.get_endpoint() + f"/api/evaluations/{evaluation}/evaluate",
|
|
400
409
|
"headers": {"X-Auth-Token": langwatch.get_api_key()},
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.delete_api_scenario_events_response_200 import DeleteApiScenarioEventsResponse200
|
|
9
|
+
from ...models.delete_api_scenario_events_response_400 import DeleteApiScenarioEventsResponse400
|
|
10
|
+
from ...models.delete_api_scenario_events_response_401 import DeleteApiScenarioEventsResponse401
|
|
11
|
+
from ...models.delete_api_scenario_events_response_500 import DeleteApiScenarioEventsResponse500
|
|
12
|
+
from ...types import Response
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
16
|
+
_kwargs: dict[str, Any] = {
|
|
17
|
+
"method": "delete",
|
|
18
|
+
"url": "/api/scenario-events",
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return _kwargs
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _parse_response(
|
|
25
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
26
|
+
) -> Optional[
|
|
27
|
+
Union[
|
|
28
|
+
DeleteApiScenarioEventsResponse200,
|
|
29
|
+
DeleteApiScenarioEventsResponse400,
|
|
30
|
+
DeleteApiScenarioEventsResponse401,
|
|
31
|
+
DeleteApiScenarioEventsResponse500,
|
|
32
|
+
]
|
|
33
|
+
]:
|
|
34
|
+
if response.status_code == 200:
|
|
35
|
+
response_200 = DeleteApiScenarioEventsResponse200.from_dict(response.json())
|
|
36
|
+
|
|
37
|
+
return response_200
|
|
38
|
+
if response.status_code == 400:
|
|
39
|
+
response_400 = DeleteApiScenarioEventsResponse400.from_dict(response.json())
|
|
40
|
+
|
|
41
|
+
return response_400
|
|
42
|
+
if response.status_code == 401:
|
|
43
|
+
response_401 = DeleteApiScenarioEventsResponse401.from_dict(response.json())
|
|
44
|
+
|
|
45
|
+
return response_401
|
|
46
|
+
if response.status_code == 500:
|
|
47
|
+
response_500 = DeleteApiScenarioEventsResponse500.from_dict(response.json())
|
|
48
|
+
|
|
49
|
+
return response_500
|
|
50
|
+
if client.raise_on_unexpected_status:
|
|
51
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
52
|
+
else:
|
|
53
|
+
return None
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def _build_response(
|
|
57
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
58
|
+
) -> Response[
|
|
59
|
+
Union[
|
|
60
|
+
DeleteApiScenarioEventsResponse200,
|
|
61
|
+
DeleteApiScenarioEventsResponse400,
|
|
62
|
+
DeleteApiScenarioEventsResponse401,
|
|
63
|
+
DeleteApiScenarioEventsResponse500,
|
|
64
|
+
]
|
|
65
|
+
]:
|
|
66
|
+
return Response(
|
|
67
|
+
status_code=HTTPStatus(response.status_code),
|
|
68
|
+
content=response.content,
|
|
69
|
+
headers=response.headers,
|
|
70
|
+
parsed=_parse_response(client=client, response=response),
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
def sync_detailed(
|
|
75
|
+
*,
|
|
76
|
+
client: Union[AuthenticatedClient, Client],
|
|
77
|
+
) -> Response[
|
|
78
|
+
Union[
|
|
79
|
+
DeleteApiScenarioEventsResponse200,
|
|
80
|
+
DeleteApiScenarioEventsResponse400,
|
|
81
|
+
DeleteApiScenarioEventsResponse401,
|
|
82
|
+
DeleteApiScenarioEventsResponse500,
|
|
83
|
+
]
|
|
84
|
+
]:
|
|
85
|
+
"""Delete all events
|
|
86
|
+
|
|
87
|
+
Raises:
|
|
88
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
89
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
90
|
+
|
|
91
|
+
Returns:
|
|
92
|
+
Response[Union[DeleteApiScenarioEventsResponse200, DeleteApiScenarioEventsResponse400, DeleteApiScenarioEventsResponse401, DeleteApiScenarioEventsResponse500]]
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
kwargs = _get_kwargs()
|
|
96
|
+
|
|
97
|
+
response = client.get_httpx_client().request(
|
|
98
|
+
**kwargs,
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
return _build_response(client=client, response=response)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def sync(
|
|
105
|
+
*,
|
|
106
|
+
client: Union[AuthenticatedClient, Client],
|
|
107
|
+
) -> Optional[
|
|
108
|
+
Union[
|
|
109
|
+
DeleteApiScenarioEventsResponse200,
|
|
110
|
+
DeleteApiScenarioEventsResponse400,
|
|
111
|
+
DeleteApiScenarioEventsResponse401,
|
|
112
|
+
DeleteApiScenarioEventsResponse500,
|
|
113
|
+
]
|
|
114
|
+
]:
|
|
115
|
+
"""Delete all events
|
|
116
|
+
|
|
117
|
+
Raises:
|
|
118
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
119
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
120
|
+
|
|
121
|
+
Returns:
|
|
122
|
+
Union[DeleteApiScenarioEventsResponse200, DeleteApiScenarioEventsResponse400, DeleteApiScenarioEventsResponse401, DeleteApiScenarioEventsResponse500]
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
return sync_detailed(
|
|
126
|
+
client=client,
|
|
127
|
+
).parsed
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
async def asyncio_detailed(
|
|
131
|
+
*,
|
|
132
|
+
client: Union[AuthenticatedClient, Client],
|
|
133
|
+
) -> Response[
|
|
134
|
+
Union[
|
|
135
|
+
DeleteApiScenarioEventsResponse200,
|
|
136
|
+
DeleteApiScenarioEventsResponse400,
|
|
137
|
+
DeleteApiScenarioEventsResponse401,
|
|
138
|
+
DeleteApiScenarioEventsResponse500,
|
|
139
|
+
]
|
|
140
|
+
]:
|
|
141
|
+
"""Delete all events
|
|
142
|
+
|
|
143
|
+
Raises:
|
|
144
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
145
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
146
|
+
|
|
147
|
+
Returns:
|
|
148
|
+
Response[Union[DeleteApiScenarioEventsResponse200, DeleteApiScenarioEventsResponse400, DeleteApiScenarioEventsResponse401, DeleteApiScenarioEventsResponse500]]
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
kwargs = _get_kwargs()
|
|
152
|
+
|
|
153
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
154
|
+
|
|
155
|
+
return _build_response(client=client, response=response)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
async def asyncio(
|
|
159
|
+
*,
|
|
160
|
+
client: Union[AuthenticatedClient, Client],
|
|
161
|
+
) -> Optional[
|
|
162
|
+
Union[
|
|
163
|
+
DeleteApiScenarioEventsResponse200,
|
|
164
|
+
DeleteApiScenarioEventsResponse400,
|
|
165
|
+
DeleteApiScenarioEventsResponse401,
|
|
166
|
+
DeleteApiScenarioEventsResponse500,
|
|
167
|
+
]
|
|
168
|
+
]:
|
|
169
|
+
"""Delete all events
|
|
170
|
+
|
|
171
|
+
Raises:
|
|
172
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
173
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
174
|
+
|
|
175
|
+
Returns:
|
|
176
|
+
Union[DeleteApiScenarioEventsResponse200, DeleteApiScenarioEventsResponse400, DeleteApiScenarioEventsResponse401, DeleteApiScenarioEventsResponse500]
|
|
177
|
+
"""
|
|
178
|
+
|
|
179
|
+
return (
|
|
180
|
+
await asyncio_detailed(
|
|
181
|
+
client=client,
|
|
182
|
+
)
|
|
183
|
+
).parsed
|