




摘 要:針對(duì)養(yǎng)豬農(nóng)戶在豬只生病時(shí)獲取疾病診斷和防治信息不方便、時(shí)間周期長(zhǎng)或者代價(jià)昂貴等問(wèn)題,設(shè)計(jì)并實(shí)現(xiàn)了一個(gè)基于Rasa的生豬疾病診斷對(duì)話系統(tǒng)。從Rasa項(xiàng)目創(chuàng)建開始,按照應(yīng)用系統(tǒng)所需意圖和實(shí)體槽位設(shè)計(jì)、自然語(yǔ)言理解流水線配置、對(duì)話管理設(shè)計(jì)、知識(shí)圖譜設(shè)計(jì)和系統(tǒng)軟件架構(gòu)設(shè)計(jì)的順序?qū)ο到y(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)過(guò)程進(jìn)行了詳細(xì)的描述。該系統(tǒng)的開發(fā)升級(jí)了12396平臺(tái),對(duì)農(nóng)業(yè)信息的推廣應(yīng)用、提高農(nóng)業(yè)智能化水平具有重要意義。
關(guān)鍵詞:Rasa框架;生豬疾病;對(duì)話系統(tǒng);知識(shí)圖譜
中圖分類號(hào):S482.4 文獻(xiàn)標(biāo)識(shí)碼:A 文章編號(hào):1006-060X(2023)07-0097-04
Abstract:To address the issues of inconvenience, time-consuming or expensive costs for pig farmers' access to disease diagnosis and control information when their pigs are sick, a Rasa-based pig disease diagnosis dialogue system is designed and implemented. Starting from the creation of the Rasa project, the design and implementation process of the system is described in detail according to the order of the application system's desired intention and entity slot design, natural language understanding pipeline configuration, dialogue management design, knowledge map design and system software architecture design. The development of the system has upgraded the 12396 platform, which is of great significance for the promotion and application of agricultural information, and the improvement of agricultural intelligence level.
Key words:Rasa framework; pig disease; diagnosis system; knowledge graph
湖南是我國(guó)第二大生豬出口大省,生豬的疾病防治至關(guān)重要,診斷不及時(shí)或診斷有誤都將給農(nóng)戶帶來(lái)巨大損失,大范圍的生豬疾病將給豬肉市場(chǎng)帶來(lái)波動(dòng),影響廣大人民的生活質(zhì)量。對(duì)于養(yǎng)殖戶來(lái)說(shuō),獲取診斷和防治措施的途徑一般有咨詢專業(yè)獸醫(yī)、使用搜索引擎和查詢專業(yè)書籍等方式。農(nóng)村的專業(yè)獸醫(yī)十分稀少,出診時(shí)間長(zhǎng),很容易錯(cuò)過(guò)最佳治療時(shí)機(jī)。搜索引擎和查詢書籍等方式使用不方便,有些信息可靠性難以保證且不容易理解。
“十二五”期間,由湖南省科技廳牽頭,開發(fā)了湖南省農(nóng)村農(nóng)業(yè)信息化綜合服務(wù)平臺(tái),集成了12396呼叫熱線,農(nóng)戶可以通過(guò)平臺(tái)直接呼叫坐席專家。比如診斷生豬疾病,專家通過(guò)與農(nóng)戶的一系列對(duì)話,問(wèn)詢農(nóng)戶關(guān)于豬只的表現(xiàn)癥狀,給出診斷結(jié)果和防治建議。這是一種很自然的交互方式,深受農(nóng)民歡迎,但坐席專家的代價(jià)太高,這種方式不可持續(xù)。……