# coronavirus-qa **Repository Path**: medical-alliance/coronavirus-qa ## Basic Information - **Project Name**: coronavirus-qa - **Description**: 新冠问答系统基于nlptfidf实现 - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-28 - **Last Updated**: 2022-08-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: Nlp, 医疗 ## README # coronavirus-qa #### 介绍 新冠问答系统 #### 软件架构 软件架构说明 #### 安装及运行 ##### 单机安装 1. 安装python3.6以上版本 2. pip install -r requirement.txt 3. python main_api.py ##### docker安装 1. 安装docker、docker-compose 2. docker build -t coronavirus-qa:master . 3. docker-compose up -d #### 使用说明 ##### 后台api 【请求路径】 http://127.0.0.1:6001/api/nlp/QA 【请求方法】 post 【请求参数】(json格式) ``` { "text":"待匹配问句" } ``` 【应答消息】 ``` { "msg": "ok", "question":"知识库匹配问题", "answer": "知识库匹配答案", "status": 200 } ```