opik 1.9.44__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.
- opik-1.9.44/LICENSE +203 -0
- opik-1.9.44/PKG-INFO +369 -0
- opik-1.9.44/README.md +188 -0
- opik-1.9.44/pyproject.toml +10 -0
- opik-1.9.44/setup.cfg +4 -0
- opik-1.9.44/setup.py +89 -0
- opik-1.9.44/src/opik/__init__.py +79 -0
- opik-1.9.44/src/opik/_logging.py +104 -0
- opik-1.9.44/src/opik/anonymizer/__init__.py +5 -0
- opik-1.9.44/src/opik/anonymizer/anonymizer.py +12 -0
- opik-1.9.44/src/opik/anonymizer/factory.py +80 -0
- opik-1.9.44/src/opik/anonymizer/recursive_anonymizer.py +64 -0
- opik-1.9.44/src/opik/anonymizer/rules.py +56 -0
- opik-1.9.44/src/opik/anonymizer/rules_anonymizer.py +35 -0
- opik-1.9.44/src/opik/api_key/__init__.py +13 -0
- opik-1.9.44/src/opik/api_key/base64_helper.py +27 -0
- opik-1.9.44/src/opik/api_key/opik_api_key.py +97 -0
- opik-1.9.44/src/opik/api_objects/__init__.py +0 -0
- opik-1.9.44/src/opik/api_objects/attachment/__init__.py +5 -0
- opik-1.9.44/src/opik/api_objects/attachment/attachment.py +20 -0
- opik-1.9.44/src/opik/api_objects/attachment/client.py +219 -0
- opik-1.9.44/src/opik/api_objects/attachment/converters.py +49 -0
- opik-1.9.44/src/opik/api_objects/constants.py +7 -0
- opik-1.9.44/src/opik/api_objects/conversation/__init__.py +0 -0
- opik-1.9.44/src/opik/api_objects/conversation/conversation_factory.py +43 -0
- opik-1.9.44/src/opik/api_objects/conversation/conversation_thread.py +49 -0
- opik-1.9.44/src/opik/api_objects/data_helpers.py +79 -0
- opik-1.9.44/src/opik/api_objects/dataset/__init__.py +4 -0
- opik-1.9.44/src/opik/api_objects/dataset/converters.py +106 -0
- opik-1.9.44/src/opik/api_objects/dataset/dataset.py +412 -0
- opik-1.9.44/src/opik/api_objects/dataset/dataset_item.py +46 -0
- opik-1.9.44/src/opik/api_objects/dataset/rest_operations.py +96 -0
- opik-1.9.44/src/opik/api_objects/experiment/__init__.py +8 -0
- opik-1.9.44/src/opik/api_objects/experiment/experiment.py +151 -0
- opik-1.9.44/src/opik/api_objects/experiment/experiment_item.py +49 -0
- opik-1.9.44/src/opik/api_objects/experiment/experiments_client.py +64 -0
- opik-1.9.44/src/opik/api_objects/experiment/helpers.py +89 -0
- opik-1.9.44/src/opik/api_objects/experiment/rest_operations.py +105 -0
- opik-1.9.44/src/opik/api_objects/feedback_score/__init__.py +3 -0
- opik-1.9.44/src/opik/api_objects/feedback_score/converters.py +21 -0
- opik-1.9.44/src/opik/api_objects/helpers.py +165 -0
- opik-1.9.44/src/opik/api_objects/local_recording.py +80 -0
- opik-1.9.44/src/opik/api_objects/opik_client.py +1700 -0
- opik-1.9.44/src/opik/api_objects/opik_query_language.py +411 -0
- opik-1.9.44/src/opik/api_objects/optimization/__init__.py +3 -0
- opik-1.9.44/src/opik/api_objects/optimization/optimization.py +39 -0
- opik-1.9.44/src/opik/api_objects/prompt/__init__.py +17 -0
- opik-1.9.44/src/opik/api_objects/prompt/base_prompt.py +69 -0
- opik-1.9.44/src/opik/api_objects/prompt/base_prompt_template.py +29 -0
- opik-1.9.44/src/opik/api_objects/prompt/chat/__init__.py +1 -0
- opik-1.9.44/src/opik/api_objects/prompt/chat/chat_prompt.py +193 -0
- opik-1.9.44/src/opik/api_objects/prompt/chat/chat_prompt_template.py +350 -0
- opik-1.9.44/src/opik/api_objects/prompt/chat/content_renderer_registry.py +203 -0
- opik-1.9.44/src/opik/api_objects/prompt/client.py +310 -0
- opik-1.9.44/src/opik/api_objects/prompt/text/__init__.py +1 -0
- opik-1.9.44/src/opik/api_objects/prompt/text/prompt.py +174 -0
- opik-1.9.44/src/opik/api_objects/prompt/text/prompt_template.py +55 -0
- opik-1.9.44/src/opik/api_objects/prompt/types.py +29 -0
- opik-1.9.44/src/opik/api_objects/rest_stream_parser.py +98 -0
- opik-1.9.44/src/opik/api_objects/search_helpers.py +89 -0
- opik-1.9.44/src/opik/api_objects/span/__init__.py +5 -0
- opik-1.9.44/src/opik/api_objects/span/converters.py +34 -0
- opik-1.9.44/src/opik/api_objects/span/span_client.py +402 -0
- opik-1.9.44/src/opik/api_objects/span/span_data.py +211 -0
- opik-1.9.44/src/opik/api_objects/threads/__init__.py +0 -0
- opik-1.9.44/src/opik/api_objects/threads/threads_client.py +182 -0
- opik-1.9.44/src/opik/api_objects/trace/__init__.py +9 -0
- opik-1.9.44/src/opik/api_objects/trace/converters.py +29 -0
- opik-1.9.44/src/opik/api_objects/trace/migration.py +55 -0
- opik-1.9.44/src/opik/api_objects/trace/trace_client.py +267 -0
- opik-1.9.44/src/opik/api_objects/trace/trace_data.py +179 -0
- opik-1.9.44/src/opik/api_objects/validation_helpers.py +54 -0
- opik-1.9.44/src/opik/cli/__init__.py +5 -0
- opik-1.9.44/src/opik/cli/__main__.py +6 -0
- opik-1.9.44/src/opik/cli/configure.py +66 -0
- opik-1.9.44/src/opik/cli/export.py +791 -0
- opik-1.9.44/src/opik/cli/healthcheck.py +21 -0
- opik-1.9.44/src/opik/cli/import_command.py +575 -0
- opik-1.9.44/src/opik/cli/main.py +47 -0
- opik-1.9.44/src/opik/cli/proxy.py +93 -0
- opik-1.9.44/src/opik/cli/usage_report/__init__.py +16 -0
- opik-1.9.44/src/opik/cli/usage_report/charts.py +783 -0
- opik-1.9.44/src/opik/cli/usage_report/cli.py +274 -0
- opik-1.9.44/src/opik/cli/usage_report/constants.py +9 -0
- opik-1.9.44/src/opik/cli/usage_report/extraction.py +749 -0
- opik-1.9.44/src/opik/cli/usage_report/pdf.py +244 -0
- opik-1.9.44/src/opik/cli/usage_report/statistics.py +78 -0
- opik-1.9.44/src/opik/cli/usage_report/utils.py +235 -0
- opik-1.9.44/src/opik/config.py +437 -0
- opik-1.9.44/src/opik/configurator/__init__.py +0 -0
- opik-1.9.44/src/opik/configurator/configure.py +532 -0
- opik-1.9.44/src/opik/configurator/interactive_helpers.py +151 -0
- opik-1.9.44/src/opik/configurator/opik_rest_helpers.py +105 -0
- opik-1.9.44/src/opik/context_storage.py +200 -0
- opik-1.9.44/src/opik/datetime_helpers.py +10 -0
- opik-1.9.44/src/opik/decorator/__init__.py +0 -0
- opik-1.9.44/src/opik/decorator/arguments_helpers.py +100 -0
- opik-1.9.44/src/opik/decorator/base_track_decorator.py +693 -0
- opik-1.9.44/src/opik/decorator/context_manager/__init__.py +0 -0
- opik-1.9.44/src/opik/decorator/context_manager/span_context_manager.py +123 -0
- opik-1.9.44/src/opik/decorator/context_manager/trace_context_manager.py +84 -0
- opik-1.9.44/src/opik/decorator/error_info_collector.py +17 -0
- opik-1.9.44/src/opik/decorator/generator_wrappers.py +191 -0
- opik-1.9.44/src/opik/decorator/inspect_helpers.py +57 -0
- opik-1.9.44/src/opik/decorator/opik_args/__init__.py +13 -0
- opik-1.9.44/src/opik/decorator/opik_args/api_classes.py +71 -0
- opik-1.9.44/src/opik/decorator/opik_args/helpers.py +120 -0
- opik-1.9.44/src/opik/decorator/span_creation_handler.py +124 -0
- opik-1.9.44/src/opik/decorator/tracker.py +85 -0
- opik-1.9.44/src/opik/dict_utils.py +82 -0
- opik-1.9.44/src/opik/environment.py +154 -0
- opik-1.9.44/src/opik/error_tracking/__init__.py +11 -0
- opik-1.9.44/src/opik/error_tracking/api.py +60 -0
- opik-1.9.44/src/opik/error_tracking/before_send.py +62 -0
- opik-1.9.44/src/opik/error_tracking/environment_details.py +86 -0
- opik-1.9.44/src/opik/error_tracking/error_filtering/__init__.py +3 -0
- opik-1.9.44/src/opik/error_tracking/error_filtering/event_filter.py +9 -0
- opik-1.9.44/src/opik/error_tracking/error_filtering/filter_by_count.py +21 -0
- opik-1.9.44/src/opik/error_tracking/error_filtering/filter_by_response_status_code.py +42 -0
- opik-1.9.44/src/opik/error_tracking/error_filtering/filter_chain.py +24 -0
- opik-1.9.44/src/opik/error_tracking/error_filtering/filter_chain_builder.py +34 -0
- opik-1.9.44/src/opik/error_tracking/logger_setup.py +40 -0
- opik-1.9.44/src/opik/error_tracking/shutdown_hooks.py +41 -0
- opik-1.9.44/src/opik/error_tracking/types.py +4 -0
- opik-1.9.44/src/opik/error_tracking/user_details.py +34 -0
- opik-1.9.44/src/opik/evaluation/__init__.py +15 -0
- opik-1.9.44/src/opik/evaluation/asyncio_support.py +43 -0
- opik-1.9.44/src/opik/evaluation/engine/__init__.py +3 -0
- opik-1.9.44/src/opik/evaluation/engine/engine.py +397 -0
- opik-1.9.44/src/opik/evaluation/engine/evaluation_tasks_executor.py +48 -0
- opik-1.9.44/src/opik/evaluation/engine/exception_analyzer.py +16 -0
- opik-1.9.44/src/opik/evaluation/engine/helpers.py +69 -0
- opik-1.9.44/src/opik/evaluation/engine/metrics_evaluator.py +237 -0
- opik-1.9.44/src/opik/evaluation/engine/types.py +8 -0
- opik-1.9.44/src/opik/evaluation/evaluation_result.py +179 -0
- opik-1.9.44/src/opik/evaluation/evaluator.py +957 -0
- opik-1.9.44/src/opik/evaluation/metrics/__init__.py +152 -0
- opik-1.9.44/src/opik/evaluation/metrics/aggregated_metric.py +92 -0
- opik-1.9.44/src/opik/evaluation/metrics/arguments_helpers.py +72 -0
- opik-1.9.44/src/opik/evaluation/metrics/arguments_validator.py +38 -0
- opik-1.9.44/src/opik/evaluation/metrics/base_metric.py +71 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/__init__.py +48 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/conversation_thread_metric.py +79 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/conversation_turns_factory.py +39 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/g_eval_wrappers.py +19 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/helpers.py +84 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/heuristics/__init__.py +14 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/heuristics/degeneration/__init__.py +3 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/heuristics/degeneration/metric.py +189 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/heuristics/degeneration/phrases.py +12 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/heuristics/knowledge_retention/__init__.py +3 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/heuristics/knowledge_retention/metric.py +172 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/__init__.py +32 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/conversational_coherence/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/conversational_coherence/metric.py +274 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/conversational_coherence/schema.py +16 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/conversational_coherence/templates.py +95 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/g_eval_wrappers.py +442 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/session_completeness/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/session_completeness/metric.py +295 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/session_completeness/schema.py +22 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/session_completeness/templates.py +139 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/user_frustration/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/user_frustration/metric.py +277 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/user_frustration/schema.py +16 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/llm_judges/user_frustration/templates.py +135 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation/types.py +34 -0
- opik-1.9.44/src/opik/evaluation/metrics/conversation_types.py +9 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/bertscore.py +107 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/bleu.py +306 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/chrf.py +127 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/contains.py +102 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/distribution_metrics.py +331 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/equals.py +65 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/gleu.py +113 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/is_json.py +54 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/language_adherence.py +123 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/levenshtein_ratio.py +67 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/meteor.py +119 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/prompt_injection.py +150 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/readability.py +129 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/regex_match.py +63 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/rouge.py +148 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/sentiment.py +98 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/spearman.py +88 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/tone.py +155 -0
- opik-1.9.44/src/opik/evaluation/metrics/heuristics/vader_sentiment.py +77 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/answer_relevance/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/answer_relevance/metric.py +200 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/answer_relevance/parser.py +27 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/answer_relevance/templates.py +243 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_precision/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_precision/metric.py +153 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_precision/parser.py +27 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_precision/template.py +124 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_recall/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_recall/metric.py +151 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_recall/parser.py +27 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/context_recall/template.py +141 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/factuality/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/factuality/metric.py +124 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/factuality/parser.py +35 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/factuality/template.py +123 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval/__init__.py +5 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval/metric.py +336 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval/parser.py +161 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval/presets.py +209 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval/template.py +35 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval_presets/__init__.py +36 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval_presets/agent_assessment.py +77 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval_presets/bias_classifier.py +181 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval_presets/compliance_risk.py +41 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval_presets/prompt_uncertainty.py +41 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/g_eval_presets/qa_suite.py +146 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/hallucination/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/hallucination/metric.py +140 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/hallucination/parser.py +29 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/hallucination/template.py +112 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/llm_juries/__init__.py +3 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/llm_juries/metric.py +76 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/moderation/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/moderation/metric.py +120 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/moderation/parser.py +27 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/moderation/template.py +79 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/parsing_helpers.py +26 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/structure_output_compliance/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/structure_output_compliance/metric.py +144 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/structure_output_compliance/parser.py +79 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/structure_output_compliance/schema.py +15 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/structure_output_compliance/template.py +50 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/syc_eval/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/syc_eval/metric.py +252 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/syc_eval/parser.py +82 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/syc_eval/template.py +155 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/trajectory_accuracy/__init__.py +3 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/trajectory_accuracy/metric.py +171 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/trajectory_accuracy/parser.py +38 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/trajectory_accuracy/templates.py +65 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/usefulness/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/usefulness/metric.py +121 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/usefulness/parser.py +28 -0
- opik-1.9.44/src/opik/evaluation/metrics/llm_judges/usefulness/template.py +41 -0
- opik-1.9.44/src/opik/evaluation/metrics/ragas_metric.py +92 -0
- opik-1.9.44/src/opik/evaluation/metrics/score_result.py +11 -0
- opik-1.9.44/src/opik/evaluation/models/__init__.py +17 -0
- opik-1.9.44/src/opik/evaluation/models/base_model.py +199 -0
- opik-1.9.44/src/opik/evaluation/models/langchain/__init__.py +3 -0
- opik-1.9.44/src/opik/evaluation/models/langchain/langchain_chat_model.py +166 -0
- opik-1.9.44/src/opik/evaluation/models/langchain/message_converters.py +106 -0
- opik-1.9.44/src/opik/evaluation/models/langchain/opik_monitoring.py +23 -0
- opik-1.9.44/src/opik/evaluation/models/litellm/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/models/litellm/litellm_chat_model.py +387 -0
- opik-1.9.44/src/opik/evaluation/models/litellm/opik_monitor.py +101 -0
- opik-1.9.44/src/opik/evaluation/models/litellm/util.py +141 -0
- opik-1.9.44/src/opik/evaluation/models/litellm/warning_filters.py +39 -0
- opik-1.9.44/src/opik/evaluation/models/model_capabilities.py +187 -0
- opik-1.9.44/src/opik/evaluation/models/models_factory.py +35 -0
- opik-1.9.44/src/opik/evaluation/preprocessing.py +92 -0
- opik-1.9.44/src/opik/evaluation/report.py +160 -0
- opik-1.9.44/src/opik/evaluation/rest_operations.py +100 -0
- opik-1.9.44/src/opik/evaluation/samplers/__init__.py +4 -0
- opik-1.9.44/src/opik/evaluation/samplers/base_dataset_sampler.py +40 -0
- opik-1.9.44/src/opik/evaluation/samplers/random_dataset_sampler.py +48 -0
- opik-1.9.44/src/opik/evaluation/score_statistics.py +66 -0
- opik-1.9.44/src/opik/evaluation/scorers/__init__.py +4 -0
- opik-1.9.44/src/opik/evaluation/scorers/scorer_function.py +55 -0
- opik-1.9.44/src/opik/evaluation/scorers/scorer_wrapper_metric.py +130 -0
- opik-1.9.44/src/opik/evaluation/test_case.py +11 -0
- opik-1.9.44/src/opik/evaluation/test_result.py +13 -0
- opik-1.9.44/src/opik/evaluation/threads/__init__.py +0 -0
- opik-1.9.44/src/opik/evaluation/threads/context_helper.py +32 -0
- opik-1.9.44/src/opik/evaluation/threads/evaluation_engine.py +181 -0
- opik-1.9.44/src/opik/evaluation/threads/evaluation_result.py +18 -0
- opik-1.9.44/src/opik/evaluation/threads/evaluator.py +120 -0
- opik-1.9.44/src/opik/evaluation/threads/helpers.py +50 -0
- opik-1.9.44/src/opik/evaluation/types.py +13 -0
- opik-1.9.44/src/opik/exceptions.py +165 -0
- opik-1.9.44/src/opik/file_upload/__init__.py +0 -0
- opik-1.9.44/src/opik/file_upload/base_upload_manager.py +39 -0
- opik-1.9.44/src/opik/file_upload/file_upload_monitor.py +14 -0
- opik-1.9.44/src/opik/file_upload/file_uploader.py +128 -0
- opik-1.9.44/src/opik/file_upload/mime_type.py +9 -0
- opik-1.9.44/src/opik/file_upload/s3_multipart_upload/__init__.py +0 -0
- opik-1.9.44/src/opik/file_upload/s3_multipart_upload/file_parts_strategy.py +89 -0
- opik-1.9.44/src/opik/file_upload/s3_multipart_upload/s3_file_uploader.py +86 -0
- opik-1.9.44/src/opik/file_upload/s3_multipart_upload/s3_upload_error.py +29 -0
- opik-1.9.44/src/opik/file_upload/thread_pool.py +17 -0
- opik-1.9.44/src/opik/file_upload/upload_client.py +114 -0
- opik-1.9.44/src/opik/file_upload/upload_manager.py +255 -0
- opik-1.9.44/src/opik/file_upload/upload_options.py +35 -0
- opik-1.9.44/src/opik/format_helpers.py +17 -0
- opik-1.9.44/src/opik/forwarding_server/__init__.py +0 -0
- opik-1.9.44/src/opik/forwarding_server/app.py +284 -0
- opik-1.9.44/src/opik/forwarding_server/utils.py +93 -0
- opik-1.9.44/src/opik/guardrails/__init__.py +4 -0
- opik-1.9.44/src/opik/guardrails/guardrail.py +157 -0
- opik-1.9.44/src/opik/guardrails/guards/__init__.py +5 -0
- opik-1.9.44/src/opik/guardrails/guards/guard.py +17 -0
- opik-1.9.44/src/opik/guardrails/guards/pii.py +47 -0
- opik-1.9.44/src/opik/guardrails/guards/topic.py +76 -0
- opik-1.9.44/src/opik/guardrails/rest_api_client.py +34 -0
- opik-1.9.44/src/opik/guardrails/schemas.py +24 -0
- opik-1.9.44/src/opik/guardrails/tracing.py +61 -0
- opik-1.9.44/src/opik/healthcheck/__init__.py +47 -0
- opik-1.9.44/src/opik/healthcheck/checks.py +37 -0
- opik-1.9.44/src/opik/healthcheck/rich_representation.py +109 -0
- opik-1.9.44/src/opik/hooks/__init__.py +23 -0
- opik-1.9.44/src/opik/hooks/anonymizer_hook.py +36 -0
- opik-1.9.44/src/opik/hooks/httpx_client_hook.py +112 -0
- opik-1.9.44/src/opik/httpx_client.py +130 -0
- opik-1.9.44/src/opik/id_helpers.py +60 -0
- opik-1.9.44/src/opik/integrations/__init__.py +0 -0
- opik-1.9.44/src/opik/integrations/adk/__init__.py +14 -0
- opik-1.9.44/src/opik/integrations/adk/callback_context_info_extractors.py +32 -0
- opik-1.9.44/src/opik/integrations/adk/graph/__init__.py +0 -0
- opik-1.9.44/src/opik/integrations/adk/graph/mermaid_graph_builder.py +128 -0
- opik-1.9.44/src/opik/integrations/adk/graph/nodes.py +101 -0
- opik-1.9.44/src/opik/integrations/adk/graph/subgraph_edges_builders.py +41 -0
- opik-1.9.44/src/opik/integrations/adk/helpers.py +48 -0
- opik-1.9.44/src/opik/integrations/adk/legacy_opik_tracer.py +381 -0
- opik-1.9.44/src/opik/integrations/adk/opik_tracer.py +370 -0
- opik-1.9.44/src/opik/integrations/adk/patchers/__init__.py +4 -0
- opik-1.9.44/src/opik/integrations/adk/patchers/adk_otel_tracer/__init__.py +0 -0
- opik-1.9.44/src/opik/integrations/adk/patchers/adk_otel_tracer/llm_span_helpers.py +30 -0
- opik-1.9.44/src/opik/integrations/adk/patchers/adk_otel_tracer/opik_adk_otel_tracer.py +201 -0
- opik-1.9.44/src/opik/integrations/adk/patchers/litellm_wrappers.py +91 -0
- opik-1.9.44/src/opik/integrations/adk/patchers/llm_response_wrapper.py +105 -0
- opik-1.9.44/src/opik/integrations/adk/patchers/patchers.py +64 -0
- opik-1.9.44/src/opik/integrations/adk/recursive_callback_injector.py +126 -0
- opik-1.9.44/src/opik/integrations/aisuite/__init__.py +4 -0
- opik-1.9.44/src/opik/integrations/aisuite/aisuite_decorator.py +164 -0
- opik-1.9.44/src/opik/integrations/aisuite/opik_tracker.py +44 -0
- opik-1.9.44/src/opik/integrations/anthropic/__init__.py +4 -0
- opik-1.9.44/src/opik/integrations/anthropic/messages_batch_decorator.py +16 -0
- opik-1.9.44/src/opik/integrations/anthropic/messages_create_decorator.py +142 -0
- opik-1.9.44/src/opik/integrations/anthropic/opik_tracker.py +125 -0
- opik-1.9.44/src/opik/integrations/anthropic/stream_patchers.py +347 -0
- opik-1.9.44/src/opik/integrations/bedrock/__init__.py +3 -0
- opik-1.9.44/src/opik/integrations/bedrock/converse/__init__.py +0 -0
- opik-1.9.44/src/opik/integrations/bedrock/converse/chunks_aggregator.py +188 -0
- opik-1.9.44/src/opik/integrations/bedrock/converse/converse_decorator.py +125 -0
- opik-1.9.44/src/opik/integrations/bedrock/converse/stream_wrappers.py +51 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_agent_decorator.py +111 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/__init__.py +0 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/__init__.py +78 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/api.py +45 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/base.py +23 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/claude.py +121 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/format_detector.py +107 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/llama.py +108 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/mistral.py +118 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/chunks_aggregator/nova.py +99 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/invoke_model_decorator.py +178 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/response_types.py +34 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/stream_wrappers.py +122 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/usage_converters.py +87 -0
- opik-1.9.44/src/opik/integrations/bedrock/invoke_model/usage_extraction.py +108 -0
- opik-1.9.44/src/opik/integrations/bedrock/opik_tracker.py +100 -0
- opik-1.9.44/src/opik/integrations/bedrock/types.py +19 -0
- opik-1.9.44/src/opik/integrations/crewai/__init__.py +4 -0
- opik-1.9.44/src/opik/integrations/crewai/crewai_decorator.py +196 -0
- opik-1.9.44/src/opik/integrations/crewai/opik_tracker.py +65 -0
- opik-1.9.44/src/opik/integrations/crewai/patchers/__init__.py +5 -0
- opik-1.9.44/src/opik/integrations/crewai/patchers/flow.py +118 -0
- opik-1.9.44/src/opik/integrations/crewai/patchers/litellm_completion.py +30 -0
- opik-1.9.44/src/opik/integrations/crewai/patchers/llm_client.py +207 -0
- opik-1.9.44/src/opik/integrations/dspy/__init__.py +3 -0
- opik-1.9.44/src/opik/integrations/dspy/callback.py +347 -0
- opik-1.9.44/src/opik/integrations/dspy/graph.py +88 -0
- opik-1.9.44/src/opik/integrations/genai/__init__.py +6 -0
- opik-1.9.44/src/opik/integrations/genai/encoder_extension.py +21 -0
- opik-1.9.44/src/opik/integrations/genai/generate_content_decorator.py +161 -0
- opik-1.9.44/src/opik/integrations/genai/generations_aggregators.py +17 -0
- opik-1.9.44/src/opik/integrations/genai/opik_tracker.py +82 -0
- opik-1.9.44/src/opik/integrations/genai/stream_wrappers.py +106 -0
- opik-1.9.44/src/opik/integrations/guardrails/__init__.py +3 -0
- opik-1.9.44/src/opik/integrations/guardrails/guardrails_decorator.py +92 -0
- opik-1.9.44/src/opik/integrations/guardrails/guardrails_tracker.py +37 -0
- opik-1.9.44/src/opik/integrations/haystack/__init__.py +3 -0
- opik-1.9.44/src/opik/integrations/haystack/constants.py +35 -0
- opik-1.9.44/src/opik/integrations/haystack/converters.py +30 -0
- opik-1.9.44/src/opik/integrations/haystack/opik_connector.py +147 -0
- opik-1.9.44/src/opik/integrations/haystack/opik_span_bridge.py +284 -0
- opik-1.9.44/src/opik/integrations/haystack/opik_tracer.py +184 -0
- opik-1.9.44/src/opik/integrations/langchain/__init__.py +4 -0
- opik-1.9.44/src/opik/integrations/langchain/base_llm_patcher.py +20 -0
- opik-1.9.44/src/opik/integrations/langchain/helpers.py +96 -0
- opik-1.9.44/src/opik/integrations/langchain/langgraph_async_context_bridge.py +131 -0
- opik-1.9.44/src/opik/integrations/langchain/opik_encoder_extension.py +13 -0
- opik-1.9.44/src/opik/integrations/langchain/opik_tracer.py +887 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/__init__.py +5 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/anthropic_usage_extractor.py +101 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/anthropic_vertexai_usage_extractor.py +67 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/bedrock_usage_extractor.py +94 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/google_generative_ai_usage_extractor.py +109 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/groq_usage_extractor.py +92 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/langchain_run_helpers/__init__.py +15 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/langchain_run_helpers/helpers.py +134 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/langchain_run_helpers/langchain_usage.py +163 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/openai_usage_extractor.py +124 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/provider_usage_extractor_protocol.py +29 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/usage_extractor.py +48 -0
- opik-1.9.44/src/opik/integrations/langchain/provider_usage_extractors/vertexai_usage_extractor.py +109 -0
- opik-1.9.44/src/opik/integrations/litellm/__init__.py +5 -0
- opik-1.9.44/src/opik/integrations/litellm/completion_chunks_aggregator.py +115 -0
- opik-1.9.44/src/opik/integrations/litellm/litellm_completion_decorator.py +242 -0
- opik-1.9.44/src/opik/integrations/litellm/opik_tracker.py +43 -0
- opik-1.9.44/src/opik/integrations/litellm/stream_patchers.py +151 -0
- opik-1.9.44/src/opik/integrations/llama_index/__init__.py +3 -0
- opik-1.9.44/src/opik/integrations/llama_index/callback.py +232 -0
- opik-1.9.44/src/opik/integrations/llama_index/event_parsing_utils.py +176 -0
- opik-1.9.44/src/opik/integrations/openai/__init__.py +3 -0
- opik-1.9.44/src/opik/integrations/openai/agents/__init__.py +3 -0
- opik-1.9.44/src/opik/integrations/openai/agents/opik_tracing_processor.py +252 -0
- opik-1.9.44/src/opik/integrations/openai/agents/span_data_parsers.py +149 -0
- opik-1.9.44/src/opik/integrations/openai/chat_completion_chunks_aggregator.py +72 -0
- opik-1.9.44/src/opik/integrations/openai/openai_chat_completions_decorator.py +198 -0
- opik-1.9.44/src/opik/integrations/openai/openai_responses_decorator.py +158 -0
- opik-1.9.44/src/opik/integrations/openai/opik_tracker.py +145 -0
- opik-1.9.44/src/opik/integrations/openai/response_events_aggregator.py +36 -0
- opik-1.9.44/src/opik/integrations/openai/stream_patchers.py +261 -0
- opik-1.9.44/src/opik/integrations/sagemaker/__init__.py +0 -0
- opik-1.9.44/src/opik/integrations/sagemaker/auth.py +50 -0
- opik-1.9.44/src/opik/jsonable_encoder.py +120 -0
- opik-1.9.44/src/opik/llm_usage/__init__.py +15 -0
- opik-1.9.44/src/opik/llm_usage/anthropic_usage.py +25 -0
- opik-1.9.44/src/opik/llm_usage/base_original_provider_usage.py +45 -0
- opik-1.9.44/src/opik/llm_usage/bedrock_usage.py +25 -0
- opik-1.9.44/src/opik/llm_usage/google_usage.py +30 -0
- opik-1.9.44/src/opik/llm_usage/llm_usage_info.py +19 -0
- opik-1.9.44/src/opik/llm_usage/openai_chat_completions_usage.py +99 -0
- opik-1.9.44/src/opik/llm_usage/openai_responses_usage.py +95 -0
- opik-1.9.44/src/opik/llm_usage/opik_usage.py +169 -0
- opik-1.9.44/src/opik/llm_usage/opik_usage_factory.py +68 -0
- opik-1.9.44/src/opik/llm_usage/unknown_usage.py +12 -0
- opik-1.9.44/src/opik/logging_messages.py +72 -0
- opik-1.9.44/src/opik/message_processing/__init__.py +0 -0
- opik-1.9.44/src/opik/message_processing/api.py +0 -0
- opik-1.9.44/src/opik/message_processing/arguments_utils.py +22 -0
- opik-1.9.44/src/opik/message_processing/batching/__init__.py +0 -0
- opik-1.9.44/src/opik/message_processing/batching/base_batcher.py +85 -0
- opik-1.9.44/src/opik/message_processing/batching/batch_manager.py +44 -0
- opik-1.9.44/src/opik/message_processing/batching/batch_manager_constuctors.py +83 -0
- opik-1.9.44/src/opik/message_processing/batching/batchers.py +217 -0
- opik-1.9.44/src/opik/message_processing/batching/flushing_thread.py +30 -0
- opik-1.9.44/src/opik/message_processing/batching/sequence_splitter.py +103 -0
- opik-1.9.44/src/opik/message_processing/emulation/__init__.py +0 -0
- opik-1.9.44/src/opik/message_processing/emulation/emulator_message_processor.py +571 -0
- opik-1.9.44/src/opik/message_processing/emulation/local_emulator_message_processor.py +140 -0
- opik-1.9.44/src/opik/message_processing/emulation/models.py +162 -0
- opik-1.9.44/src/opik/message_processing/encoder_helpers.py +79 -0
- opik-1.9.44/src/opik/message_processing/message_processors.py +78 -0
- opik-1.9.44/src/opik/message_processing/message_processors_chain.py +95 -0
- opik-1.9.44/src/opik/message_processing/message_queue.py +79 -0
- opik-1.9.44/src/opik/message_processing/messages.py +287 -0
- opik-1.9.44/src/opik/message_processing/online_message_processor.py +322 -0
- opik-1.9.44/src/opik/message_processing/queue_consumer.py +94 -0
- opik-1.9.44/src/opik/message_processing/streamer.py +116 -0
- opik-1.9.44/src/opik/message_processing/streamer_constructors.py +74 -0
- opik-1.9.44/src/opik/opik_context.py +235 -0
- opik-1.9.44/src/opik/package_version.py +11 -0
- opik-1.9.44/src/opik/plugins/__init__.py +0 -0
- opik-1.9.44/src/opik/plugins/pytest/__init__.py +0 -0
- opik-1.9.44/src/opik/plugins/pytest/decorator.py +128 -0
- opik-1.9.44/src/opik/plugins/pytest/experiment_runner.py +82 -0
- opik-1.9.44/src/opik/plugins/pytest/hooks.py +94 -0
- opik-1.9.44/src/opik/plugins/pytest/summary.py +41 -0
- opik-1.9.44/src/opik/plugins/pytest/test_run_content.py +13 -0
- opik-1.9.44/src/opik/plugins/pytest/test_runs_storage.py +16 -0
- opik-1.9.44/src/opik/py.typed +0 -0
- opik-1.9.44/src/opik/rate_limit/__init__.py +0 -0
- opik-1.9.44/src/opik/rate_limit/rate_limit.py +25 -0
- opik-1.9.44/src/opik/rest_api/__init__.py +1094 -0
- opik-1.9.44/src/opik/rest_api/alerts/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/alerts/client.py +667 -0
- opik-1.9.44/src/opik/rest_api/alerts/raw_client.py +1015 -0
- opik-1.9.44/src/opik/rest_api/alerts/types/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/alerts/types/get_webhook_examples_request_alert_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/annotation_queues/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/annotation_queues/client.py +668 -0
- opik-1.9.44/src/opik/rest_api/annotation_queues/raw_client.py +1019 -0
- opik-1.9.44/src/opik/rest_api/attachments/__init__.py +17 -0
- opik-1.9.44/src/opik/rest_api/attachments/client.py +752 -0
- opik-1.9.44/src/opik/rest_api/attachments/raw_client.py +1125 -0
- opik-1.9.44/src/opik/rest_api/attachments/types/__init__.py +15 -0
- opik-1.9.44/src/opik/rest_api/attachments/types/attachment_list_request_entity_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/attachments/types/download_attachment_request_entity_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/attachments/types/start_multipart_upload_request_entity_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/attachments/types/upload_attachment_request_entity_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/automation_rule_evaluators/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/automation_rule_evaluators/client.py +499 -0
- opik-1.9.44/src/opik/rest_api/automation_rule_evaluators/raw_client.py +598 -0
- opik-1.9.44/src/opik/rest_api/chat_completions/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/chat_completions/client.py +310 -0
- opik-1.9.44/src/opik/rest_api/chat_completions/raw_client.py +339 -0
- opik-1.9.44/src/opik/rest_api/check/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/check/client.py +150 -0
- opik-1.9.44/src/opik/rest_api/check/raw_client.py +258 -0
- opik-1.9.44/src/opik/rest_api/client.py +324 -0
- opik-1.9.44/src/opik/rest_api/core/__init__.py +52 -0
- opik-1.9.44/src/opik/rest_api/core/api_error.py +23 -0
- opik-1.9.44/src/opik/rest_api/core/client_wrapper.py +75 -0
- opik-1.9.44/src/opik/rest_api/core/datetime_utils.py +28 -0
- opik-1.9.44/src/opik/rest_api/core/file.py +67 -0
- opik-1.9.44/src/opik/rest_api/core/http_client.py +497 -0
- opik-1.9.44/src/opik/rest_api/core/http_response.py +55 -0
- opik-1.9.44/src/opik/rest_api/core/jsonable_encoder.py +100 -0
- opik-1.9.44/src/opik/rest_api/core/pydantic_utilities.py +255 -0
- opik-1.9.44/src/opik/rest_api/core/query_encoder.py +58 -0
- opik-1.9.44/src/opik/rest_api/core/remove_none_from_dict.py +11 -0
- opik-1.9.44/src/opik/rest_api/core/request_options.py +35 -0
- opik-1.9.44/src/opik/rest_api/core/serialization.py +276 -0
- opik-1.9.44/src/opik/rest_api/dashboards/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/dashboards/client.py +462 -0
- opik-1.9.44/src/opik/rest_api/dashboards/raw_client.py +648 -0
- opik-1.9.44/src/opik/rest_api/datasets/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/datasets/client.py +2373 -0
- opik-1.9.44/src/opik/rest_api/datasets/raw_client.py +3278 -0
- opik-1.9.44/src/opik/rest_api/datasets/types/__init__.py +8 -0
- opik-1.9.44/src/opik/rest_api/datasets/types/dataset_update_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/datasets/types/dataset_write_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/environment.py +7 -0
- opik-1.9.44/src/opik/rest_api/errors/__init__.py +21 -0
- opik-1.9.44/src/opik/rest_api/errors/bad_request_error.py +10 -0
- opik-1.9.44/src/opik/rest_api/errors/conflict_error.py +10 -0
- opik-1.9.44/src/opik/rest_api/errors/forbidden_error.py +11 -0
- opik-1.9.44/src/opik/rest_api/errors/not_found_error.py +10 -0
- opik-1.9.44/src/opik/rest_api/errors/not_implemented_error.py +10 -0
- opik-1.9.44/src/opik/rest_api/errors/unauthorized_error.py +10 -0
- opik-1.9.44/src/opik/rest_api/errors/unprocessable_entity_error.py +10 -0
- opik-1.9.44/src/opik/rest_api/experiments/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/experiments/client.py +1267 -0
- opik-1.9.44/src/opik/rest_api/experiments/raw_client.py +1872 -0
- opik-1.9.44/src/opik/rest_api/experiments/types/__init__.py +10 -0
- opik-1.9.44/src/opik/rest_api/experiments/types/experiment_update_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/experiments/types/experiment_update_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/experiments/types/experiment_write_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/experiments/types/experiment_write_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/feedback_definitions/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/feedback_definitions/client.py +419 -0
- opik-1.9.44/src/opik/rest_api/feedback_definitions/raw_client.py +541 -0
- opik-1.9.44/src/opik/rest_api/feedback_definitions/types/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/feedback_definitions/types/find_feedback_definitions_request_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/guardrails/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/guardrails/client.py +104 -0
- opik-1.9.44/src/opik/rest_api/guardrails/raw_client.py +102 -0
- opik-1.9.44/src/opik/rest_api/llm_provider_key/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/llm_provider_key/client.py +444 -0
- opik-1.9.44/src/opik/rest_api/llm_provider_key/raw_client.py +643 -0
- opik-1.9.44/src/opik/rest_api/llm_provider_key/types/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/llm_provider_key/types/provider_api_key_write_provider.py +7 -0
- opik-1.9.44/src/opik/rest_api/manual_evaluation/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/manual_evaluation/client.py +246 -0
- opik-1.9.44/src/opik/rest_api/manual_evaluation/raw_client.py +371 -0
- opik-1.9.44/src/opik/rest_api/open_telemetry_ingestion/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/open_telemetry_ingestion/client.py +88 -0
- opik-1.9.44/src/opik/rest_api/open_telemetry_ingestion/raw_client.py +88 -0
- opik-1.9.44/src/opik/rest_api/optimizations/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/optimizations/client.py +870 -0
- opik-1.9.44/src/opik/rest_api/optimizations/raw_client.py +1168 -0
- opik-1.9.44/src/opik/rest_api/optimizations/types/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/optimizations/types/optimization_update_status.py +7 -0
- opik-1.9.44/src/opik/rest_api/projects/__init__.py +17 -0
- opik-1.9.44/src/opik/rest_api/projects/client.py +781 -0
- opik-1.9.44/src/opik/rest_api/projects/raw_client.py +1216 -0
- opik-1.9.44/src/opik/rest_api/projects/types/__init__.py +15 -0
- opik-1.9.44/src/opik/rest_api/projects/types/project_metric_request_public_interval.py +5 -0
- opik-1.9.44/src/opik/rest_api/projects/types/project_metric_request_public_metric_type.py +18 -0
- opik-1.9.44/src/opik/rest_api/projects/types/project_update_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/projects/types/project_write_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/prompts/__init__.py +7 -0
- opik-1.9.44/src/opik/rest_api/prompts/client.py +861 -0
- opik-1.9.44/src/opik/rest_api/prompts/raw_client.py +1459 -0
- opik-1.9.44/src/opik/rest_api/prompts/types/__init__.py +9 -0
- opik-1.9.44/src/opik/rest_api/prompts/types/create_prompt_version_detail_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/prompts/types/prompt_write_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/prompts/types/prompt_write_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/raw_client.py +156 -0
- opik-1.9.44/src/opik/rest_api/redirect/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/redirect/client.py +375 -0
- opik-1.9.44/src/opik/rest_api/redirect/raw_client.py +566 -0
- opik-1.9.44/src/opik/rest_api/service_toggles/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/service_toggles/client.py +91 -0
- opik-1.9.44/src/opik/rest_api/service_toggles/raw_client.py +93 -0
- opik-1.9.44/src/opik/rest_api/spans/__init__.py +17 -0
- opik-1.9.44/src/opik/rest_api/spans/client.py +1866 -0
- opik-1.9.44/src/opik/rest_api/spans/raw_client.py +2383 -0
- opik-1.9.44/src/opik/rest_api/spans/types/__init__.py +15 -0
- opik-1.9.44/src/opik/rest_api/spans/types/find_feedback_score_names_1_request_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/spans/types/get_span_stats_request_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/spans/types/get_spans_by_project_request_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/spans/types/span_search_stream_request_public_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/system_usage/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/system_usage/client.py +354 -0
- opik-1.9.44/src/opik/rest_api/system_usage/raw_client.py +455 -0
- opik-1.9.44/src/opik/rest_api/traces/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/traces/client.py +3093 -0
- opik-1.9.44/src/opik/rest_api/traces/raw_client.py +4024 -0
- opik-1.9.44/src/opik/rest_api/types/__init__.py +1008 -0
- opik-1.9.44/src/opik/rest_api/types/aggregation_data.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/alert.py +33 -0
- opik-1.9.44/src/opik/rest_api/types/alert_alert_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/alert_page_public.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/alert_public.py +33 -0
- opik-1.9.44/src/opik/rest_api/types/alert_public_alert_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_config.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_config_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_config_public_type.py +10 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_config_type.py +10 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_config_write.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_config_write_type.py +10 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_event_type.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_public.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_public_event_type.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_write.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/alert_trigger_write_event_type.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/alert_write.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/alert_write_alert_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue.py +42 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_batch.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_item_ids.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_public.py +38 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_public_scope.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_reviewer.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_reviewer_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_scope.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_write.py +31 -0
- opik-1.9.44/src/opik/rest_api/types/annotation_queue_write_scope.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/assistant_message.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/assistant_message_role.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/attachment.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/attachment_page.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/auth_details_holder.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator.py +124 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_llm_as_judge.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_llm_as_judge_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_llm_as_judge_write.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_object_object_public.py +124 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_page_public.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_public.py +124 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_span_llm_as_judge.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_span_llm_as_judge_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_span_llm_as_judge_write.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_trace_thread_llm_as_judge.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_trace_thread_llm_as_judge_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_trace_thread_llm_as_judge_write.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_trace_thread_user_defined_metric_python.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_trace_thread_user_defined_metric_python_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_trace_thread_user_defined_metric_python_write.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_update.py +117 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_update_llm_as_judge.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_update_span_llm_as_judge.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_update_trace_thread_llm_as_judge.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_update_trace_thread_user_defined_metric_python.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_update_user_defined_metric_python.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_user_defined_metric_python.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_user_defined_metric_python_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_user_defined_metric_python_write.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/automation_rule_evaluator_write.py +117 -0
- opik-1.9.44/src/opik/rest_api/types/avg_value_stat_public.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/batch_delete.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/batch_delete_by_project.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/bi_information.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/bi_information_response.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_definition.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_definition_create.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_definition_public.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_definition_update.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_detail.py +29 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_detail_create.py +29 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_detail_public.py +29 -0
- opik-1.9.44/src/opik/rest_api/types/boolean_feedback_detail_update.py +29 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_definition.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_definition_create.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_definition_public.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_definition_update.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_detail.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_detail_create.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_detail_public.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/categorical_feedback_detail_update.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/chat_completion_choice.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/chat_completion_response.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/check.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/check_name.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/check_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/check_public_name.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/check_public_result.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/check_result.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/chunked_output_json_node.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/chunked_output_json_node_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/chunked_output_json_node_public_type.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/chunked_output_json_node_type.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/column.py +30 -0
- opik-1.9.44/src/opik/rest_api/types/column_compare.py +30 -0
- opik-1.9.44/src/opik/rest_api/types/column_compare_types_item.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/column_public.py +30 -0
- opik-1.9.44/src/opik/rest_api/types/column_public_types_item.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/column_types_item.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/comment.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/comment_compare.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/comment_public.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/complete_multipart_upload_request.py +33 -0
- opik-1.9.44/src/opik/rest_api/types/complete_multipart_upload_request_entity_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/completion_tokens_details.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/count_value_stat_public.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/dashboard_page_public.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/dashboard_public.py +30 -0
- opik-1.9.44/src/opik/rest_api/types/data_point_double.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/data_point_number_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/dataset.py +40 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_expansion.py +42 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_expansion_response.py +39 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item.py +35 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_batch.py +30 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_compare.py +35 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_compare_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_filter.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_filter_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_page_compare.py +31 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_page_public.py +31 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_public.py +35 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_public_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_update.py +39 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_write.py +26 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_item_write_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_public.py +40 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_public_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_public_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_version_diff.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_version_diff_stats.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_version_page_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_version_public.py +54 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_version_summary.py +41 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_version_summary_public.py +41 -0
- opik-1.9.44/src/opik/rest_api/types/dataset_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/delete_attachments_request.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/delete_attachments_request_entity_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/delete_feedback_score.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/delete_ids_holder.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/delta.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/error_count_with_deviation.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_count_with_deviation_detailed.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_info.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_info_experiment_item_bulk_write_view.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_info_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_info_write.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_message.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_message_detail.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/error_message_detailed.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/error_message_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/experiment.py +49 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_group_aggregations_response.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_group_response.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item.py +39 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_bulk_record.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_bulk_record_experiment_item_bulk_write_view.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_bulk_upload.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_compare.py +39 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_compare_trace_visibility_mode.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_public.py +29 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_public_trace_visibility_mode.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_item_trace_visibility_mode.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_public.py +49 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_public_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_public_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_score.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_score_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_score_write.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/experiment_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/export_trace_service_request.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/feedback.py +96 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_create.py +74 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_definition_page_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_object_public.py +98 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_public.py +96 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score.py +31 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_average.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_average_detailed.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_average_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_batch.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_batch_item.py +32 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_batch_item_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_batch_item_thread.py +32 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_batch_item_thread_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_compare.py +31 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_compare_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_experiment_item_bulk_write_view.py +31 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_experiment_item_bulk_write_view_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_names.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_public.py +35 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_public_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_score_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/feedback_update.py +74 -0
- opik-1.9.44/src/opik/rest_api/types/function.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/function_call.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/group_content.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/group_content_with_aggregations.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/group_detail.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/group_details.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/guardrail.py +34 -0
- opik-1.9.44/src/opik/rest_api/types/guardrail_batch.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/guardrail_name.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/guardrail_result.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/guardrail_write.py +33 -0
- opik-1.9.44/src/opik/rest_api/types/guardrail_write_name.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/guardrail_write_result.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/guardrails_validation.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/guardrails_validation_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/ids_holder.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/image_url.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/image_url_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/image_url_write.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/json_list_string.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/json_list_string_compare.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/json_list_string_experiment_item_bulk_write_view.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/json_list_string_public.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/json_list_string_write.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/json_node.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/json_node_detail.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/json_node_public.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/json_node_write.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/json_schema.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_code.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_code_public.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_code_write.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_content.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_content_public.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_content_write.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_public.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_public_role.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_role.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_write.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_message_write_role.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_model_parameters.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_model_parameters_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_model_parameters_write.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_output_schema.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_output_schema_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_output_schema_public_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_output_schema_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_output_schema_write.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/llm_as_judge_output_schema_write_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/log_item.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/log_item_level.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/log_page.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/manual_evaluation_request.py +38 -0
- opik-1.9.44/src/opik/rest_api/types/manual_evaluation_request_entity_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/manual_evaluation_response.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/message.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/multipart_upload_part.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_definition.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_definition_create.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_definition_public.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_definition_update.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_detail.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_detail_create.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_detail_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/numerical_feedback_detail_update.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/optimization.py +37 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_public.py +37 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_public_status.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_status.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_studio_config.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_studio_config_public.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_studio_config_write.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_studio_log.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_write.py +30 -0
- opik-1.9.44/src/opik/rest_api/types/optimization_write_status.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/page_columns.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/percentage_value_stat_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/percentage_values.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/percentage_values_detailed.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/percentage_values_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/project.py +40 -0
- opik-1.9.44/src/opik/rest_api/types/project_detailed.py +40 -0
- opik-1.9.44/src/opik/rest_api/types/project_detailed_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/project_metric_response_public.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/project_metric_response_public_interval.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/project_metric_response_public_metric_type.py +18 -0
- opik-1.9.44/src/opik/rest_api/types/project_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/project_public.py +29 -0
- opik-1.9.44/src/opik/rest_api/types/project_public_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/project_stat_item_object_public.py +69 -0
- opik-1.9.44/src/opik/rest_api/types/project_stats_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/project_stats_summary.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/project_stats_summary_item.py +30 -0
- opik-1.9.44/src/opik/rest_api/types/project_visibility.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt.py +42 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_detail.py +36 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_detail_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_public.py +34 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_public_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_tokens_details.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version.py +41 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_detail.py +41 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_detail_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_detail_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_link.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_link_public.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_link_write.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_page_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_public.py +40 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_public_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_public_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_template_structure.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/prompt_version_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/provider_api_key.py +36 -0
- opik-1.9.44/src/opik/rest_api/types/provider_api_key_page_public.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/provider_api_key_provider.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/provider_api_key_public.py +36 -0
- opik-1.9.44/src/opik/rest_api/types/provider_api_key_public_provider.py +7 -0
- opik-1.9.44/src/opik/rest_api/types/response_format.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/response_format_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/result.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/results_number_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/score_name.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/service_toggles_config.py +34 -0
- opik-1.9.44/src/opik/rest_api/types/span.py +57 -0
- opik-1.9.44/src/opik/rest_api/types/span_batch.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/span_enrichment_options.py +31 -0
- opik-1.9.44/src/opik/rest_api/types/span_experiment_item_bulk_write_view.py +39 -0
- opik-1.9.44/src/opik/rest_api/types/span_experiment_item_bulk_write_view_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/span_filter.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/span_filter_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/span_filter_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/span_filter_public_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/span_filter_write.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/span_filter_write_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/span_llm_as_judge_code.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/span_llm_as_judge_code_public.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/span_llm_as_judge_code_write.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/span_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/span_public.py +57 -0
- opik-1.9.44/src/opik/rest_api/types/span_public_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/span_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/span_update.py +46 -0
- opik-1.9.44/src/opik/rest_api/types/span_update_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/span_write.py +45 -0
- opik-1.9.44/src/opik/rest_api/types/span_write_type.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/spans_count_response.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/start_multipart_upload_response.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/stream_options.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/studio_evaluation.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_evaluation_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_evaluation_write.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_llm_model.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_llm_model_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_llm_model_write.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_message.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_message_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_message_write.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_metric.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_metric_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_metric_write.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_optimizer.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_optimizer_public.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_optimizer_write.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/studio_prompt.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_prompt_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/studio_prompt_write.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/tool.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/tool_call.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/trace.py +68 -0
- opik-1.9.44/src/opik/rest_api/types/trace_batch.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/trace_count_response.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/trace_enrichment_options.py +32 -0
- opik-1.9.44/src/opik/rest_api/types/trace_experiment_item_bulk_write_view.py +41 -0
- opik-1.9.44/src/opik/rest_api/types/trace_filter.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/trace_filter_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/trace_filter_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/trace_filter_public_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/trace_filter_write.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/trace_filter_write_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/trace_page_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/trace_public.py +63 -0
- opik-1.9.44/src/opik/rest_api/types/trace_public_visibility_mode.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread.py +42 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_filter.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_filter_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_filter_public.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_filter_public_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_filter_write.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_filter_write_operator.py +21 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_identifier.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_llm_as_judge_code.py +26 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_llm_as_judge_code_public.py +26 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_llm_as_judge_code_write.py +26 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_page.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_update.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_user_defined_metric_python_code.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_user_defined_metric_python_code_public.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/trace_thread_user_defined_metric_python_code_write.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/trace_update.py +39 -0
- opik-1.9.44/src/opik/rest_api/types/trace_visibility_mode.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/trace_write.py +37 -0
- opik-1.9.44/src/opik/rest_api/types/usage.py +25 -0
- opik-1.9.44/src/opik/rest_api/types/user_defined_metric_python_code.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/user_defined_metric_python_code_public.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/user_defined_metric_python_code_write.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry_compare.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry_compare_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry_experiment_item_bulk_write_view.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry_experiment_item_bulk_write_view_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry_public.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry_public_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/value_entry_source.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/video_url.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/video_url_public.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/video_url_write.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/webhook.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/webhook_examples.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/webhook_public.py +28 -0
- opik-1.9.44/src/opik/rest_api/types/webhook_test_result.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/webhook_test_result_status.py +5 -0
- opik-1.9.44/src/opik/rest_api/types/webhook_write.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/welcome_wizard_tracking.py +22 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_configuration.py +27 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_metric_request.py +24 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_metric_response.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_metrics_summary_request.py +23 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_metrics_summary_response.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_name_holder.py +19 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_spans_count.py +20 -0
- opik-1.9.44/src/opik/rest_api/types/workspace_trace_count.py +20 -0
- opik-1.9.44/src/opik/rest_api/welcome_wizard/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/welcome_wizard/client.py +195 -0
- opik-1.9.44/src/opik/rest_api/welcome_wizard/raw_client.py +208 -0
- opik-1.9.44/src/opik/rest_api/workspaces/__init__.py +4 -0
- opik-1.9.44/src/opik/rest_api/workspaces/client.py +608 -0
- opik-1.9.44/src/opik/rest_api/workspaces/raw_client.py +923 -0
- opik-1.9.44/src/opik/rest_client_configurator/__init__.py +3 -0
- opik-1.9.44/src/opik/rest_client_configurator/api.py +22 -0
- opik-1.9.44/src/opik/rest_client_configurator/public_methods_patcher.py +10 -0
- opik-1.9.44/src/opik/rest_client_configurator/retry_decorator.py +33 -0
- opik-1.9.44/src/opik/s3_httpx_client.py +67 -0
- opik-1.9.44/src/opik/semantic_version.py +240 -0
- opik-1.9.44/src/opik/simulation/__init__.py +6 -0
- opik-1.9.44/src/opik/simulation/simulated_user.py +99 -0
- opik-1.9.44/src/opik/simulation/simulator.py +108 -0
- opik-1.9.44/src/opik/synchronization.py +53 -0
- opik-1.9.44/src/opik/tracing_runtime_config.py +48 -0
- opik-1.9.44/src/opik/types.py +94 -0
- opik-1.9.44/src/opik/url_helpers.py +95 -0
- opik-1.9.44/src/opik/validation/__init__.py +0 -0
- opik-1.9.44/src/opik/validation/feedback_score.py +46 -0
- opik-1.9.44/src/opik/validation/parameter.py +122 -0
- opik-1.9.44/src/opik/validation/parameters_validator.py +175 -0
- opik-1.9.44/src/opik/validation/result.py +28 -0
- opik-1.9.44/src/opik/validation/validator.py +9 -0
- opik-1.9.44/src/opik/validation/validator_helpers.py +147 -0
- opik-1.9.44/src/opik.egg-info/PKG-INFO +369 -0
- opik-1.9.44/src/opik.egg-info/SOURCES.txt +1071 -0
- opik-1.9.44/src/opik.egg-info/dependency_links.txt +1 -0
- opik-1.9.44/src/opik.egg-info/entry_points.txt +5 -0
- opik-1.9.44/src/opik.egg-info/not-zip-safe +1 -0
- opik-1.9.44/src/opik.egg-info/requires.txt +19 -0
- opik-1.9.44/src/opik.egg-info/top_level.txt +1 -0
opik-1.9.44/LICENSE
ADDED
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
Copyright (c) Comet ML, Inc
|
|
2
|
+
|
|
3
|
+
Apache License
|
|
4
|
+
Version 2.0, January 2004
|
|
5
|
+
http://www.apache.org/licenses/
|
|
6
|
+
|
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
1. Definitions.
|
|
10
|
+
|
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
12
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
15
|
+
the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
18
|
+
other entities that control, are controlled by, or are under common
|
|
19
|
+
control with that entity. For the purposes of this definition,
|
|
20
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
21
|
+
direction or management of such entity, whether by contract or
|
|
22
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
23
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
24
|
+
|
|
25
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
26
|
+
exercising permissions granted by this License.
|
|
27
|
+
|
|
28
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
29
|
+
including but not limited to software source code, documentation
|
|
30
|
+
source, and configuration files.
|
|
31
|
+
|
|
32
|
+
"Object" form shall mean any form resulting from mechanical
|
|
33
|
+
transformation or translation of a Source form, including but
|
|
34
|
+
not limited to compiled object code, generated documentation,
|
|
35
|
+
and conversions to other media types.
|
|
36
|
+
|
|
37
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
38
|
+
Object form, made available under the License, as indicated by a
|
|
39
|
+
copyright notice that is included in or attached to the work
|
|
40
|
+
(an example is provided in the Appendix below).
|
|
41
|
+
|
|
42
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
43
|
+
form, that is based on (or derived from) the Work and for which the
|
|
44
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
45
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
46
|
+
of this License, Derivative Works shall not include works that remain
|
|
47
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
48
|
+
the Work and Derivative Works thereof.
|
|
49
|
+
|
|
50
|
+
"Contribution" shall mean any work of authorship, including
|
|
51
|
+
the original version of the Work and any modifications or additions
|
|
52
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
53
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
54
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
55
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
56
|
+
means any form of electronic, verbal, or written communication sent
|
|
57
|
+
to the Licensor or its representatives, including but not limited to
|
|
58
|
+
communication on electronic mailing lists, source code control systems,
|
|
59
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
60
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
61
|
+
excluding communication that is conspicuously marked or otherwise
|
|
62
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
63
|
+
|
|
64
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
65
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
66
|
+
subsequently incorporated within the Work.
|
|
67
|
+
|
|
68
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
69
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
70
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
71
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
72
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
73
|
+
Work and such Derivative Works in Source or Object form.
|
|
74
|
+
|
|
75
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
76
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
77
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
78
|
+
(except as stated in this section) patent license to make, have made,
|
|
79
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
80
|
+
where such license applies only to those patent claims licensable
|
|
81
|
+
by such Contributor that are necessarily infringed by their
|
|
82
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
83
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
84
|
+
institute patent litigation against any entity (including a
|
|
85
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
86
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
87
|
+
or contributory patent infringement, then any patent licenses
|
|
88
|
+
granted to You under this License for that Work shall terminate
|
|
89
|
+
as of the date such litigation is filed.
|
|
90
|
+
|
|
91
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
92
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
93
|
+
modifications, and in Source or Object form, provided that You
|
|
94
|
+
meet the following conditions:
|
|
95
|
+
|
|
96
|
+
(a) You must give any other recipients of the Work or
|
|
97
|
+
Derivative Works a copy of this License; and
|
|
98
|
+
|
|
99
|
+
(b) You must cause any modified files to carry prominent notices
|
|
100
|
+
stating that You changed the files; and
|
|
101
|
+
|
|
102
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
103
|
+
that You distribute, all copyright, patent, trademark, and
|
|
104
|
+
attribution notices from the Source form of the Work,
|
|
105
|
+
excluding those notices that do not pertain to any part of
|
|
106
|
+
the Derivative Works; and
|
|
107
|
+
|
|
108
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
109
|
+
distribution, then any Derivative Works that You distribute must
|
|
110
|
+
include a readable copy of the attribution notices contained
|
|
111
|
+
within such NOTICE file, excluding those notices that do not
|
|
112
|
+
pertain to any part of the Derivative Works, in at least one
|
|
113
|
+
of the following places: within a NOTICE text file distributed
|
|
114
|
+
as part of the Derivative Works; within the Source form or
|
|
115
|
+
documentation, if provided along with the Derivative Works; or,
|
|
116
|
+
within a display generated by the Derivative Works, if and
|
|
117
|
+
wherever such third-party notices normally appear. The contents
|
|
118
|
+
of the NOTICE file are for informational purposes only and
|
|
119
|
+
do not modify the License. You may add Your own attribution
|
|
120
|
+
notices within Derivative Works that You distribute, alongside
|
|
121
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
122
|
+
that such additional attribution notices cannot be construed
|
|
123
|
+
as modifying the License.
|
|
124
|
+
|
|
125
|
+
You may add Your own copyright statement to Your modifications and
|
|
126
|
+
may provide additional or different license terms and conditions
|
|
127
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
128
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
129
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
130
|
+
the conditions stated in this License.
|
|
131
|
+
|
|
132
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
133
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
134
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
135
|
+
this License, without any additional terms or conditions.
|
|
136
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
137
|
+
the terms of any separate license agreement you may have executed
|
|
138
|
+
with Licensor regarding such Contributions.
|
|
139
|
+
|
|
140
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
141
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
142
|
+
except as required for reasonable and customary use in describing the
|
|
143
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
144
|
+
|
|
145
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
146
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
147
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
148
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
149
|
+
implied, including, without limitation, any warranties or conditions
|
|
150
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
151
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
152
|
+
appropriateness of using or redistributing the Work and assume any
|
|
153
|
+
risks associated with Your exercise of permissions under this License.
|
|
154
|
+
|
|
155
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
156
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
157
|
+
unless required by applicable law (such as deliberate and grossly
|
|
158
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
159
|
+
liable to You for damages, including any direct, indirect, special,
|
|
160
|
+
incidental, or consequential damages of any character arising as a
|
|
161
|
+
result of this License or out of the use or inability to use the
|
|
162
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
163
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
164
|
+
other commercial damages or losses), even if such Contributor
|
|
165
|
+
has been advised of the possibility of such damages.
|
|
166
|
+
|
|
167
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
168
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
169
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
170
|
+
or other liability obligations and/or rights consistent with this
|
|
171
|
+
License. However, in accepting such obligations, You may act only
|
|
172
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
173
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
174
|
+
defend, and hold each Contributor harmless for any liability
|
|
175
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
176
|
+
of your accepting any such warranty or additional liability.
|
|
177
|
+
|
|
178
|
+
END OF TERMS AND CONDITIONS
|
|
179
|
+
|
|
180
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
181
|
+
|
|
182
|
+
To apply the Apache License to your work, attach the following
|
|
183
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
184
|
+
replaced with your own identifying information. (Don't include
|
|
185
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
186
|
+
comment syntax for the file format. We also recommend that a
|
|
187
|
+
file or class name and description of purpose be included on the
|
|
188
|
+
same "printed page" as the copyright notice for easier
|
|
189
|
+
identification within third-party archives.
|
|
190
|
+
|
|
191
|
+
Copyright 2024 Comet ML, Inc
|
|
192
|
+
|
|
193
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
|
+
you may not use this file except in compliance with the License.
|
|
195
|
+
You may obtain a copy of the License at
|
|
196
|
+
|
|
197
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
198
|
+
|
|
199
|
+
Unless required by applicable law or agreed to in writing, software
|
|
200
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
|
+
See the License for the specific language governing permissions and
|
|
203
|
+
limitations under the License.
|
opik-1.9.44/PKG-INFO
ADDED
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: opik
|
|
3
|
+
Version: 1.9.44
|
|
4
|
+
Summary: Comet tool for logging and evaluating LLM traces
|
|
5
|
+
Home-page: https://www.comet.com
|
|
6
|
+
Author: Comet ML Inc.
|
|
7
|
+
Author-email: mail@comet.com
|
|
8
|
+
License: Apache 2.0 License
|
|
9
|
+
Project-URL: Source code, https://github.com/comet-ml/opik
|
|
10
|
+
Keywords: opik
|
|
11
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Natural Language :: English
|
|
15
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
23
|
+
Requires-Python: >=3.9
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
Requires-Dist: boto3-stubs[bedrock-runtime]>=1.34.110
|
|
27
|
+
Requires-Dist: click
|
|
28
|
+
Requires-Dist: httpx
|
|
29
|
+
Requires-Dist: rapidfuzz<4.0.0,>=3.0.0
|
|
30
|
+
Requires-Dist: litellm!=1.75.0,!=1.75.1,!=1.75.2,!=1.75.3,!=1.75.4,!=1.75.5,!=1.77.3,!=1.77.4,!=1.77.5,!=1.77.7,!=1.78.0,!=1.78.2,!=1.78.3,!=1.78.4,!=1.78.5,!=1.78.6,!=1.78.7,!=1.79.0,!=1.79.1,!=1.80.9,>=1.79.2
|
|
31
|
+
Requires-Dist: openai
|
|
32
|
+
Requires-Dist: pydantic-settings!=2.9.0,<3.0.0,>=2.0.0
|
|
33
|
+
Requires-Dist: pydantic<3.0.0,>=2.0.0
|
|
34
|
+
Requires-Dist: pytest
|
|
35
|
+
Requires-Dist: rich
|
|
36
|
+
Requires-Dist: sentry_sdk>=2.0.0
|
|
37
|
+
Requires-Dist: tenacity
|
|
38
|
+
Requires-Dist: tqdm
|
|
39
|
+
Requires-Dist: uuid6
|
|
40
|
+
Requires-Dist: jinja2
|
|
41
|
+
Provides-Extra: proxy
|
|
42
|
+
Requires-Dist: fastapi>=0.100.0; extra == "proxy"
|
|
43
|
+
Requires-Dist: uvicorn>=0.23.0; extra == "proxy"
|
|
44
|
+
Dynamic: author
|
|
45
|
+
Dynamic: author-email
|
|
46
|
+
Dynamic: classifier
|
|
47
|
+
Dynamic: description
|
|
48
|
+
Dynamic: description-content-type
|
|
49
|
+
Dynamic: home-page
|
|
50
|
+
Dynamic: keywords
|
|
51
|
+
Dynamic: license
|
|
52
|
+
Dynamic: license-file
|
|
53
|
+
Dynamic: project-url
|
|
54
|
+
Dynamic: provides-extra
|
|
55
|
+
Dynamic: requires-dist
|
|
56
|
+
Dynamic: requires-python
|
|
57
|
+
Dynamic: summary
|
|
58
|
+
|
|
59
|
+
<div align="center"><b><a href="README.md">English</a> | <a href="readme_CN.md">简体中文</a> | <a href="readme_JP.md">日本語</a> | <a href="readme_PT_BR.md">Português (Brasil)</a> | <a href="readme_KO.md">한국어</a></b></div>
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
<h1 align="center" style="border-bottom: none">
|
|
63
|
+
<div>
|
|
64
|
+
<a href="https://www.comet.com/site/products/opik/?from=llm&utm_source=opik&utm_medium=github&utm_content=header_img&utm_campaign=opik"><picture>
|
|
65
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/comet-ml/opik/refs/heads/main/apps/opik-documentation/documentation/static/img/logo-dark-mode.svg">
|
|
66
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/comet-ml/opik/refs/heads/main/apps/opik-documentation/documentation/static/img/opik-logo.svg">
|
|
67
|
+
<img alt="Comet Opik logo" src="https://raw.githubusercontent.com/comet-ml/opik/refs/heads/main/apps/opik-documentation/documentation/static/img/opik-logo.svg" width="200" />
|
|
68
|
+
</picture></a>
|
|
69
|
+
<br>
|
|
70
|
+
Opik
|
|
71
|
+
</div>
|
|
72
|
+
</h1>
|
|
73
|
+
<h2 align="center" style="border-bottom: none">Open-source AI Observability, Evaluation, and Optimization</h2>
|
|
74
|
+
<p align="center">
|
|
75
|
+
Opik helps you build, test, and optimize generative AI application that run better, from prototype to production. From RAG chatbots to code assistants to complex agentic systems, Opik provides comprehensive tracing, evaluation, and automatic prompt and tool optimization to take the guesswork out of AI development.
|
|
76
|
+
</p>
|
|
77
|
+
|
|
78
|
+
<div align="center">
|
|
79
|
+
|
|
80
|
+
[](https://pypi.org/project/opik/)
|
|
81
|
+
[](https://github.com/comet-ml/opik/blob/main/LICENSE)
|
|
82
|
+
[](https://github.com/comet-ml/opik/actions/workflows/build_apps.yml)
|
|
83
|
+
[](https://algora.io/comet-ml/bounties?status=open)
|
|
84
|
+
|
|
85
|
+
<!-- [](https://colab.research.google.com/github/comet-ml/opik/blob/main/apps/opik-documentation/documentation/docs/cookbook/opik_quickstart.ipynb) -->
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<p align="center">
|
|
90
|
+
<a href="https://www.comet.com/site/products/opik/?from=llm&utm_source=opik&utm_medium=github&utm_content=website_button&utm_campaign=opik"><b>Website</b></a> •
|
|
91
|
+
<a href="https://chat.comet.com"><b>Slack Community</b></a> •
|
|
92
|
+
<a href="https://x.com/Cometml"><b>Twitter</b></a> •
|
|
93
|
+
<a href="https://www.comet.com/docs/opik/changelog"><b>Changelog</b></a> •
|
|
94
|
+
<a href="https://www.comet.com/docs/opik/?from=llm&utm_source=opik&utm_medium=github&utm_content=docs_button&utm_campaign=opik"><b>Documentation</b></a>
|
|
95
|
+
</p>
|
|
96
|
+
|
|
97
|
+
<div align="center" style="margin-top: 1em; margin-bottom: 1em;">
|
|
98
|
+
<a href="#-what-is-opik">🚀 What is Opik?</a> • <a href="#%EF%B8%8F-opik-server-installation">🛠️ Opik Server Installation</a> • <a href="#-opik-client-sdk">💻 Opik Client SDK</a> • <a href="#-logging-traces-with-integrations">📝 Logging Traces</a><br>
|
|
99
|
+
<a href="#-llm-as-a-judge-metrics">🧑⚖️ LLM as a Judge</a> • <a href="#-evaluating-your-llm-application">🔍 Evaluating your Application</a> • <a href="#-star-us-on-github">⭐ Star Us</a> • <a href="#-contributing">🤝 Contributing</a>
|
|
100
|
+
</div>
|
|
101
|
+
|
|
102
|
+
<br>
|
|
103
|
+
|
|
104
|
+
[](https://www.comet.com/signup?from=llm&utm_source=opik&utm_medium=github&utm_content=readme_banner&utm_campaign=opik)
|
|
105
|
+
|
|
106
|
+
## 🚀 What is Opik?
|
|
107
|
+
|
|
108
|
+
Opik (built by [Comet](https://www.comet.com?from=llm&utm_source=opik&utm_medium=github&utm_content=what_is_opik_link&utm_campaign=opik)) is an open-source platform designed to streamline the entire lifecycle of LLM applications. It empowers developers to evaluate, test, monitor, and optimize their models and agentic systems. Key offerings include:
|
|
109
|
+
|
|
110
|
+
- **Comprehensive Observability**: Deep tracing of LLM calls, conversation logging, and agent activity.
|
|
111
|
+
- **Advanced Evaluation**: Robust prompt evaluation, LLM-as-a-judge, and experiment management.
|
|
112
|
+
- **Production-Ready**: Scalable monitoring dashboards and online evaluation rules for production.
|
|
113
|
+
- **Opik Agent Optimizer**: Dedicated SDK and set of optimizers to enhance prompts and agents.
|
|
114
|
+
- **Opik Guardrails**: Features to help you implement safe and responsible AI practices.
|
|
115
|
+
|
|
116
|
+
<br>
|
|
117
|
+
|
|
118
|
+
Key capabilities include:
|
|
119
|
+
|
|
120
|
+
- **Development & Tracing:**
|
|
121
|
+
- Track all LLM calls and traces with detailed context during development and in production ([Quickstart](https://www.comet.com/docs/opik/quickstart/?from=llm&utm_source=opik&utm_medium=github&utm_content=quickstart_link&utm_campaign=opik)).
|
|
122
|
+
- Extensive 3rd-party integrations for easy observability: Seamlessly integrate with a growing list of frameworks, supporting many of the largest and most popular ones natively (including recent additions like **Google ADK**, **Autogen**, and **Flowise AI**). ([Integrations](https://www.comet.com/docs/opik/integrations/overview/?from=llm&utm_source=opik&utm_medium=github&utm_content=integrations_link&utm_campaign=opik))
|
|
123
|
+
- Annotate traces and spans with feedback scores via the [Python SDK](https://www.comet.com/docs/opik/tracing/annotate_traces/#annotating-traces-and-spans-using-the-sdk?from=llm&utm_source=opik&utm_medium=github&utm_content=sdk_link&utm_campaign=opik) or the [UI](https://www.comet.com/docs/opik/tracing/annotate_traces/#annotating-traces-through-the-ui?from=llm&utm_source=opik&utm_medium=github&utm_content=ui_link&utm_campaign=opik).
|
|
124
|
+
- Experiment with prompts and models in the [Prompt Playground](https://www.comet.com/docs/opik/prompt_engineering/playground).
|
|
125
|
+
|
|
126
|
+
- **Evaluation & Testing**:
|
|
127
|
+
- Automate your LLM application evaluation with [Datasets](https://www.comet.com/docs/opik/evaluation/manage_datasets/?from=llm&utm_source=opik&utm_medium=github&utm_content=datasets_link&utm_campaign=opik) and [Experiments](https://www.comet.com/docs/opik/evaluation/evaluate_your_llm/?from=llm&utm_source=opik&utm_medium=github&utm_content=eval_link&utm_campaign=opik).
|
|
128
|
+
- Leverage powerful LLM-as-a-judge metrics for complex tasks like [hallucination detection](https://www.comet.com/docs/opik/evaluation/metrics/hallucination/?from=llm&utm_source=opik&utm_medium=github&utm_content=hallucination_link&utm_campaign=opik), [moderation](https://www.comet.com/docs/opik/evaluation/metrics/moderation/?from=llm&utm_source=opik&utm_medium=github&utm_content=moderation_link&utm_campaign=opik), and RAG assessment ([Answer Relevance](https://www.comet.com/docs/opik/evaluation/metrics/answer_relevance/?from=llm&utm_source=opik&utm_medium=github&utm_content=alex_link&utm_campaign=opik), [Context Precision](https://www.comet.com/docs/opik/evaluation/metrics/context_precision/?from=llm&utm_source=opik&utm_medium=github&utm_content=context_link&utm_campaign=opik)).
|
|
129
|
+
- Integrate evaluations into your CI/CD pipeline with our [PyTest integration](https://www.comet.com/docs/opik/testing/pytest_integration/?from=llm&utm_source=opik&utm_medium=github&utm_content=pytest_link&utm_campaign=opik).
|
|
130
|
+
|
|
131
|
+
- **Production Monitoring & Optimization**:
|
|
132
|
+
- Log high volumes of production traces: Opik is designed for scale (40M+ traces/day).
|
|
133
|
+
- Monitor feedback scores, trace counts, and token usage over time in the [Opik Dashboard](https://www.comet.com/docs/opik/production/production_monitoring/?from=llm&utm_source=opik&utm_medium=github&utm_content=dashboard_link&utm_campaign=opik).
|
|
134
|
+
- Utilize [Online Evaluation Rules](https://www.comet.com/docs/opik/production/rules/?from=llm&utm_source=opik&utm_medium=github&utm_content=dashboard_link&utm_campaign=opik) with LLM-as-a-Judge metrics to identify production issues.
|
|
135
|
+
- Leverage **Opik Agent Optimizer** and **Opik Guardrails** to continuously improve and secure your LLM applications in production.
|
|
136
|
+
|
|
137
|
+
> [!TIP]
|
|
138
|
+
> If you are looking for features that Opik doesn't have today, please raise a new [Feature request](https://github.com/comet-ml/opik/issues/new/choose) 🚀
|
|
139
|
+
|
|
140
|
+
<br>
|
|
141
|
+
|
|
142
|
+
## 🛠️ Opik Server Installation
|
|
143
|
+
|
|
144
|
+
Get your Opik server running in minutes. Choose the option that best suits your needs:
|
|
145
|
+
|
|
146
|
+
### Option 1: Comet.com Cloud (Easiest & Recommended)
|
|
147
|
+
|
|
148
|
+
Access Opik instantly without any setup. Ideal for quick starts and hassle-free maintenance.
|
|
149
|
+
|
|
150
|
+
👉 [Create your free Comet account](https://www.comet.com/signup?from=llm&utm_source=opik&utm_medium=github&utm_content=install_create_link&utm_campaign=opik)
|
|
151
|
+
|
|
152
|
+
### Option 2: Self-Host Opik for Full Control
|
|
153
|
+
|
|
154
|
+
Deploy Opik in your own environment. Choose between Docker for local setups or Kubernetes for scalability.
|
|
155
|
+
|
|
156
|
+
#### Self-Hosting with Docker Compose (for Local Development & Testing)
|
|
157
|
+
|
|
158
|
+
This is the simplest way to get a local Opik instance running. Note the new `./opik.sh` installation script:
|
|
159
|
+
|
|
160
|
+
On Linux or Mac Environment:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
# Clone the Opik repository
|
|
164
|
+
git clone https://github.com/comet-ml/opik.git
|
|
165
|
+
|
|
166
|
+
# Navigate to the repository
|
|
167
|
+
cd opik
|
|
168
|
+
|
|
169
|
+
# Start the Opik platform
|
|
170
|
+
./opik.sh
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
On Windows Environment:
|
|
174
|
+
|
|
175
|
+
```powershell
|
|
176
|
+
# Clone the Opik repository
|
|
177
|
+
git clone https://github.com/comet-ml/opik.git
|
|
178
|
+
|
|
179
|
+
# Navigate to the repository
|
|
180
|
+
cd opik
|
|
181
|
+
|
|
182
|
+
# Start the Opik platform
|
|
183
|
+
powershell -ExecutionPolicy ByPass -c ".\\opik.ps1"
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
**Service Profiles for Development**
|
|
187
|
+
|
|
188
|
+
The Opik installation scripts now support service profiles for different development scenarios:
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
# Start full Opik suite (default behavior)
|
|
192
|
+
./opik.sh
|
|
193
|
+
|
|
194
|
+
# Start only infrastructure services (databases, caches etc.)
|
|
195
|
+
./opik.sh --infra
|
|
196
|
+
|
|
197
|
+
# Start infrastructure + backend services
|
|
198
|
+
./opik.sh --backend
|
|
199
|
+
|
|
200
|
+
# Enable guardrails with any profile
|
|
201
|
+
./opik.sh --guardrails # Guardrails with full Opik suite
|
|
202
|
+
./opik.sh --backend --guardrails # Guardrails with infrastructure + backend
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
Use the `--help` or `--info` options to troubleshoot issues. Dockerfiles now ensure containers run as non-root users for enhanced security. Once all is up and running, you can now visit [localhost:5173](http://localhost:5173) on your browser! For detailed instructions, see the [Local Deployment Guide](https://www.comet.com/docs/opik/self-host/local_deployment?from=llm&utm_source=opik&utm_medium=github&utm_content=self_host_link&utm_campaign=opik).
|
|
206
|
+
|
|
207
|
+
#### Self-Hosting with Kubernetes & Helm (for Scalable Deployments)
|
|
208
|
+
|
|
209
|
+
For production or larger-scale self-hosted deployments, Opik can be installed on a Kubernetes cluster using our Helm chart. Click the badge for the full [Kubernetes Installation Guide using Helm](https://www.comet.com/docs/opik/self-host/kubernetes/#kubernetes-installation?from=llm&utm_source=opik&utm_medium=github&utm_content=kubernetes_link&utm_campaign=opik).
|
|
210
|
+
|
|
211
|
+
[](https://www.comet.com/docs/opik/self-host/kubernetes/#kubernetes-installation?from=llm&utm_source=opik&utm_medium=github&utm_content=kubernetes_link&utm_campaign=opik)
|
|
212
|
+
|
|
213
|
+
> [!IMPORTANT]
|
|
214
|
+
> **Version 1.7.0 Changes**: Please check the [changelog](https://github.com/comet-ml/opik/blob/main/CHANGELOG.md) for important updates and breaking changes.
|
|
215
|
+
|
|
216
|
+
## 💻 Opik Client SDK
|
|
217
|
+
|
|
218
|
+
Opik provides a suite of client libraries and a REST API to interact with the Opik server. This includes SDKs for Python, TypeScript, and Ruby (via OpenTelemetry), allowing for seamless integration into your workflows. For detailed API and SDK references, see the [Opik Client Reference Documentation](apps/opik-documentation/documentation/fern/docs/reference/overview.mdx).
|
|
219
|
+
|
|
220
|
+
### Python SDK Quick Start
|
|
221
|
+
|
|
222
|
+
To get started with the Python SDK:
|
|
223
|
+
|
|
224
|
+
Install the package:
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
# install using pip
|
|
228
|
+
pip install opik
|
|
229
|
+
|
|
230
|
+
# or install with uv
|
|
231
|
+
uv pip install opik
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Configure the python SDK by running the `opik configure` command, which will prompt you for your Opik server address (for self-hosted instances) or your API key and workspace (for Comet.com):
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
opik configure
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
> [!TIP]
|
|
241
|
+
> You can also call `opik.configure(use_local=True)` from your Python code to configure the SDK to run on a local self-hosted installation, or provide API key and workspace details directly for Comet.com. Refer to the [Python SDK documentation](apps/opik-documentation/documentation/fern/docs/reference/python-sdk/) for more configuration options.
|
|
242
|
+
|
|
243
|
+
You are now ready to start logging traces using the [Python SDK](https://www.comet.com/docs/opik/python-sdk-reference/?from=llm&utm_source=opik&utm_medium=github&utm_content=sdk_link2&utm_campaign=opik).
|
|
244
|
+
|
|
245
|
+
### 📝 Logging Traces with Integrations
|
|
246
|
+
|
|
247
|
+
The easiest way to log traces is to use one of our direct integrations. Opik supports a wide array of frameworks, including recent additions like **Google ADK**, **Autogen**, **AG2**, and **Flowise AI**:
|
|
248
|
+
|
|
249
|
+
| Integration | Description | Documentation |
|
|
250
|
+
| --------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
251
|
+
| ADK | Log traces for Google Agent Development Kit (ADK) | [Documentation](https://www.comet.com/docs/opik/integrations/adk?utm_source=opik&utm_medium=github&utm_content=google_adk_link&utm_campaign=opik) |
|
|
252
|
+
| AG2 | Log traces for AG2 LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/ag2?utm_source=opik&utm_medium=github&utm_content=ag2_link&utm_campaign=opik) |
|
|
253
|
+
| AIsuite | Log traces for aisuite LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/aisuite?utm_source=opik&utm_medium=github&utm_content=aisuite_link&utm_campaign=opik) |
|
|
254
|
+
| Agno | Log traces for Agno agent orchestration framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/agno?utm_source=opik&utm_medium=github&utm_content=agno_link&utm_campaign=opik) |
|
|
255
|
+
| Anthropic | Log traces for Anthropic LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/anthropic?utm_source=opik&utm_medium=github&utm_content=anthropic_link&utm_campaign=opik) |
|
|
256
|
+
| Autogen | Log traces for Autogen agentic workflows | [Documentation](https://www.comet.com/docs/opik/integrations/autogen?utm_source=opik&utm_medium=github&utm_content=autogen_link&utm_campaign=opik) |
|
|
257
|
+
| Bedrock | Log traces for Amazon Bedrock LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/bedrock?utm_source=opik&utm_medium=github&utm_content=bedrock_link&utm_campaign=opik) |
|
|
258
|
+
| BeeAI (Python) | Log traces for BeeAI Python agent framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/beeai?utm_source=opik&utm_medium=github&utm_content=beeai_link&utm_campaign=opik) |
|
|
259
|
+
| BeeAI (TypeScript) | Log traces for BeeAI TypeScript agent framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/beeai-typescript?utm_source=opik&utm_medium=github&utm_content=beeai_typescript_link&utm_campaign=opik) |
|
|
260
|
+
| BytePlus | Log traces for BytePlus LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/byteplus?utm_source=opik&utm_medium=github&utm_content=byteplus_link&utm_campaign=opik) |
|
|
261
|
+
| Cloudflare Workers AI | Log traces for Cloudflare Workers AI calls | [Documentation](https://www.comet.com/docs/opik/integrations/cloudflare-workers-ai?utm_source=opik&utm_medium=github&utm_content=cloudflare_workers_ai_link&utm_campaign=opik) |
|
|
262
|
+
| Cohere | Log traces for Cohere LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/cohere?utm_source=opik&utm_medium=github&utm_content=cohere_link&utm_campaign=opik) |
|
|
263
|
+
| CrewAI | Log traces for CrewAI calls | [Documentation](https://www.comet.com/docs/opik/integrations/crewai?utm_source=opik&utm_medium=github&utm_content=crewai_link&utm_campaign=opik) |
|
|
264
|
+
| Cursor | Log traces for Cursor conversations | [Documentation](https://www.comet.com/docs/opik/integrations/cursor?utm_source=opik&utm_medium=github&utm_content=cursor_link&utm_campaign=opik) |
|
|
265
|
+
| DeepSeek | Log traces for DeepSeek LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/deepseek?utm_source=opik&utm_medium=github&utm_content=deepseek_link&utm_campaign=opik) |
|
|
266
|
+
| Dify | Log traces for Dify agent runs | [Documentation](https://www.comet.com/docs/opik/integrations/dify?utm_source=opik&utm_medium=github&utm_content=dify_link&utm_campaign=opik) |
|
|
267
|
+
| DSPY | Log traces for DSPy runs | [Documentation](https://www.comet.com/docs/opik/integrations/dspy?utm_source=opik&utm_medium=github&utm_content=dspy_link&utm_campaign=opik) |
|
|
268
|
+
| Fireworks AI | Log traces for Fireworks AI LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/fireworks-ai?utm_source=opik&utm_medium=github&utm_content=fireworks_ai_link&utm_campaign=opik) |
|
|
269
|
+
| Flowise AI | Log traces for Flowise AI visual LLM builder | [Documentation](https://www.comet.com/docs/opik/integrations/flowise?utm_source=opik&utm_medium=github&utm_content=flowise_link&utm_campaign=opik) |
|
|
270
|
+
| Gemini (Python) | Log traces for Google Gemini LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/gemini?utm_source=opik&utm_medium=github&utm_content=gemini_link&utm_campaign=opik) |
|
|
271
|
+
| Gemini (TypeScript) | Log traces for Google Gemini TypeScript SDK calls | [Documentation](https://www.comet.com/docs/opik/integrations/gemini-typescript?utm_source=opik&utm_medium=github&utm_content=gemini_typescript_link&utm_campaign=opik) |
|
|
272
|
+
| Groq | Log traces for Groq LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/groq?utm_source=opik&utm_medium=github&utm_content=groq_link&utm_campaign=opik) |
|
|
273
|
+
| Guardrails | Log traces for Guardrails AI validations | [Documentation](https://www.comet.com/docs/opik/integrations/guardrails-ai?utm_source=opik&utm_medium=github&utm_content=guardrails_link&utm_campaign=opik) |
|
|
274
|
+
| Haystack | Log traces for Haystack calls | [Documentation](https://www.comet.com/docs/opik/integrations/haystack?utm_source=opik&utm_medium=github&utm_content=haystack_link&utm_campaign=opik) |
|
|
275
|
+
| Instructor | Log traces for LLM calls made with Instructor | [Documentation](https://www.comet.com/docs/opik/integrations/instructor?utm_source=opik&utm_medium=github&utm_content=instructor_link&utm_campaign=opik) |
|
|
276
|
+
| LangChain (Python) | Log traces for LangChain LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/langchain?utm_source=opik&utm_medium=github&utm_content=langchain_link&utm_campaign=opik) |
|
|
277
|
+
| LangChain (JS/TS) | Log traces for LangChain JavaScript/TypeScript calls | [Documentation](https://www.comet.com/docs/opik/integrations/langchainjs?utm_source=opik&utm_medium=github&utm_content=langchainjs_link&utm_campaign=opik) |
|
|
278
|
+
| LangGraph | Log traces for LangGraph executions | [Documentation](https://www.comet.com/docs/opik/integrations/langgraph?utm_source=opik&utm_medium=github&utm_content=langgraph_link&utm_campaign=opik) |
|
|
279
|
+
| Langflow | Log traces for Langflow visual AI builder | [Documentation](https://www.comet.com/docs/opik/integrations/langflow?utm_source=opik&utm_medium=github&utm_content=langflow_link&utm_campaign=opik) |
|
|
280
|
+
| LiteLLM | Log traces for LiteLLM model calls | [Documentation](https://www.comet.com/docs/opik/integrations/litellm?utm_source=opik&utm_medium=github&utm_content=litellm_link&utm_campaign=opik) |
|
|
281
|
+
| LiveKit Agents | Log traces for LiveKit Agents AI agent framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/livekit?utm_source=opik&utm_medium=github&utm_content=livekit_link&utm_campaign=opik) |
|
|
282
|
+
| LlamaIndex | Log traces for LlamaIndex LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/llama_index?utm_source=opik&utm_medium=github&utm_content=llama_index_link&utm_campaign=opik) |
|
|
283
|
+
| Mastra | Log traces for Mastra AI workflow framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/mastra?utm_source=opik&utm_medium=github&utm_content=mastra_link&utm_campaign=opik) |
|
|
284
|
+
| Microsoft Agent Framework (Python) | Log traces for Microsoft Agent Framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/microsoft-agent-framework?utm_source=opik&utm_medium=github&utm_content=agent_framework_link&utm_campaign=opik) |
|
|
285
|
+
| Microsoft Agent Framework (.NET) | Log traces for Microsoft Agent Framework .NET calls | [Documentation](https://www.comet.com/docs/opik/integrations/microsoft-agent-framework-dotnet?utm_source=opik&utm_medium=github&utm_content=agent_framework_dotnet_link&utm_campaign=opik) |
|
|
286
|
+
| Mistral AI | Log traces for Mistral AI LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/mistral?utm_source=opik&utm_medium=github&utm_content=mistral_link&utm_campaign=opik) |
|
|
287
|
+
| n8n | Log traces for n8n workflow executions | [Documentation](https://www.comet.com/docs/opik/integrations/n8n?utm_source=opik&utm_medium=github&utm_content=n8n_link&utm_campaign=opik) |
|
|
288
|
+
| Novita AI | Log traces for Novita AI LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/novita-ai?utm_source=opik&utm_medium=github&utm_content=novita_ai_link&utm_campaign=opik) |
|
|
289
|
+
| Ollama | Log traces for Ollama LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/ollama?utm_source=opik&utm_medium=github&utm_content=ollama_link&utm_campaign=opik) |
|
|
290
|
+
| OpenAI (Python) | Log traces for OpenAI LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/openai?utm_source=opik&utm_medium=github&utm_content=openai_link&utm_campaign=opik) |
|
|
291
|
+
| OpenAI (JS/TS) | Log traces for OpenAI JavaScript/TypeScript calls | [Documentation](https://www.comet.com/docs/opik/integrations/openai-typescript?utm_source=opik&utm_medium=github&utm_content=openai_typescript_link&utm_campaign=opik) |
|
|
292
|
+
| OpenAI Agents | Log traces for OpenAI Agents SDK calls | [Documentation](https://www.comet.com/docs/opik/integrations/openai_agents?utm_source=opik&utm_medium=github&utm_content=openai_agents_link&utm_campaign=opik) |
|
|
293
|
+
| OpenRouter | Log traces for OpenRouter LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/openrouter?utm_source=opik&utm_medium=github&utm_content=openrouter_link&utm_campaign=opik) |
|
|
294
|
+
| OpenTelemetry | Log traces for OpenTelemetry supported calls | [Documentation](https://www.comet.com/docs/opik/tracing/opentelemetry/overview?utm_source=opik&utm_medium=github&utm_content=opentelemetry_link&utm_campaign=opik) |
|
|
295
|
+
| OpenWebUI | Log traces for OpenWebUI conversations | [Documentation](https://www.comet.com/docs/opik/integrations/openwebui?utm_source=opik&utm_medium=github&utm_content=openwebui_link&utm_campaign=opik) |
|
|
296
|
+
| Pipecat | Log traces for Pipecat real-time voice agent calls | [Documentation](https://www.comet.com/docs/opik/integrations/pipecat?utm_source=opik&utm_medium=github&utm_content=pipecat_link&utm_campaign=opik) |
|
|
297
|
+
| Predibase | Log traces for Predibase LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/predibase?utm_source=opik&utm_medium=github&utm_content=predibase_link&utm_campaign=opik) |
|
|
298
|
+
| Pydantic AI | Log traces for PydanticAI agent calls | [Documentation](https://www.comet.com/docs/opik/integrations/pydantic-ai?utm_source=opik&utm_medium=github&utm_content=pydantic_ai_link&utm_campaign=opik) |
|
|
299
|
+
| Ragas | Log traces for Ragas evaluations | [Documentation](https://www.comet.com/docs/opik/integrations/ragas?utm_source=opik&utm_medium=github&utm_content=ragas_link&utm_campaign=opik) |
|
|
300
|
+
| Semantic Kernel | Log traces for Microsoft Semantic Kernel calls | [Documentation](https://www.comet.com/docs/opik/integrations/semantic-kernel?utm_source=opik&utm_medium=github&utm_content=semantic_kernel_link&utm_campaign=opik) |
|
|
301
|
+
| Smolagents | Log traces for Smolagents agents | [Documentation](https://www.comet.com/docs/opik/integrations/smolagents?utm_source=opik&utm_medium=github&utm_content=smolagents_link&utm_campaign=opik) |
|
|
302
|
+
| Spring AI | Log traces for Spring AI framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/spring-ai?utm_source=opik&utm_medium=github&utm_content=spring_ai_link&utm_campaign=opik) |
|
|
303
|
+
| Strands Agents | Log traces for Strands agents calls | [Documentation](https://www.comet.com/docs/opik/integrations/strands-agents?utm_source=opik&utm_medium=github&utm_content=strands_agents_link&utm_campaign=opik) |
|
|
304
|
+
| Together AI | Log traces for Together AI LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/together-ai?utm_source=opik&utm_medium=github&utm_content=together_ai_link&utm_campaign=opik) |
|
|
305
|
+
| Vercel AI SDK | Log traces for Vercel AI SDK calls | [Documentation](https://www.comet.com/docs/opik/integrations/vercel-ai-sdk?utm_source=opik&utm_medium=github&utm_content=vercel_ai_sdk_link&utm_campaign=opik) |
|
|
306
|
+
| VoltAgent | Log traces for VoltAgent agent framework calls | [Documentation](https://www.comet.com/docs/opik/integrations/voltagent?utm_source=opik&utm_medium=github&utm_content=voltagent_link&utm_campaign=opik) |
|
|
307
|
+
| WatsonX | Log traces for IBM watsonx LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/watsonx?utm_source=opik&utm_medium=github&utm_content=watsonx_link&utm_campaign=opik) |
|
|
308
|
+
| xAI Grok | Log traces for xAI Grok LLM calls | [Documentation](https://www.comet.com/docs/opik/integrations/xai-grok?utm_source=opik&utm_medium=github&utm_content=xai_grok_link&utm_campaign=opik) |
|
|
309
|
+
|
|
310
|
+
> [!TIP]
|
|
311
|
+
> If the framework you are using is not listed above, feel free to [open an issue](https://github.com/comet-ml/opik/issues) or submit a PR with the integration.
|
|
312
|
+
|
|
313
|
+
If you are not using any of the frameworks above, you can also use the `track` function decorator to [log traces](https://www.comet.com/docs/opik/tracing/log_traces/?from=llm&utm_source=opik&utm_medium=github&utm_content=traces_link&utm_campaign=opik):
|
|
314
|
+
|
|
315
|
+
```python
|
|
316
|
+
import opik
|
|
317
|
+
|
|
318
|
+
opik.configure(use_local=True) # Run locally
|
|
319
|
+
|
|
320
|
+
@opik.track
|
|
321
|
+
def my_llm_function(user_question: str) -> str:
|
|
322
|
+
# Your LLM code here
|
|
323
|
+
|
|
324
|
+
return "Hello"
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
> [!TIP]
|
|
328
|
+
> The track decorator can be used in conjunction with any of our integrations and can also be used to track nested function calls.
|
|
329
|
+
|
|
330
|
+
### 🧑⚖️ LLM as a Judge metrics
|
|
331
|
+
|
|
332
|
+
The Python Opik SDK includes a number of LLM as a judge metrics to help you evaluate your LLM application. Learn more about it in the [metrics documentation](https://www.comet.com/docs/opik/evaluation/metrics/overview/?from=llm&utm_source=opik&utm_medium=github&utm_content=metrics_2_link&utm_campaign=opik).
|
|
333
|
+
|
|
334
|
+
To use them, simply import the relevant metric and use the `score` function:
|
|
335
|
+
|
|
336
|
+
```python
|
|
337
|
+
from opik.evaluation.metrics import Hallucination
|
|
338
|
+
|
|
339
|
+
metric = Hallucination()
|
|
340
|
+
score = metric.score(
|
|
341
|
+
input="What is the capital of France?",
|
|
342
|
+
output="Paris",
|
|
343
|
+
context=["France is a country in Europe."]
|
|
344
|
+
)
|
|
345
|
+
print(score)
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
Opik also includes a number of pre-built heuristic metrics as well as the ability to create your own. Learn more about it in the [metrics documentation](https://www.comet.com/docs/opik/evaluation/metrics/overview?from=llm&utm_source=opik&utm_medium=github&utm_content=metrics_3_link&utm_campaign=opik).
|
|
349
|
+
|
|
350
|
+
### 🔍 Evaluating your LLM Applications
|
|
351
|
+
|
|
352
|
+
Opik allows you to evaluate your LLM application during development through [Datasets](https://www.comet.com/docs/opik/evaluation/manage_datasets/?from=llm&utm_source=opik&utm_medium=github&utm_content=datasets_2_link&utm_campaign=opik) and [Experiments](https://www.comet.com/docs/opik/evaluation/evaluate_your_llm/?from=llm&utm_source=opik&utm_medium=github&utm_content=experiments_link&utm_campaign=opik). The Opik Dashboard offers enhanced charts for experiments and better handling of large traces. You can also run evaluations as part of your CI/CD pipeline using our [PyTest integration](https://www.comet.com/docs/opik/testing/pytest_integration/?from=llm&utm_source=opik&utm_medium=github&utm_content=pytest_2_link&utm_campaign=opik).
|
|
353
|
+
|
|
354
|
+
## ⭐ Star Us on GitHub
|
|
355
|
+
|
|
356
|
+
If you find Opik useful, please consider giving us a star! Your support helps us grow our community and continue improving the product.
|
|
357
|
+
|
|
358
|
+
[](https://github.com/comet-ml/opik)
|
|
359
|
+
|
|
360
|
+
## 🤝 Contributing
|
|
361
|
+
|
|
362
|
+
There are many ways to contribute to Opik:
|
|
363
|
+
|
|
364
|
+
- Submit [bug reports](https://github.com/comet-ml/opik/issues) and [feature requests](https://github.com/comet-ml/opik/issues)
|
|
365
|
+
- Review the documentation and submit [Pull Requests](https://github.com/comet-ml/opik/pulls) to improve it
|
|
366
|
+
- Speaking or writing about Opik and [letting us know](https://chat.comet.com)
|
|
367
|
+
- Upvoting [popular feature requests](https://github.com/comet-ml/opik/issues?q=is%3Aissue+is%3Aopen+label%3A%22enhancement%22) to show your support
|
|
368
|
+
|
|
369
|
+
To learn more about how to contribute to Opik, please see our [contributing guidelines](CONTRIBUTING.md).
|