Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.8 KB

File metadata and controls

36 lines (27 loc) · 1.8 KB

SessionFilterInput

Criteria for selecting historical sessions to replay.

Properties

Name Type Description Notes
retriever_ids List[str] Filter to sessions from these retrievers. [optional]
taxonomy_node_ids List[str] Filter to sessions with these taxonomy classifications. [optional]
time_range TimeRangeInput Filter to sessions within this time window. [optional]
min_interactions int Minimum number of user interactions required. [optional] [default to 1]
interaction_types List[str] Filter to sessions with these interaction types (e.g., ['click', 'purchase']). [optional]
sample_strategy str How to sample sessions: 'random', 'recent', or 'stratified'. [optional] [default to 'random']
interaction_weights InteractionWeights Custom weights for interaction types when computing relevance scores. [optional]

Example

from mixpeek.models.session_filter_input import SessionFilterInput

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

# convert the object into a dict
session_filter_input_dict = session_filter_input_instance.to_dict()
# create an instance of SessionFilterInput from a dict
session_filter_input_from_dict = SessionFilterInput.from_dict(session_filter_input_dict)

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