(self)
| 283 | return |
| 284 | |
| 285 | def summary(self) -> pd.DataFrame: |
| 286 | df = pd.DataFrame() |
| 287 | df["prompt_tokens"] = self.prompt_lengths |
| 288 | df["generation_tokens"] = self.generation_lengths |
| 289 | df["ttft"] = self.ttfts |
| 290 | df["generation_time"] = self.generation_times |
| 291 | df["user_id"] = self.user_config.user_id |
| 292 | df["round_id"] = self.roundIDs |
| 293 | df["launch_time"] = self.launch_times |
| 294 | df["finish_time"] = self.finish_times |
| 295 | df["agentID"] = self.agentIDs |
| 296 | df["input"] = self.inputs |
| 297 | df["output"] = self.outputs |
| 298 | return df |
| 299 | |
| 300 | |
| 301 | class UserSessionManager: |
no outgoing calls
no test coverage detected