Making large AI models cheaper, faster and more accessible
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.9 KiB

[Feature] Add document retrieval QA (#5020) * add langchain * add langchain * Add files via upload * add langchain * fix style * fix style: remove extra space * add pytest; modified retriever * add pytest; modified retriever * add tests to build_on_pr.yml * fix build_on_pr.yml * fix build on pr; fix environ vars * seperate unit tests for colossalqa from build from pr * fix container setting; fix environ vars * commented dev code * add incremental update * remove stale code * fix style * change to sha3 224 * fix retriever; fix style; add unit test for document loader * fix ci workflow config * fix ci workflow config * add set cuda visible device script in ci * fix doc string * fix style; update readme; refactored * add force log info * change build on pr, ignore colossalqa * fix docstring, captitalize all initial letters * fix indexing; fix text-splitter * remove debug code, update reference * reset previous commit * update LICENSE update README add key-value mode, fix bugs * add files back * revert force push * remove junk file * add test files * fix retriever bug, add intent classification * change conversation chain design * rewrite prompt and conversation chain * add ui v1 * ui v1 * fix atavar * add header * Refactor the RAG Code and support Pangu * Refactor the ColossalQA chain to Object-Oriented Programming and the UI demo. * resolved conversation. tested scripts under examples. web demo still buggy * fix ci tests * Some modifications to add ChatGPT api * modify llm.py and remove unnecessary files * Delete applications/ColossalQA/examples/ui/test_frontend_input.json * Remove OpenAI api key * add colossalqa * move files * move files * move files * move files * fix style * Add Readme and fix some bugs. * Add something to readme and modify some code * modify a directory name for clarity * remove redundant directory * Correct a type in llm.py * fix AI prefix * fix test_memory.py * fix conversation * fix some erros and typos * Fix a missing import in RAG_ChatBot.py * add colossalcloud LLM wrapper, correct issues in code review --------- Co-authored-by: YeAnbang <anbangy2@outlook.com> Co-authored-by: Orion-Zheng <zheng_zian@u.nus.edu> Co-authored-by: Zian(Andy) Zheng <62330719+Orion-Zheng@users.noreply.github.com> Co-authored-by: Orion-Zheng <zhengzian@u.nus.edu>
1 year ago
{
"data": [
{
"key": "客户反映手机无法接收短信,但可以正常拨打电话,已确认手机号码正常,需要处理。",
"value": "故障原因分类: 短信接收问题"
},
{
"key": "客户申请开通国际漫游服务,但在目的地无法使用手机信号,已核实客户所在地国家为不支持漫游的区域,已通知客户。",
"value": "故障原因分类: 国际漫游服务"
},
{
"key": "客户称手机信号时强时弱,经过测试发现在不同区域信号确实存在波动,属于正常现象。",
"value": "故障原因分类: 信号强弱波动"
},
{
"key": "客户反映在家中无法连接Wi-Fi,建议检查路由器或尝试更换位置。",
"value": "故障原因分类: 家庭网络问题"
},
{
"key": "客户申请更换新的SIM卡,因旧卡损坏,已为客户办理新卡。",
"value": "故障原因分类: SIM卡更换"
},
{
"key": "客户反映通话时听不清对方声音,经检查发现是手机内置扬声器故障,建议维修。",
"value": "故障原因分类: 扬声器故障"
},
{
"key": "客户手机丢失,请求挂失并办理新卡,已为客户挂失旧卡并补办新卡。",
"value": "故障原因分类: 挂失与补办"
},
{
"key": "客户反映在市区内无法使用手机信号,经排查发现信号塔维护,属于暂时性故障。",
"value": "故障原因分类: 信号塔维护"
},
{
"key": "客户反映手机充电时出现过热情况,建议更换充电器。",
"value": "故障原因分类: 充电器故障"
},
{
"key": "客户要求关闭数据漫游功能,已为客户关闭。",
"value": "故障原因分类: 关闭数据漫游"
},
{
"key": "客户申请办理家庭套餐业务,已为客户办理。",
"value": "故障原因分类: 家庭套餐办理"
},
{
"key": "客户反映在商场内无法使用手机信号,建议检查手机信号设置。",
"value": "故障原因分类: 手机信号设置"
},
{
"key": "客户申请开通国际长途业务,已为客户办理。",
"value": "故障原因分类: 国际长途业务办理"
},
{
"key": "客户反映手机屏幕出现蓝屏,建议客户前往维修。",
"value": "故障原因分类: 手机屏幕故障"
},
{
"key": "客户申请办理免流量业务,已为客户办理。",
"value": "故障原因分类: 免流量业务办理"
}
]
}