"Add Row to Stats" Module inputs
"Add Row to Stats" Module inputs
Below are provided all the necessary input values for the “Add Row to Stats” module in the event of changing the table id and the inputs disappear.The input values are provided in the following format:
Field Name
exact input value
For each field, copy the input value exactly as it is and paste them into their respective fields in the “Add Row to Stats” module.
Total Run Cost ($)
@title=Total Run Cost::content={{trunc(sum((var.scenario.operationsConsumed * parseNumber(2.Make_Operations_Unit_Cost; ",")); parseNumber(73.OpenAI_Running_Cost; ","); parseNumber(73.Serper_Running_Cost; ",")); 2)}}::description=<p><strong>Execution URL: </strong>{{var.scenario.executionUrl}}</p><p><strong>Scenario URL: </strong>{{var.scenario.url}}</p>
Run Termination
@title=Run Termination::content={{formatDate(now; "hh:mm A MM/DD/YYYY")}}
Total Operations
@title=Total Operations::content={{var.scenario.operationsConsumed}}
Operations Unit Cost ($)
@title=Operations Unit Cost::content={{2.Make_Operations_Unit_Cost}}
Operations Costs ($)
@title=Operations Cost::content={{(var.scenario.operationsConsumed * parseNumber(2.Make_Operations_Unit_Cost; ","))}}
Total OpenAI Tokens
@title=Total OpenAI Tokens::content={{sum(parseNumber(73.OpenAI_Input_Tokens; ","); parseNumber(73.OpenAI_Output_Tokens; ","))}}
OpenAI Cost ($)
@title=OpenAI Cost::content={{73.OpenAI_Running_Cost}}
Serper Unit Cost ($)
@title=Serper Unit Cost::content={{2.Cost_Per_Credit}}
Serper Total Cost ($)
@title=Serper Total Cost::content={{73.Serper_Running_Cost}}
Execution ID
@title=Execution ID::content={{var.scenario.executionId}}