relevanceai.apps.explorer_app.app#

Module Contents#

class relevanceai.apps.explorer_app.app.ExplorerApp(name: str, dataset, deployable_id: str = None, default_view: str = 'charts', charts_view_column: int = 2, preview_centroids_page_size: int = 2, **kwargs)#
preview_fields(self, fields: List = None, append=True)#
document_card(self, fields=None, primary_field: str = None, secondary_field: str = None, image_field: str = None, layout_mode: str = None, page_size: int = None, append: bool = True)#
facets(self, fields: List = None, append=True)#
sort(self, metrics: List = None, append=True)#
sort_default(self, metric_name: str)#
search_fields(self, fields: List = None)#
vector_search_fields(self, vector_fields: List = None)#
search_min_relevance(self, min_relevance: float)#
chart(self, groupby: List[Dict] = None, metrics: List[Dict] = None, sort: List[Dict] = None, page_size: int = None, chart_name: str = None, chart_mode: str = 'column', show_frequency: bool = False, **kwargs)#
charts(self, charts, append=True)#
cluster(self, alias: str, vector_field: str)#
cluster_charts(self, charts: List)#
label_clusters(self, cluster_labels: Dict)#