Member Junction
    Preparing search index...

    Base class for all Angular components in the MemberJunction system.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnDestroy
    • AfterViewInit
    Index

    Constructors

    Properties

    actionDetailsExpanded: boolean = false
    actionMetrics: ActionMetrics = ...
    actionSuccessRateChart: ElementRef
    actionSuccessRateChartData: any
    agentRun: SimpleAgentRun | null = null
    agentRunId: string
    allActionLogs: SimpleActionLog[] = []
    allPromptRuns: MJAIPromptRunEntity[] = []
    allSteps: SimpleAgentRunStep[] = []
    costByVendorChart: ElementRef
    costByVendorChartData: any
    error: string | null = null
    executionTimeChart: ElementRef
    executionTimeChartData: any
    expandedCharts: { [key: string]: boolean } = ...
    isLoading: boolean = true
    modelDistributionChart: ElementRef
    modelDistributionChartData: any
    panelStates: {
        actions: boolean;
        models: boolean;
        prompts: boolean;
        summary: boolean;
        timeline: boolean;
    } = ...
    promptCostDistributionChart: ElementRef
    promptCountByNameChart: ElementRef
    promptDetailsExpanded: boolean = false
    promptMetrics: PromptMetrics = ...
    promptTimeDistributionChart: ElementRef
    promptTokenDistributionChart: ElementRef
    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    stepTypeChart: ElementRef
    stepTypeDistributionChartData: any
    subAgentRuns: SimpleAgentRun[] = []
    timelineMetrics: TimelineMetrics = ...
    tokenUsageChart: ElementRef
    tokenUsageChartData: any
    viewMode: "grid" | "expanded" = 'grid'
    "ɵdir": unknown
    "ɵfac": unknown

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunReportToUse(): IRunReportProvider

      Returns either the default RunReport provider or the one specified in the Provider property, if it was specified

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods