cocacola-lab / GPT4IE

An open-source and powerful Information Extraction toolkit based on GPT (GPT for Information Extraction; GPT4IE for short)。Note: we set a default openai key in the tool, you can tell us if the key reach the limit.

Home Page:http://124.221.16.143:8080/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

输出解析

BeyonderXX opened this issue · comments

对于每次query返回的结果,chatgpt返回的内容格式可能是不确定的,比如有些是json,有些是table,有的是描述文本。
再比如,它可能回复Yes/是/可以的/没问题,这种情况你们是怎么处理的呢?

论文里的结果是人根据机器人输出对比正确答案吗,还是用自动化的脚本呢?

测试的时候用的是脚本,利用正则表达式进行匹配。