wiseflow/test
bigbrother666sh 4c9d7a89c1 update readme
2024-12-26 11:35:29 +08:00
..
reports update readme 2024-12-26 11:35:29 +08:00
fetching_for_sample.py add test for v0.3.6 2024-12-23 10:12:52 +08:00
find_article_or_list.py test&report 2024-12-24 13:11:17 +08:00
get_info_test.py test&report 2024-12-24 13:11:17 +08:00
openai_wrapper.py add test for v0.3.6 2024-12-23 10:12:52 +08:00
prompts.py test&report 2024-12-24 13:11:17 +08:00
README_EN.md test&report 2024-12-24 13:11:17 +08:00
README.md test&report 2024-12-24 13:11:17 +08:00

Test Script Documentation

Web Content Fetching and Parsing

fetching_for_sample.py

  • Before using, edit the sites and save_dir variables in the script to specify target websites and save directory

get_info_test.py

  • Before using, edit the sample_dir variable in the script to specify the directory of parsed web content (generally the directory saved by fetching_for_sample.py, which must contain parsed web content including at least text.txt file and link_dict.json file)

  • Create focus point descriptions for test tasks, refer to reports/wiseflow_report_20241223_bigbrother666/task0/focus_point.json

    Note: Sample files for different focus points need to be placed in different folders, refer to the structure in reports/wiseflow_report_20241223_bigbrother666

  • Before using, edit the models and vl_model variables in the script to specify models to test

To modify get_info prompts, edit prompts.py. For providers not using OpenAI SDK data format, edit openai_wrapper.py

Result Submission and Sharing

Wiseflow is an open source project aiming to create an "information crawling tool for everyone" through collective contributions!

At this stage, submitting test results is equivalent to submitting project code - you'll be accepted as a contributor and may even be invited to participate in commercial projects!

Test results should be submitted to the reports directory. Create a subdirectory for each test named {test_content}_{test_date}_{tester}, for example:

mkdir -p reports/wiseflow_report_20241223_bigbrother666

Please submit all test samples and the original output results of the program run, and create a README.md file in the directory to record the test content, test date, tester, test models, conclusions, statistical tables, etc.

Finally, edit the reports/README.md file, add the directory name of the test result to the index, so that others can view it.