ai-cfia / ai-cfia/api-test

Enhance Finesse Benchmark Tool with Cost Estimation and Data Visualization Features

未关闭
#1 1 条评论 0 个 reaction 已指派 1 人 已被 @elwoujdi 认领 在 GitHub 查看
epic
主要语言
Python
星标
1
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

## Summary
The finesse benchmark tool currently provides an accuracy score and request time for each JSON file. However, it lacks the capability to generate cost estimates. This tool is responsible for comparing different search engines to discern the best from the worst, and one decisive factor is inevitably the cost incurred by using a tool. Additionally, the tool saves tests locally, and not all the test data is exported to CSV and MD files, such as the entirety of search engine responses. This can result in loss of results and traceability. Finally, it would be beneficial to add a data visualizer such as a graph. Therefore, we are enhancing this tool with the locust-dashboard, which enables us to implement all the aforementioned features.

## Tasks:
- [ ] #4
- [ ] Integrate cost estimation feature into finesse benchmark tool.
- [ ] Create Jupyter Notebooks to save data on md and csv file
- [ ] Implement a data visualizer on the locust-dashboard, such as a graph, to enhance data analysis capabilities.

## Acceptance Criteria
- The finesse benchmark tool successfully generates cost estimates for each search engine.
- All test data, including search engine responses, are saved on datahub
- The implemented data visualizer effectively presents the benchmark results, enhancing data analysis capabilities.

## Diagram

```mermaid
sequenceDiagram
User ->> Finesse_Tool: Start test
Finesse_Tool ->> Finesse_Tool: Cost estimate
Finesse_Tool ->> Datahub: Save test data
Datahub ->> Locust_Dashboard: Retrieve data
Locust_Dashboard -->> User: Visualization displayed
Datahub ->> Jupyter_Notebook: Retrieve data
Jupyter_Notebook -->> Finesse_Tool: Generate md or csv file
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。