Skip to content

Latest commit

 

History

History
65 lines (37 loc) · 1.95 KB

Report_Generation.md

File metadata and controls

65 lines (37 loc) · 1.95 KB

Report Generation

BioMANIA can generate various reports, including Python files, Jupyter notebooks, performance summaries, and common issue logs. Follow the instructions in the Report Generation section to create these reports.

For chat Python File:

Firstly, press export chat button on UI to get the chat json data. Convert the chat JSON into a Python code using the Chat2Py.py script.

# cd src
python -m report.Chat2Py report/chatbot_ui_history_10-16.json

For chat report

Convert the chat JSON into an ipynb report using the Chat2jupyter.py script.

# cd src
python -m report.Chat2jupyter report/chatbot_ui_history_10-16.json

For performance report (under developing)

Combine and sort the performance figures into a short report.

# cd src
python -m report.PNG2report scanpy

Please note that the generation of this report must be based on the premise that the retriever models have already been trained, and the gpt baseline has already been tested. You need to first obtain the results of each model before running this script. Here is a reference for a demo report.

For common issue report (under developing)

Displaying common issues in the process of converting Python tools into libraries

# cd src
python -m report.Py2report scanpy

The output files are located in the ./report folder.

TODO:

We will provide the below files and the data of more tools later

report/Py2report.py