opik 1.9.5__py3-none-any.whl → 1.9.39__py3-none-any.whl
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.
- opik/__init__.py +10 -3
- opik/anonymizer/__init__.py +5 -0
- opik/anonymizer/anonymizer.py +12 -0
- opik/anonymizer/factory.py +80 -0
- opik/anonymizer/recursive_anonymizer.py +64 -0
- opik/anonymizer/rules.py +56 -0
- opik/anonymizer/rules_anonymizer.py +35 -0
- opik/api_objects/dataset/rest_operations.py +5 -0
- opik/api_objects/experiment/experiment.py +46 -49
- opik/api_objects/experiment/helpers.py +34 -10
- opik/api_objects/local_recording.py +8 -3
- opik/api_objects/opik_client.py +230 -48
- opik/api_objects/opik_query_language.py +9 -0
- opik/api_objects/prompt/__init__.py +11 -3
- opik/api_objects/prompt/base_prompt.py +69 -0
- opik/api_objects/prompt/base_prompt_template.py +29 -0
- opik/api_objects/prompt/chat/__init__.py +1 -0
- opik/api_objects/prompt/chat/chat_prompt.py +193 -0
- opik/api_objects/prompt/chat/chat_prompt_template.py +350 -0
- opik/api_objects/prompt/{chat_content_renderer_registry.py → chat/content_renderer_registry.py} +37 -35
- opik/api_objects/prompt/client.py +101 -30
- opik/api_objects/prompt/text/__init__.py +1 -0
- opik/api_objects/prompt/text/prompt.py +174 -0
- opik/api_objects/prompt/{prompt_template.py → text/prompt_template.py} +10 -6
- opik/api_objects/prompt/types.py +1 -1
- opik/cli/export.py +6 -2
- opik/cli/usage_report/charts.py +39 -10
- opik/cli/usage_report/cli.py +164 -45
- opik/cli/usage_report/pdf.py +14 -1
- opik/config.py +0 -5
- opik/decorator/base_track_decorator.py +37 -40
- opik/decorator/context_manager/span_context_manager.py +9 -0
- opik/decorator/context_manager/trace_context_manager.py +5 -0
- opik/dict_utils.py +3 -3
- opik/evaluation/__init__.py +13 -2
- opik/evaluation/engine/engine.py +195 -223
- opik/evaluation/engine/helpers.py +8 -7
- opik/evaluation/engine/metrics_evaluator.py +237 -0
- opik/evaluation/evaluation_result.py +35 -1
- opik/evaluation/evaluator.py +318 -30
- opik/evaluation/models/litellm/util.py +78 -6
- opik/evaluation/models/model_capabilities.py +33 -0
- opik/evaluation/report.py +14 -2
- opik/evaluation/rest_operations.py +36 -33
- opik/evaluation/test_case.py +2 -2
- opik/evaluation/types.py +9 -1
- opik/exceptions.py +17 -0
- opik/hooks/__init__.py +17 -1
- opik/hooks/anonymizer_hook.py +36 -0
- opik/id_helpers.py +18 -0
- opik/integrations/adk/helpers.py +16 -7
- opik/integrations/adk/legacy_opik_tracer.py +7 -4
- opik/integrations/adk/opik_tracer.py +3 -1
- opik/integrations/adk/patchers/adk_otel_tracer/opik_adk_otel_tracer.py +7 -3
- opik/integrations/adk/recursive_callback_injector.py +1 -6
- opik/integrations/dspy/callback.py +1 -4
- opik/integrations/haystack/opik_connector.py +2 -2
- opik/integrations/haystack/opik_tracer.py +2 -4
- opik/integrations/langchain/opik_tracer.py +273 -82
- opik/integrations/llama_index/callback.py +110 -108
- opik/integrations/openai/agents/opik_tracing_processor.py +1 -2
- opik/integrations/openai/opik_tracker.py +1 -1
- opik/message_processing/batching/batchers.py +11 -7
- opik/message_processing/encoder_helpers.py +79 -0
- opik/message_processing/messages.py +25 -1
- opik/message_processing/online_message_processor.py +23 -8
- opik/opik_context.py +7 -7
- opik/rest_api/__init__.py +188 -12
- opik/rest_api/client.py +3 -0
- opik/rest_api/dashboards/__init__.py +4 -0
- opik/rest_api/dashboards/client.py +462 -0
- opik/rest_api/dashboards/raw_client.py +648 -0
- opik/rest_api/datasets/client.py +893 -89
- opik/rest_api/datasets/raw_client.py +1328 -87
- opik/rest_api/experiments/client.py +30 -2
- opik/rest_api/experiments/raw_client.py +26 -0
- opik/rest_api/feedback_definitions/types/find_feedback_definitions_request_type.py +1 -1
- opik/rest_api/optimizations/client.py +302 -0
- opik/rest_api/optimizations/raw_client.py +463 -0
- opik/rest_api/optimizations/types/optimization_update_status.py +3 -1
- opik/rest_api/prompts/__init__.py +2 -2
- opik/rest_api/prompts/client.py +34 -4
- opik/rest_api/prompts/raw_client.py +32 -2
- opik/rest_api/prompts/types/__init__.py +3 -1
- opik/rest_api/prompts/types/create_prompt_version_detail_template_structure.py +5 -0
- opik/rest_api/prompts/types/prompt_write_template_structure.py +5 -0
- opik/rest_api/spans/__init__.py +0 -2
- opik/rest_api/spans/client.py +148 -64
- opik/rest_api/spans/raw_client.py +210 -83
- opik/rest_api/spans/types/__init__.py +0 -2
- opik/rest_api/traces/client.py +241 -73
- opik/rest_api/traces/raw_client.py +344 -90
- opik/rest_api/types/__init__.py +200 -15
- opik/rest_api/types/aggregation_data.py +1 -0
- opik/rest_api/types/alert_trigger_config_public_type.py +6 -1
- opik/rest_api/types/alert_trigger_config_type.py +6 -1
- opik/rest_api/types/alert_trigger_config_write_type.py +6 -1
- opik/rest_api/types/automation_rule_evaluator.py +23 -1
- opik/rest_api/types/automation_rule_evaluator_llm_as_judge.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_llm_as_judge_public.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_llm_as_judge_write.py +2 -0
- opik/rest_api/types/{automation_rule_evaluator_object_public.py → automation_rule_evaluator_object_object_public.py} +32 -10
- opik/rest_api/types/automation_rule_evaluator_page_public.py +2 -2
- opik/rest_api/types/automation_rule_evaluator_public.py +23 -1
- opik/rest_api/types/automation_rule_evaluator_span_llm_as_judge.py +22 -0
- opik/rest_api/types/automation_rule_evaluator_span_llm_as_judge_public.py +22 -0
- opik/rest_api/types/automation_rule_evaluator_span_llm_as_judge_write.py +22 -0
- opik/rest_api/types/automation_rule_evaluator_trace_thread_llm_as_judge.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_trace_thread_llm_as_judge_public.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_trace_thread_llm_as_judge_write.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_trace_thread_user_defined_metric_python.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_trace_thread_user_defined_metric_python_public.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_trace_thread_user_defined_metric_python_write.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_update.py +23 -1
- opik/rest_api/types/automation_rule_evaluator_update_llm_as_judge.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_update_span_llm_as_judge.py +22 -0
- opik/rest_api/types/automation_rule_evaluator_update_trace_thread_llm_as_judge.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_update_trace_thread_user_defined_metric_python.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_update_user_defined_metric_python.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_user_defined_metric_python.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_user_defined_metric_python_public.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_user_defined_metric_python_write.py +2 -0
- opik/rest_api/types/automation_rule_evaluator_write.py +23 -1
- opik/rest_api/types/boolean_feedback_definition.py +25 -0
- opik/rest_api/types/boolean_feedback_definition_create.py +20 -0
- opik/rest_api/types/boolean_feedback_definition_public.py +25 -0
- opik/rest_api/types/boolean_feedback_definition_update.py +20 -0
- opik/rest_api/types/boolean_feedback_detail.py +29 -0
- opik/rest_api/types/boolean_feedback_detail_create.py +29 -0
- opik/rest_api/types/boolean_feedback_detail_public.py +29 -0
- opik/rest_api/types/boolean_feedback_detail_update.py +29 -0
- opik/rest_api/types/dashboard_page_public.py +24 -0
- opik/rest_api/types/dashboard_public.py +30 -0
- opik/rest_api/types/dataset.py +2 -0
- opik/rest_api/types/dataset_item.py +2 -0
- opik/rest_api/types/dataset_item_compare.py +2 -0
- opik/rest_api/types/dataset_item_filter.py +23 -0
- opik/rest_api/types/dataset_item_filter_operator.py +21 -0
- opik/rest_api/types/dataset_item_page_compare.py +1 -0
- opik/rest_api/types/dataset_item_page_public.py +1 -0
- opik/rest_api/types/dataset_item_public.py +2 -0
- opik/rest_api/types/dataset_item_update.py +39 -0
- opik/rest_api/types/dataset_item_write.py +1 -0
- opik/rest_api/types/dataset_public.py +2 -0
- opik/rest_api/types/dataset_public_status.py +5 -0
- opik/rest_api/types/dataset_status.py +5 -0
- opik/rest_api/types/dataset_version_diff.py +22 -0
- opik/rest_api/types/dataset_version_diff_stats.py +24 -0
- opik/rest_api/types/dataset_version_page_public.py +23 -0
- opik/rest_api/types/dataset_version_public.py +49 -0
- opik/rest_api/types/experiment.py +2 -0
- opik/rest_api/types/experiment_public.py +2 -0
- opik/rest_api/types/experiment_score.py +20 -0
- opik/rest_api/types/experiment_score_public.py +20 -0
- opik/rest_api/types/experiment_score_write.py +20 -0
- opik/rest_api/types/feedback.py +20 -1
- opik/rest_api/types/feedback_create.py +16 -1
- opik/rest_api/types/feedback_object_public.py +22 -1
- opik/rest_api/types/feedback_public.py +20 -1
- opik/rest_api/types/feedback_score_public.py +4 -0
- opik/rest_api/types/feedback_update.py +16 -1
- opik/rest_api/types/image_url.py +20 -0
- opik/rest_api/types/image_url_public.py +20 -0
- opik/rest_api/types/image_url_write.py +20 -0
- opik/rest_api/types/llm_as_judge_message.py +5 -1
- opik/rest_api/types/llm_as_judge_message_content.py +24 -0
- opik/rest_api/types/llm_as_judge_message_content_public.py +24 -0
- opik/rest_api/types/llm_as_judge_message_content_write.py +24 -0
- opik/rest_api/types/llm_as_judge_message_public.py +5 -1
- opik/rest_api/types/llm_as_judge_message_write.py +5 -1
- opik/rest_api/types/llm_as_judge_model_parameters.py +2 -0
- opik/rest_api/types/llm_as_judge_model_parameters_public.py +2 -0
- opik/rest_api/types/llm_as_judge_model_parameters_write.py +2 -0
- opik/rest_api/types/optimization.py +2 -0
- opik/rest_api/types/optimization_public.py +2 -0
- opik/rest_api/types/optimization_public_status.py +3 -1
- opik/rest_api/types/optimization_status.py +3 -1
- opik/rest_api/types/optimization_studio_config.py +27 -0
- opik/rest_api/types/optimization_studio_config_public.py +27 -0
- opik/rest_api/types/optimization_studio_config_write.py +27 -0
- opik/rest_api/types/optimization_studio_log.py +22 -0
- opik/rest_api/types/optimization_write.py +2 -0
- opik/rest_api/types/optimization_write_status.py +3 -1
- opik/rest_api/types/prompt.py +6 -0
- opik/rest_api/types/prompt_detail.py +6 -0
- opik/rest_api/types/prompt_detail_template_structure.py +5 -0
- opik/rest_api/types/prompt_public.py +6 -0
- opik/rest_api/types/prompt_public_template_structure.py +5 -0
- opik/rest_api/types/prompt_template_structure.py +5 -0
- opik/rest_api/types/prompt_version.py +2 -0
- opik/rest_api/types/prompt_version_detail.py +2 -0
- opik/rest_api/types/prompt_version_detail_template_structure.py +5 -0
- opik/rest_api/types/prompt_version_public.py +2 -0
- opik/rest_api/types/prompt_version_public_template_structure.py +5 -0
- opik/rest_api/types/prompt_version_template_structure.py +5 -0
- opik/rest_api/types/score_name.py +1 -0
- opik/rest_api/types/service_toggles_config.py +6 -0
- opik/rest_api/types/span_enrichment_options.py +31 -0
- opik/rest_api/types/span_filter.py +23 -0
- opik/rest_api/types/span_filter_operator.py +21 -0
- opik/rest_api/types/span_filter_write.py +23 -0
- opik/rest_api/types/span_filter_write_operator.py +21 -0
- opik/rest_api/types/span_llm_as_judge_code.py +27 -0
- opik/rest_api/types/span_llm_as_judge_code_public.py +27 -0
- opik/rest_api/types/span_llm_as_judge_code_write.py +27 -0
- opik/rest_api/types/span_update.py +46 -0
- opik/rest_api/types/studio_evaluation.py +20 -0
- opik/rest_api/types/studio_evaluation_public.py +20 -0
- opik/rest_api/types/studio_evaluation_write.py +20 -0
- opik/rest_api/types/studio_llm_model.py +21 -0
- opik/rest_api/types/studio_llm_model_public.py +21 -0
- opik/rest_api/types/studio_llm_model_write.py +21 -0
- opik/rest_api/types/studio_message.py +20 -0
- opik/rest_api/types/studio_message_public.py +20 -0
- opik/rest_api/types/studio_message_write.py +20 -0
- opik/rest_api/types/studio_metric.py +21 -0
- opik/rest_api/types/studio_metric_public.py +21 -0
- opik/rest_api/types/studio_metric_write.py +21 -0
- opik/rest_api/types/studio_optimizer.py +21 -0
- opik/rest_api/types/studio_optimizer_public.py +21 -0
- opik/rest_api/types/studio_optimizer_write.py +21 -0
- opik/rest_api/types/studio_prompt.py +20 -0
- opik/rest_api/types/studio_prompt_public.py +20 -0
- opik/rest_api/types/studio_prompt_write.py +20 -0
- opik/rest_api/types/trace.py +6 -0
- opik/rest_api/types/trace_public.py +6 -0
- opik/rest_api/types/trace_thread_filter_write.py +23 -0
- opik/rest_api/types/trace_thread_filter_write_operator.py +21 -0
- opik/rest_api/types/trace_thread_update.py +19 -0
- opik/rest_api/types/trace_update.py +39 -0
- opik/rest_api/types/value_entry.py +2 -0
- opik/rest_api/types/value_entry_compare.py +2 -0
- opik/rest_api/types/value_entry_experiment_item_bulk_write_view.py +2 -0
- opik/rest_api/types/value_entry_public.py +2 -0
- opik/rest_api/types/video_url.py +19 -0
- opik/rest_api/types/video_url_public.py +19 -0
- opik/rest_api/types/video_url_write.py +19 -0
- opik/synchronization.py +5 -6
- opik/{decorator/tracing_runtime_config.py → tracing_runtime_config.py} +6 -7
- {opik-1.9.5.dist-info → opik-1.9.39.dist-info}/METADATA +5 -4
- {opik-1.9.5.dist-info → opik-1.9.39.dist-info}/RECORD +246 -151
- opik/api_objects/prompt/chat_prompt_template.py +0 -164
- opik/api_objects/prompt/prompt.py +0 -131
- /opik/rest_api/{spans/types → types}/span_update_type.py +0 -0
- {opik-1.9.5.dist-info → opik-1.9.39.dist-info}/WHEEL +0 -0
- {opik-1.9.5.dist-info → opik-1.9.39.dist-info}/entry_points.txt +0 -0
- {opik-1.9.5.dist-info → opik-1.9.39.dist-info}/licenses/LICENSE +0 -0
- {opik-1.9.5.dist-info → opik-1.9.39.dist-info}/top_level.txt +0 -0
opik/rest_api/types/__init__.py
CHANGED
|
@@ -41,6 +41,7 @@ from .auth_details_holder import AuthDetailsHolder
|
|
|
41
41
|
from .automation_rule_evaluator import (
|
|
42
42
|
AutomationRuleEvaluator,
|
|
43
43
|
AutomationRuleEvaluator_LlmAsJudge,
|
|
44
|
+
AutomationRuleEvaluator_SpanLlmAsJudge,
|
|
44
45
|
AutomationRuleEvaluator_TraceThreadLlmAsJudge,
|
|
45
46
|
AutomationRuleEvaluator_TraceThreadUserDefinedMetricPython,
|
|
46
47
|
AutomationRuleEvaluator_UserDefinedMetricPython,
|
|
@@ -48,21 +49,26 @@ from .automation_rule_evaluator import (
|
|
|
48
49
|
from .automation_rule_evaluator_llm_as_judge import AutomationRuleEvaluatorLlmAsJudge
|
|
49
50
|
from .automation_rule_evaluator_llm_as_judge_public import AutomationRuleEvaluatorLlmAsJudgePublic
|
|
50
51
|
from .automation_rule_evaluator_llm_as_judge_write import AutomationRuleEvaluatorLlmAsJudgeWrite
|
|
51
|
-
from .
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
from .automation_rule_evaluator_object_object_public import (
|
|
53
|
+
AutomationRuleEvaluatorObjectObjectPublic,
|
|
54
|
+
AutomationRuleEvaluatorObjectObjectPublic_LlmAsJudge,
|
|
55
|
+
AutomationRuleEvaluatorObjectObjectPublic_SpanLlmAsJudge,
|
|
56
|
+
AutomationRuleEvaluatorObjectObjectPublic_TraceThreadLlmAsJudge,
|
|
57
|
+
AutomationRuleEvaluatorObjectObjectPublic_TraceThreadUserDefinedMetricPython,
|
|
58
|
+
AutomationRuleEvaluatorObjectObjectPublic_UserDefinedMetricPython,
|
|
57
59
|
)
|
|
58
60
|
from .automation_rule_evaluator_page_public import AutomationRuleEvaluatorPagePublic
|
|
59
61
|
from .automation_rule_evaluator_public import (
|
|
60
62
|
AutomationRuleEvaluatorPublic,
|
|
61
63
|
AutomationRuleEvaluatorPublic_LlmAsJudge,
|
|
64
|
+
AutomationRuleEvaluatorPublic_SpanLlmAsJudge,
|
|
62
65
|
AutomationRuleEvaluatorPublic_TraceThreadLlmAsJudge,
|
|
63
66
|
AutomationRuleEvaluatorPublic_TraceThreadUserDefinedMetricPython,
|
|
64
67
|
AutomationRuleEvaluatorPublic_UserDefinedMetricPython,
|
|
65
68
|
)
|
|
69
|
+
from .automation_rule_evaluator_span_llm_as_judge import AutomationRuleEvaluatorSpanLlmAsJudge
|
|
70
|
+
from .automation_rule_evaluator_span_llm_as_judge_public import AutomationRuleEvaluatorSpanLlmAsJudgePublic
|
|
71
|
+
from .automation_rule_evaluator_span_llm_as_judge_write import AutomationRuleEvaluatorSpanLlmAsJudgeWrite
|
|
66
72
|
from .automation_rule_evaluator_trace_thread_llm_as_judge import AutomationRuleEvaluatorTraceThreadLlmAsJudge
|
|
67
73
|
from .automation_rule_evaluator_trace_thread_llm_as_judge_public import (
|
|
68
74
|
AutomationRuleEvaluatorTraceThreadLlmAsJudgePublic,
|
|
@@ -80,11 +86,13 @@ from .automation_rule_evaluator_trace_thread_user_defined_metric_python_write im
|
|
|
80
86
|
from .automation_rule_evaluator_update import (
|
|
81
87
|
AutomationRuleEvaluatorUpdate,
|
|
82
88
|
AutomationRuleEvaluatorUpdate_LlmAsJudge,
|
|
89
|
+
AutomationRuleEvaluatorUpdate_SpanLlmAsJudge,
|
|
83
90
|
AutomationRuleEvaluatorUpdate_TraceThreadLlmAsJudge,
|
|
84
91
|
AutomationRuleEvaluatorUpdate_TraceThreadUserDefinedMetricPython,
|
|
85
92
|
AutomationRuleEvaluatorUpdate_UserDefinedMetricPython,
|
|
86
93
|
)
|
|
87
94
|
from .automation_rule_evaluator_update_llm_as_judge import AutomationRuleEvaluatorUpdateLlmAsJudge
|
|
95
|
+
from .automation_rule_evaluator_update_span_llm_as_judge import AutomationRuleEvaluatorUpdateSpanLlmAsJudge
|
|
88
96
|
from .automation_rule_evaluator_update_trace_thread_llm_as_judge import (
|
|
89
97
|
AutomationRuleEvaluatorUpdateTraceThreadLlmAsJudge,
|
|
90
98
|
)
|
|
@@ -104,6 +112,7 @@ from .automation_rule_evaluator_user_defined_metric_python_write import (
|
|
|
104
112
|
from .automation_rule_evaluator_write import (
|
|
105
113
|
AutomationRuleEvaluatorWrite,
|
|
106
114
|
AutomationRuleEvaluatorWrite_LlmAsJudge,
|
|
115
|
+
AutomationRuleEvaluatorWrite_SpanLlmAsJudge,
|
|
107
116
|
AutomationRuleEvaluatorWrite_TraceThreadLlmAsJudge,
|
|
108
117
|
AutomationRuleEvaluatorWrite_TraceThreadUserDefinedMetricPython,
|
|
109
118
|
AutomationRuleEvaluatorWrite_UserDefinedMetricPython,
|
|
@@ -113,6 +122,14 @@ from .batch_delete import BatchDelete
|
|
|
113
122
|
from .batch_delete_by_project import BatchDeleteByProject
|
|
114
123
|
from .bi_information import BiInformation
|
|
115
124
|
from .bi_information_response import BiInformationResponse
|
|
125
|
+
from .boolean_feedback_definition import BooleanFeedbackDefinition
|
|
126
|
+
from .boolean_feedback_definition_create import BooleanFeedbackDefinitionCreate
|
|
127
|
+
from .boolean_feedback_definition_public import BooleanFeedbackDefinitionPublic
|
|
128
|
+
from .boolean_feedback_definition_update import BooleanFeedbackDefinitionUpdate
|
|
129
|
+
from .boolean_feedback_detail import BooleanFeedbackDetail
|
|
130
|
+
from .boolean_feedback_detail_create import BooleanFeedbackDetailCreate
|
|
131
|
+
from .boolean_feedback_detail_public import BooleanFeedbackDetailPublic
|
|
132
|
+
from .boolean_feedback_detail_update import BooleanFeedbackDetailUpdate
|
|
116
133
|
from .categorical_feedback_definition import CategoricalFeedbackDefinition
|
|
117
134
|
from .categorical_feedback_definition_create import CategoricalFeedbackDefinitionCreate
|
|
118
135
|
from .categorical_feedback_definition_public import CategoricalFeedbackDefinitionPublic
|
|
@@ -146,6 +163,8 @@ from .complete_multipart_upload_request import CompleteMultipartUploadRequest
|
|
|
146
163
|
from .complete_multipart_upload_request_entity_type import CompleteMultipartUploadRequestEntityType
|
|
147
164
|
from .completion_tokens_details import CompletionTokensDetails
|
|
148
165
|
from .count_value_stat_public import CountValueStatPublic
|
|
166
|
+
from .dashboard_page_public import DashboardPagePublic
|
|
167
|
+
from .dashboard_public import DashboardPublic
|
|
149
168
|
from .data_point_double import DataPointDouble
|
|
150
169
|
from .data_point_number_public import DataPointNumberPublic
|
|
151
170
|
from .dataset import Dataset
|
|
@@ -155,16 +174,25 @@ from .dataset_item import DatasetItem
|
|
|
155
174
|
from .dataset_item_batch import DatasetItemBatch
|
|
156
175
|
from .dataset_item_compare import DatasetItemCompare
|
|
157
176
|
from .dataset_item_compare_source import DatasetItemCompareSource
|
|
177
|
+
from .dataset_item_filter import DatasetItemFilter
|
|
178
|
+
from .dataset_item_filter_operator import DatasetItemFilterOperator
|
|
158
179
|
from .dataset_item_page_compare import DatasetItemPageCompare
|
|
159
180
|
from .dataset_item_page_public import DatasetItemPagePublic
|
|
160
181
|
from .dataset_item_public import DatasetItemPublic
|
|
161
182
|
from .dataset_item_public_source import DatasetItemPublicSource
|
|
162
183
|
from .dataset_item_source import DatasetItemSource
|
|
184
|
+
from .dataset_item_update import DatasetItemUpdate
|
|
163
185
|
from .dataset_item_write import DatasetItemWrite
|
|
164
186
|
from .dataset_item_write_source import DatasetItemWriteSource
|
|
165
187
|
from .dataset_page_public import DatasetPagePublic
|
|
166
188
|
from .dataset_public import DatasetPublic
|
|
189
|
+
from .dataset_public_status import DatasetPublicStatus
|
|
167
190
|
from .dataset_public_visibility import DatasetPublicVisibility
|
|
191
|
+
from .dataset_status import DatasetStatus
|
|
192
|
+
from .dataset_version_diff import DatasetVersionDiff
|
|
193
|
+
from .dataset_version_diff_stats import DatasetVersionDiffStats
|
|
194
|
+
from .dataset_version_page_public import DatasetVersionPagePublic
|
|
195
|
+
from .dataset_version_public import DatasetVersionPublic
|
|
168
196
|
from .dataset_visibility import DatasetVisibility
|
|
169
197
|
from .delete_attachments_request import DeleteAttachmentsRequest
|
|
170
198
|
from .delete_attachments_request_entity_type import DeleteAttachmentsRequestEntityType
|
|
@@ -199,18 +227,32 @@ from .experiment_page_public import ExperimentPagePublic
|
|
|
199
227
|
from .experiment_public import ExperimentPublic
|
|
200
228
|
from .experiment_public_status import ExperimentPublicStatus
|
|
201
229
|
from .experiment_public_type import ExperimentPublicType
|
|
230
|
+
from .experiment_score import ExperimentScore
|
|
231
|
+
from .experiment_score_public import ExperimentScorePublic
|
|
232
|
+
from .experiment_score_write import ExperimentScoreWrite
|
|
202
233
|
from .experiment_status import ExperimentStatus
|
|
203
234
|
from .experiment_type import ExperimentType
|
|
204
235
|
from .export_trace_service_request import ExportTraceServiceRequest
|
|
205
|
-
from .feedback import Feedback, Feedback_Categorical, Feedback_Numerical
|
|
206
|
-
from .feedback_create import
|
|
236
|
+
from .feedback import Feedback, Feedback_Boolean, Feedback_Categorical, Feedback_Numerical
|
|
237
|
+
from .feedback_create import (
|
|
238
|
+
FeedbackCreate,
|
|
239
|
+
FeedbackCreate_Boolean,
|
|
240
|
+
FeedbackCreate_Categorical,
|
|
241
|
+
FeedbackCreate_Numerical,
|
|
242
|
+
)
|
|
207
243
|
from .feedback_definition_page_public import FeedbackDefinitionPagePublic
|
|
208
244
|
from .feedback_object_public import (
|
|
209
245
|
FeedbackObjectPublic,
|
|
246
|
+
FeedbackObjectPublic_Boolean,
|
|
210
247
|
FeedbackObjectPublic_Categorical,
|
|
211
248
|
FeedbackObjectPublic_Numerical,
|
|
212
249
|
)
|
|
213
|
-
from .feedback_public import
|
|
250
|
+
from .feedback_public import (
|
|
251
|
+
FeedbackPublic,
|
|
252
|
+
FeedbackPublic_Boolean,
|
|
253
|
+
FeedbackPublic_Categorical,
|
|
254
|
+
FeedbackPublic_Numerical,
|
|
255
|
+
)
|
|
214
256
|
from .feedback_score import FeedbackScore
|
|
215
257
|
from .feedback_score_average import FeedbackScoreAverage
|
|
216
258
|
from .feedback_score_average_detailed import FeedbackScoreAverageDetailed
|
|
@@ -228,7 +270,12 @@ from .feedback_score_names import FeedbackScoreNames
|
|
|
228
270
|
from .feedback_score_public import FeedbackScorePublic
|
|
229
271
|
from .feedback_score_public_source import FeedbackScorePublicSource
|
|
230
272
|
from .feedback_score_source import FeedbackScoreSource
|
|
231
|
-
from .feedback_update import
|
|
273
|
+
from .feedback_update import (
|
|
274
|
+
FeedbackUpdate,
|
|
275
|
+
FeedbackUpdate_Boolean,
|
|
276
|
+
FeedbackUpdate_Categorical,
|
|
277
|
+
FeedbackUpdate_Numerical,
|
|
278
|
+
)
|
|
232
279
|
from .function import Function
|
|
233
280
|
from .function_call import FunctionCall
|
|
234
281
|
from .group_content import GroupContent
|
|
@@ -245,6 +292,9 @@ from .guardrail_write_result import GuardrailWriteResult
|
|
|
245
292
|
from .guardrails_validation import GuardrailsValidation
|
|
246
293
|
from .guardrails_validation_public import GuardrailsValidationPublic
|
|
247
294
|
from .ids_holder import IdsHolder
|
|
295
|
+
from .image_url import ImageUrl
|
|
296
|
+
from .image_url_public import ImageUrlPublic
|
|
297
|
+
from .image_url_write import ImageUrlWrite
|
|
248
298
|
from .json_list_string import JsonListString
|
|
249
299
|
from .json_list_string_compare import JsonListStringCompare
|
|
250
300
|
from .json_list_string_experiment_item_bulk_write_view import JsonListStringExperimentItemBulkWriteView
|
|
@@ -259,6 +309,9 @@ from .llm_as_judge_code import LlmAsJudgeCode
|
|
|
259
309
|
from .llm_as_judge_code_public import LlmAsJudgeCodePublic
|
|
260
310
|
from .llm_as_judge_code_write import LlmAsJudgeCodeWrite
|
|
261
311
|
from .llm_as_judge_message import LlmAsJudgeMessage
|
|
312
|
+
from .llm_as_judge_message_content import LlmAsJudgeMessageContent
|
|
313
|
+
from .llm_as_judge_message_content_public import LlmAsJudgeMessageContentPublic
|
|
314
|
+
from .llm_as_judge_message_content_write import LlmAsJudgeMessageContentWrite
|
|
262
315
|
from .llm_as_judge_message_public import LlmAsJudgeMessagePublic
|
|
263
316
|
from .llm_as_judge_message_public_role import LlmAsJudgeMessagePublicRole
|
|
264
317
|
from .llm_as_judge_message_role import LlmAsJudgeMessageRole
|
|
@@ -294,6 +347,10 @@ from .optimization_page_public import OptimizationPagePublic
|
|
|
294
347
|
from .optimization_public import OptimizationPublic
|
|
295
348
|
from .optimization_public_status import OptimizationPublicStatus
|
|
296
349
|
from .optimization_status import OptimizationStatus
|
|
350
|
+
from .optimization_studio_config import OptimizationStudioConfig
|
|
351
|
+
from .optimization_studio_config_public import OptimizationStudioConfigPublic
|
|
352
|
+
from .optimization_studio_config_write import OptimizationStudioConfigWrite
|
|
353
|
+
from .optimization_studio_log import OptimizationStudioLog
|
|
297
354
|
from .optimization_write import OptimizationWrite
|
|
298
355
|
from .optimization_write_status import OptimizationWriteStatus
|
|
299
356
|
from .page_columns import PageColumns
|
|
@@ -322,19 +379,25 @@ from .project_stats_summary_item import ProjectStatsSummaryItem
|
|
|
322
379
|
from .project_visibility import ProjectVisibility
|
|
323
380
|
from .prompt import Prompt
|
|
324
381
|
from .prompt_detail import PromptDetail
|
|
382
|
+
from .prompt_detail_template_structure import PromptDetailTemplateStructure
|
|
325
383
|
from .prompt_page_public import PromptPagePublic
|
|
326
384
|
from .prompt_public import PromptPublic
|
|
385
|
+
from .prompt_public_template_structure import PromptPublicTemplateStructure
|
|
386
|
+
from .prompt_template_structure import PromptTemplateStructure
|
|
327
387
|
from .prompt_tokens_details import PromptTokensDetails
|
|
328
388
|
from .prompt_type import PromptType
|
|
329
389
|
from .prompt_version import PromptVersion
|
|
330
390
|
from .prompt_version_detail import PromptVersionDetail
|
|
391
|
+
from .prompt_version_detail_template_structure import PromptVersionDetailTemplateStructure
|
|
331
392
|
from .prompt_version_detail_type import PromptVersionDetailType
|
|
332
393
|
from .prompt_version_link import PromptVersionLink
|
|
333
394
|
from .prompt_version_link_public import PromptVersionLinkPublic
|
|
334
395
|
from .prompt_version_link_write import PromptVersionLinkWrite
|
|
335
396
|
from .prompt_version_page_public import PromptVersionPagePublic
|
|
336
397
|
from .prompt_version_public import PromptVersionPublic
|
|
398
|
+
from .prompt_version_public_template_structure import PromptVersionPublicTemplateStructure
|
|
337
399
|
from .prompt_version_public_type import PromptVersionPublicType
|
|
400
|
+
from .prompt_version_template_structure import PromptVersionTemplateStructure
|
|
338
401
|
from .prompt_version_type import PromptVersionType
|
|
339
402
|
from .provider_api_key import ProviderApiKey
|
|
340
403
|
from .provider_api_key_page_public import ProviderApiKeyPagePublic
|
|
@@ -349,19 +412,47 @@ from .score_name import ScoreName
|
|
|
349
412
|
from .service_toggles_config import ServiceTogglesConfig
|
|
350
413
|
from .span import Span
|
|
351
414
|
from .span_batch import SpanBatch
|
|
415
|
+
from .span_enrichment_options import SpanEnrichmentOptions
|
|
352
416
|
from .span_experiment_item_bulk_write_view import SpanExperimentItemBulkWriteView
|
|
353
417
|
from .span_experiment_item_bulk_write_view_type import SpanExperimentItemBulkWriteViewType
|
|
418
|
+
from .span_filter import SpanFilter
|
|
419
|
+
from .span_filter_operator import SpanFilterOperator
|
|
354
420
|
from .span_filter_public import SpanFilterPublic
|
|
355
421
|
from .span_filter_public_operator import SpanFilterPublicOperator
|
|
422
|
+
from .span_filter_write import SpanFilterWrite
|
|
423
|
+
from .span_filter_write_operator import SpanFilterWriteOperator
|
|
424
|
+
from .span_llm_as_judge_code import SpanLlmAsJudgeCode
|
|
425
|
+
from .span_llm_as_judge_code_public import SpanLlmAsJudgeCodePublic
|
|
426
|
+
from .span_llm_as_judge_code_write import SpanLlmAsJudgeCodeWrite
|
|
356
427
|
from .span_page_public import SpanPagePublic
|
|
357
428
|
from .span_public import SpanPublic
|
|
358
429
|
from .span_public_type import SpanPublicType
|
|
359
430
|
from .span_type import SpanType
|
|
431
|
+
from .span_update import SpanUpdate
|
|
432
|
+
from .span_update_type import SpanUpdateType
|
|
360
433
|
from .span_write import SpanWrite
|
|
361
434
|
from .span_write_type import SpanWriteType
|
|
362
435
|
from .spans_count_response import SpansCountResponse
|
|
363
436
|
from .start_multipart_upload_response import StartMultipartUploadResponse
|
|
364
437
|
from .stream_options import StreamOptions
|
|
438
|
+
from .studio_evaluation import StudioEvaluation
|
|
439
|
+
from .studio_evaluation_public import StudioEvaluationPublic
|
|
440
|
+
from .studio_evaluation_write import StudioEvaluationWrite
|
|
441
|
+
from .studio_llm_model import StudioLlmModel
|
|
442
|
+
from .studio_llm_model_public import StudioLlmModelPublic
|
|
443
|
+
from .studio_llm_model_write import StudioLlmModelWrite
|
|
444
|
+
from .studio_message import StudioMessage
|
|
445
|
+
from .studio_message_public import StudioMessagePublic
|
|
446
|
+
from .studio_message_write import StudioMessageWrite
|
|
447
|
+
from .studio_metric import StudioMetric
|
|
448
|
+
from .studio_metric_public import StudioMetricPublic
|
|
449
|
+
from .studio_metric_write import StudioMetricWrite
|
|
450
|
+
from .studio_optimizer import StudioOptimizer
|
|
451
|
+
from .studio_optimizer_public import StudioOptimizerPublic
|
|
452
|
+
from .studio_optimizer_write import StudioOptimizerWrite
|
|
453
|
+
from .studio_prompt import StudioPrompt
|
|
454
|
+
from .studio_prompt_public import StudioPromptPublic
|
|
455
|
+
from .studio_prompt_write import StudioPromptWrite
|
|
365
456
|
from .tool import Tool
|
|
366
457
|
from .tool_call import ToolCall
|
|
367
458
|
from .trace import Trace
|
|
@@ -383,15 +474,19 @@ from .trace_thread_filter import TraceThreadFilter
|
|
|
383
474
|
from .trace_thread_filter_operator import TraceThreadFilterOperator
|
|
384
475
|
from .trace_thread_filter_public import TraceThreadFilterPublic
|
|
385
476
|
from .trace_thread_filter_public_operator import TraceThreadFilterPublicOperator
|
|
477
|
+
from .trace_thread_filter_write import TraceThreadFilterWrite
|
|
478
|
+
from .trace_thread_filter_write_operator import TraceThreadFilterWriteOperator
|
|
386
479
|
from .trace_thread_identifier import TraceThreadIdentifier
|
|
387
480
|
from .trace_thread_llm_as_judge_code import TraceThreadLlmAsJudgeCode
|
|
388
481
|
from .trace_thread_llm_as_judge_code_public import TraceThreadLlmAsJudgeCodePublic
|
|
389
482
|
from .trace_thread_llm_as_judge_code_write import TraceThreadLlmAsJudgeCodeWrite
|
|
390
483
|
from .trace_thread_page import TraceThreadPage
|
|
391
484
|
from .trace_thread_status import TraceThreadStatus
|
|
485
|
+
from .trace_thread_update import TraceThreadUpdate
|
|
392
486
|
from .trace_thread_user_defined_metric_python_code import TraceThreadUserDefinedMetricPythonCode
|
|
393
487
|
from .trace_thread_user_defined_metric_python_code_public import TraceThreadUserDefinedMetricPythonCodePublic
|
|
394
488
|
from .trace_thread_user_defined_metric_python_code_write import TraceThreadUserDefinedMetricPythonCodeWrite
|
|
489
|
+
from .trace_update import TraceUpdate
|
|
395
490
|
from .trace_visibility_mode import TraceVisibilityMode
|
|
396
491
|
from .trace_write import TraceWrite
|
|
397
492
|
from .usage import Usage
|
|
@@ -406,6 +501,9 @@ from .value_entry_experiment_item_bulk_write_view_source import ValueEntryExperi
|
|
|
406
501
|
from .value_entry_public import ValueEntryPublic
|
|
407
502
|
from .value_entry_public_source import ValueEntryPublicSource
|
|
408
503
|
from .value_entry_source import ValueEntrySource
|
|
504
|
+
from .video_url import VideoUrl
|
|
505
|
+
from .video_url_public import VideoUrlPublic
|
|
506
|
+
from .video_url_write import VideoUrlWrite
|
|
409
507
|
from .webhook import Webhook
|
|
410
508
|
from .webhook_examples import WebhookExamples
|
|
411
509
|
from .webhook_public import WebhookPublic
|
|
@@ -463,17 +561,22 @@ __all__ = [
|
|
|
463
561
|
"AutomationRuleEvaluatorLlmAsJudge",
|
|
464
562
|
"AutomationRuleEvaluatorLlmAsJudgePublic",
|
|
465
563
|
"AutomationRuleEvaluatorLlmAsJudgeWrite",
|
|
466
|
-
"
|
|
467
|
-
"
|
|
468
|
-
"
|
|
469
|
-
"
|
|
470
|
-
"
|
|
564
|
+
"AutomationRuleEvaluatorObjectObjectPublic",
|
|
565
|
+
"AutomationRuleEvaluatorObjectObjectPublic_LlmAsJudge",
|
|
566
|
+
"AutomationRuleEvaluatorObjectObjectPublic_SpanLlmAsJudge",
|
|
567
|
+
"AutomationRuleEvaluatorObjectObjectPublic_TraceThreadLlmAsJudge",
|
|
568
|
+
"AutomationRuleEvaluatorObjectObjectPublic_TraceThreadUserDefinedMetricPython",
|
|
569
|
+
"AutomationRuleEvaluatorObjectObjectPublic_UserDefinedMetricPython",
|
|
471
570
|
"AutomationRuleEvaluatorPagePublic",
|
|
472
571
|
"AutomationRuleEvaluatorPublic",
|
|
473
572
|
"AutomationRuleEvaluatorPublic_LlmAsJudge",
|
|
573
|
+
"AutomationRuleEvaluatorPublic_SpanLlmAsJudge",
|
|
474
574
|
"AutomationRuleEvaluatorPublic_TraceThreadLlmAsJudge",
|
|
475
575
|
"AutomationRuleEvaluatorPublic_TraceThreadUserDefinedMetricPython",
|
|
476
576
|
"AutomationRuleEvaluatorPublic_UserDefinedMetricPython",
|
|
577
|
+
"AutomationRuleEvaluatorSpanLlmAsJudge",
|
|
578
|
+
"AutomationRuleEvaluatorSpanLlmAsJudgePublic",
|
|
579
|
+
"AutomationRuleEvaluatorSpanLlmAsJudgeWrite",
|
|
477
580
|
"AutomationRuleEvaluatorTraceThreadLlmAsJudge",
|
|
478
581
|
"AutomationRuleEvaluatorTraceThreadLlmAsJudgePublic",
|
|
479
582
|
"AutomationRuleEvaluatorTraceThreadLlmAsJudgeWrite",
|
|
@@ -482,10 +585,12 @@ __all__ = [
|
|
|
482
585
|
"AutomationRuleEvaluatorTraceThreadUserDefinedMetricPythonWrite",
|
|
483
586
|
"AutomationRuleEvaluatorUpdate",
|
|
484
587
|
"AutomationRuleEvaluatorUpdateLlmAsJudge",
|
|
588
|
+
"AutomationRuleEvaluatorUpdateSpanLlmAsJudge",
|
|
485
589
|
"AutomationRuleEvaluatorUpdateTraceThreadLlmAsJudge",
|
|
486
590
|
"AutomationRuleEvaluatorUpdateTraceThreadUserDefinedMetricPython",
|
|
487
591
|
"AutomationRuleEvaluatorUpdateUserDefinedMetricPython",
|
|
488
592
|
"AutomationRuleEvaluatorUpdate_LlmAsJudge",
|
|
593
|
+
"AutomationRuleEvaluatorUpdate_SpanLlmAsJudge",
|
|
489
594
|
"AutomationRuleEvaluatorUpdate_TraceThreadLlmAsJudge",
|
|
490
595
|
"AutomationRuleEvaluatorUpdate_TraceThreadUserDefinedMetricPython",
|
|
491
596
|
"AutomationRuleEvaluatorUpdate_UserDefinedMetricPython",
|
|
@@ -494,10 +599,12 @@ __all__ = [
|
|
|
494
599
|
"AutomationRuleEvaluatorUserDefinedMetricPythonWrite",
|
|
495
600
|
"AutomationRuleEvaluatorWrite",
|
|
496
601
|
"AutomationRuleEvaluatorWrite_LlmAsJudge",
|
|
602
|
+
"AutomationRuleEvaluatorWrite_SpanLlmAsJudge",
|
|
497
603
|
"AutomationRuleEvaluatorWrite_TraceThreadLlmAsJudge",
|
|
498
604
|
"AutomationRuleEvaluatorWrite_TraceThreadUserDefinedMetricPython",
|
|
499
605
|
"AutomationRuleEvaluatorWrite_UserDefinedMetricPython",
|
|
500
606
|
"AutomationRuleEvaluator_LlmAsJudge",
|
|
607
|
+
"AutomationRuleEvaluator_SpanLlmAsJudge",
|
|
501
608
|
"AutomationRuleEvaluator_TraceThreadLlmAsJudge",
|
|
502
609
|
"AutomationRuleEvaluator_TraceThreadUserDefinedMetricPython",
|
|
503
610
|
"AutomationRuleEvaluator_UserDefinedMetricPython",
|
|
@@ -506,6 +613,14 @@ __all__ = [
|
|
|
506
613
|
"BatchDeleteByProject",
|
|
507
614
|
"BiInformation",
|
|
508
615
|
"BiInformationResponse",
|
|
616
|
+
"BooleanFeedbackDefinition",
|
|
617
|
+
"BooleanFeedbackDefinitionCreate",
|
|
618
|
+
"BooleanFeedbackDefinitionPublic",
|
|
619
|
+
"BooleanFeedbackDefinitionUpdate",
|
|
620
|
+
"BooleanFeedbackDetail",
|
|
621
|
+
"BooleanFeedbackDetailCreate",
|
|
622
|
+
"BooleanFeedbackDetailPublic",
|
|
623
|
+
"BooleanFeedbackDetailUpdate",
|
|
509
624
|
"CategoricalFeedbackDefinition",
|
|
510
625
|
"CategoricalFeedbackDefinitionCreate",
|
|
511
626
|
"CategoricalFeedbackDefinitionPublic",
|
|
@@ -539,6 +654,8 @@ __all__ = [
|
|
|
539
654
|
"CompleteMultipartUploadRequestEntityType",
|
|
540
655
|
"CompletionTokensDetails",
|
|
541
656
|
"CountValueStatPublic",
|
|
657
|
+
"DashboardPagePublic",
|
|
658
|
+
"DashboardPublic",
|
|
542
659
|
"DataPointDouble",
|
|
543
660
|
"DataPointNumberPublic",
|
|
544
661
|
"Dataset",
|
|
@@ -548,16 +665,25 @@ __all__ = [
|
|
|
548
665
|
"DatasetItemBatch",
|
|
549
666
|
"DatasetItemCompare",
|
|
550
667
|
"DatasetItemCompareSource",
|
|
668
|
+
"DatasetItemFilter",
|
|
669
|
+
"DatasetItemFilterOperator",
|
|
551
670
|
"DatasetItemPageCompare",
|
|
552
671
|
"DatasetItemPagePublic",
|
|
553
672
|
"DatasetItemPublic",
|
|
554
673
|
"DatasetItemPublicSource",
|
|
555
674
|
"DatasetItemSource",
|
|
675
|
+
"DatasetItemUpdate",
|
|
556
676
|
"DatasetItemWrite",
|
|
557
677
|
"DatasetItemWriteSource",
|
|
558
678
|
"DatasetPagePublic",
|
|
559
679
|
"DatasetPublic",
|
|
680
|
+
"DatasetPublicStatus",
|
|
560
681
|
"DatasetPublicVisibility",
|
|
682
|
+
"DatasetStatus",
|
|
683
|
+
"DatasetVersionDiff",
|
|
684
|
+
"DatasetVersionDiffStats",
|
|
685
|
+
"DatasetVersionPagePublic",
|
|
686
|
+
"DatasetVersionPublic",
|
|
561
687
|
"DatasetVisibility",
|
|
562
688
|
"DeleteAttachmentsRequest",
|
|
563
689
|
"DeleteAttachmentsRequestEntityType",
|
|
@@ -590,18 +716,24 @@ __all__ = [
|
|
|
590
716
|
"ExperimentPublic",
|
|
591
717
|
"ExperimentPublicStatus",
|
|
592
718
|
"ExperimentPublicType",
|
|
719
|
+
"ExperimentScore",
|
|
720
|
+
"ExperimentScorePublic",
|
|
721
|
+
"ExperimentScoreWrite",
|
|
593
722
|
"ExperimentStatus",
|
|
594
723
|
"ExperimentType",
|
|
595
724
|
"ExportTraceServiceRequest",
|
|
596
725
|
"Feedback",
|
|
597
726
|
"FeedbackCreate",
|
|
727
|
+
"FeedbackCreate_Boolean",
|
|
598
728
|
"FeedbackCreate_Categorical",
|
|
599
729
|
"FeedbackCreate_Numerical",
|
|
600
730
|
"FeedbackDefinitionPagePublic",
|
|
601
731
|
"FeedbackObjectPublic",
|
|
732
|
+
"FeedbackObjectPublic_Boolean",
|
|
602
733
|
"FeedbackObjectPublic_Categorical",
|
|
603
734
|
"FeedbackObjectPublic_Numerical",
|
|
604
735
|
"FeedbackPublic",
|
|
736
|
+
"FeedbackPublic_Boolean",
|
|
605
737
|
"FeedbackPublic_Categorical",
|
|
606
738
|
"FeedbackPublic_Numerical",
|
|
607
739
|
"FeedbackScore",
|
|
@@ -622,8 +754,10 @@ __all__ = [
|
|
|
622
754
|
"FeedbackScorePublicSource",
|
|
623
755
|
"FeedbackScoreSource",
|
|
624
756
|
"FeedbackUpdate",
|
|
757
|
+
"FeedbackUpdate_Boolean",
|
|
625
758
|
"FeedbackUpdate_Categorical",
|
|
626
759
|
"FeedbackUpdate_Numerical",
|
|
760
|
+
"Feedback_Boolean",
|
|
627
761
|
"Feedback_Categorical",
|
|
628
762
|
"Feedback_Numerical",
|
|
629
763
|
"Function",
|
|
@@ -642,6 +776,9 @@ __all__ = [
|
|
|
642
776
|
"GuardrailsValidation",
|
|
643
777
|
"GuardrailsValidationPublic",
|
|
644
778
|
"IdsHolder",
|
|
779
|
+
"ImageUrl",
|
|
780
|
+
"ImageUrlPublic",
|
|
781
|
+
"ImageUrlWrite",
|
|
645
782
|
"JsonListString",
|
|
646
783
|
"JsonListStringCompare",
|
|
647
784
|
"JsonListStringExperimentItemBulkWriteView",
|
|
@@ -656,6 +793,9 @@ __all__ = [
|
|
|
656
793
|
"LlmAsJudgeCodePublic",
|
|
657
794
|
"LlmAsJudgeCodeWrite",
|
|
658
795
|
"LlmAsJudgeMessage",
|
|
796
|
+
"LlmAsJudgeMessageContent",
|
|
797
|
+
"LlmAsJudgeMessageContentPublic",
|
|
798
|
+
"LlmAsJudgeMessageContentWrite",
|
|
659
799
|
"LlmAsJudgeMessagePublic",
|
|
660
800
|
"LlmAsJudgeMessagePublicRole",
|
|
661
801
|
"LlmAsJudgeMessageRole",
|
|
@@ -691,6 +831,10 @@ __all__ = [
|
|
|
691
831
|
"OptimizationPublic",
|
|
692
832
|
"OptimizationPublicStatus",
|
|
693
833
|
"OptimizationStatus",
|
|
834
|
+
"OptimizationStudioConfig",
|
|
835
|
+
"OptimizationStudioConfigPublic",
|
|
836
|
+
"OptimizationStudioConfigWrite",
|
|
837
|
+
"OptimizationStudioLog",
|
|
694
838
|
"OptimizationWrite",
|
|
695
839
|
"OptimizationWriteStatus",
|
|
696
840
|
"PageColumns",
|
|
@@ -717,19 +861,25 @@ __all__ = [
|
|
|
717
861
|
"ProjectVisibility",
|
|
718
862
|
"Prompt",
|
|
719
863
|
"PromptDetail",
|
|
864
|
+
"PromptDetailTemplateStructure",
|
|
720
865
|
"PromptPagePublic",
|
|
721
866
|
"PromptPublic",
|
|
867
|
+
"PromptPublicTemplateStructure",
|
|
868
|
+
"PromptTemplateStructure",
|
|
722
869
|
"PromptTokensDetails",
|
|
723
870
|
"PromptType",
|
|
724
871
|
"PromptVersion",
|
|
725
872
|
"PromptVersionDetail",
|
|
873
|
+
"PromptVersionDetailTemplateStructure",
|
|
726
874
|
"PromptVersionDetailType",
|
|
727
875
|
"PromptVersionLink",
|
|
728
876
|
"PromptVersionLinkPublic",
|
|
729
877
|
"PromptVersionLinkWrite",
|
|
730
878
|
"PromptVersionPagePublic",
|
|
731
879
|
"PromptVersionPublic",
|
|
880
|
+
"PromptVersionPublicTemplateStructure",
|
|
732
881
|
"PromptVersionPublicType",
|
|
882
|
+
"PromptVersionTemplateStructure",
|
|
733
883
|
"PromptVersionType",
|
|
734
884
|
"ProviderApiKey",
|
|
735
885
|
"ProviderApiKeyPagePublic",
|
|
@@ -744,19 +894,47 @@ __all__ = [
|
|
|
744
894
|
"ServiceTogglesConfig",
|
|
745
895
|
"Span",
|
|
746
896
|
"SpanBatch",
|
|
897
|
+
"SpanEnrichmentOptions",
|
|
747
898
|
"SpanExperimentItemBulkWriteView",
|
|
748
899
|
"SpanExperimentItemBulkWriteViewType",
|
|
900
|
+
"SpanFilter",
|
|
901
|
+
"SpanFilterOperator",
|
|
749
902
|
"SpanFilterPublic",
|
|
750
903
|
"SpanFilterPublicOperator",
|
|
904
|
+
"SpanFilterWrite",
|
|
905
|
+
"SpanFilterWriteOperator",
|
|
906
|
+
"SpanLlmAsJudgeCode",
|
|
907
|
+
"SpanLlmAsJudgeCodePublic",
|
|
908
|
+
"SpanLlmAsJudgeCodeWrite",
|
|
751
909
|
"SpanPagePublic",
|
|
752
910
|
"SpanPublic",
|
|
753
911
|
"SpanPublicType",
|
|
754
912
|
"SpanType",
|
|
913
|
+
"SpanUpdate",
|
|
914
|
+
"SpanUpdateType",
|
|
755
915
|
"SpanWrite",
|
|
756
916
|
"SpanWriteType",
|
|
757
917
|
"SpansCountResponse",
|
|
758
918
|
"StartMultipartUploadResponse",
|
|
759
919
|
"StreamOptions",
|
|
920
|
+
"StudioEvaluation",
|
|
921
|
+
"StudioEvaluationPublic",
|
|
922
|
+
"StudioEvaluationWrite",
|
|
923
|
+
"StudioLlmModel",
|
|
924
|
+
"StudioLlmModelPublic",
|
|
925
|
+
"StudioLlmModelWrite",
|
|
926
|
+
"StudioMessage",
|
|
927
|
+
"StudioMessagePublic",
|
|
928
|
+
"StudioMessageWrite",
|
|
929
|
+
"StudioMetric",
|
|
930
|
+
"StudioMetricPublic",
|
|
931
|
+
"StudioMetricWrite",
|
|
932
|
+
"StudioOptimizer",
|
|
933
|
+
"StudioOptimizerPublic",
|
|
934
|
+
"StudioOptimizerWrite",
|
|
935
|
+
"StudioPrompt",
|
|
936
|
+
"StudioPromptPublic",
|
|
937
|
+
"StudioPromptWrite",
|
|
760
938
|
"Tool",
|
|
761
939
|
"ToolCall",
|
|
762
940
|
"Trace",
|
|
@@ -778,15 +956,19 @@ __all__ = [
|
|
|
778
956
|
"TraceThreadFilterOperator",
|
|
779
957
|
"TraceThreadFilterPublic",
|
|
780
958
|
"TraceThreadFilterPublicOperator",
|
|
959
|
+
"TraceThreadFilterWrite",
|
|
960
|
+
"TraceThreadFilterWriteOperator",
|
|
781
961
|
"TraceThreadIdentifier",
|
|
782
962
|
"TraceThreadLlmAsJudgeCode",
|
|
783
963
|
"TraceThreadLlmAsJudgeCodePublic",
|
|
784
964
|
"TraceThreadLlmAsJudgeCodeWrite",
|
|
785
965
|
"TraceThreadPage",
|
|
786
966
|
"TraceThreadStatus",
|
|
967
|
+
"TraceThreadUpdate",
|
|
787
968
|
"TraceThreadUserDefinedMetricPythonCode",
|
|
788
969
|
"TraceThreadUserDefinedMetricPythonCodePublic",
|
|
789
970
|
"TraceThreadUserDefinedMetricPythonCodeWrite",
|
|
971
|
+
"TraceUpdate",
|
|
790
972
|
"TraceVisibilityMode",
|
|
791
973
|
"TraceWrite",
|
|
792
974
|
"Usage",
|
|
@@ -801,6 +983,9 @@ __all__ = [
|
|
|
801
983
|
"ValueEntryPublic",
|
|
802
984
|
"ValueEntryPublicSource",
|
|
803
985
|
"ValueEntrySource",
|
|
986
|
+
"VideoUrl",
|
|
987
|
+
"VideoUrlPublic",
|
|
988
|
+
"VideoUrlWrite",
|
|
804
989
|
"Webhook",
|
|
805
990
|
"WebhookExamples",
|
|
806
991
|
"WebhookPublic",
|
|
@@ -15,6 +15,7 @@ class AggregationData(UniversalBaseModel):
|
|
|
15
15
|
total_estimated_cost_avg: typing.Optional[float] = None
|
|
16
16
|
duration: typing.Optional[PercentageValues] = None
|
|
17
17
|
feedback_scores: typing.Optional[typing.List[FeedbackScoreAverage]] = None
|
|
18
|
+
experiment_scores: typing.Optional[typing.List[FeedbackScoreAverage]] = None
|
|
18
19
|
|
|
19
20
|
if IS_PYDANTIC_V2:
|
|
20
21
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -2,4 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
AlertTriggerConfigPublicType = typing.Union[
|
|
5
|
+
AlertTriggerConfigPublicType = typing.Union[
|
|
6
|
+
typing.Literal[
|
|
7
|
+
"scope:project", "threshold:feedback_score", "threshold:cost", "threshold:latency", "threshold:errors"
|
|
8
|
+
],
|
|
9
|
+
typing.Any,
|
|
10
|
+
]
|
|
@@ -2,4 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
AlertTriggerConfigType = typing.Union[
|
|
5
|
+
AlertTriggerConfigType = typing.Union[
|
|
6
|
+
typing.Literal[
|
|
7
|
+
"scope:project", "threshold:feedback_score", "threshold:cost", "threshold:latency", "threshold:errors"
|
|
8
|
+
],
|
|
9
|
+
typing.Any,
|
|
10
|
+
]
|
|
@@ -2,4 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
|
-
AlertTriggerConfigWriteType = typing.Union[
|
|
5
|
+
AlertTriggerConfigWriteType = typing.Union[
|
|
6
|
+
typing.Literal[
|
|
7
|
+
"scope:project", "threshold:feedback_score", "threshold:cost", "threshold:latency", "threshold:errors"
|
|
8
|
+
],
|
|
9
|
+
typing.Any,
|
|
10
|
+
]
|