Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 2.15 KB

File metadata and controls

44 lines (35 loc) · 2.15 KB

AdhocExecutionDetail

Detailed information about an ad-hoc retriever execution. Extends AdhocExecutionSummary with full input data and metadata for comprehensive execution analysis.

Properties

Name Type Description Notes
execution_id str Unique execution identifier.
execution_mode str Execution mode ('adhoc').
status str Execution status ('completed', 'failed', etc.).
timestamp object
duration_ms float Total execution duration in milliseconds.
credits_used float Credits consumed during execution.
total_processed int Total documents processed across all stages.
total_returned int Number of documents returned in final results.
cache_hit_rate float Cache hit rate across stages (0.0-1.0). [optional]
query_summary str Brief summary of the query inputs. [optional]
stages_completed int Number of stages completed.
total_stages int Total number of stages in the pipeline.
collection_ids List[str] Collections queried during execution. [optional]
inputs str Full input data provided for execution. [optional]
inputs_hash str SHA-1 hash of inputs for deduplication. [optional]

Example

from mixpeek.models.adhoc_execution_detail import AdhocExecutionDetail

# TODO update the JSON string below
json = "{}"
# create an instance of AdhocExecutionDetail from a JSON string
adhoc_execution_detail_instance = AdhocExecutionDetail.from_json(json)
# print the JSON string representation of the object
print(AdhocExecutionDetail.to_json())

# convert the object into a dict
adhoc_execution_detail_dict = adhoc_execution_detail_instance.to_dict()
# create an instance of AdhocExecutionDetail from a dict
adhoc_execution_detail_from_dict = AdhocExecutionDetail.from_dict(adhoc_execution_detail_dict)

[Back to Model list] [Back to API list] [Back to README]