A chatbot is an intelligent software application that automates conversations and engages users in natural language through messaging platforms. Leveraging artificial intelligence (AI), chatbots serve various functions, including customer service, information gathering, and casual conversation. Existing virtual assistant chatbots, such as ChatGPT and Gemini, demonstrate the potential of AI in Natural Language Processing (NLP). However, many current solutions rely on predefined APIs, which can result in vendor lock-in and high costs. To address these challenges, this work proposes a chatbot developed using a Sequence-to-Sequence (Seq2Seq) model with an encoder-decoder architecture that incorporates attention mechanisms and Long Short-Term Memory (LSTM) cells. By avoiding predefined APIs, this approach ensures flexibility and cost-effectiveness. The chatbot is trained, validated, and tested on a dataset specifically curated for the tourism sector in Draa-Tafilalet, Morocco. Key evaluation findings indicate that the proposed Seq2Seq model-based chatbot achieved high accuracies: approximately 99.58% in training, 98.03% in validation, and 94.12% in testing. These results demonstrate the chatbot's effectiveness in providing relevant and coherent responses within the tourism domain, highlighting the potential of specialized AI applications to enhance user experience and satisfaction in niche markets.
Citation-Enhanced Generation for LLM-based Chatbots
Tsinghua University(清华大学);Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院);Jiangsu Collaborative Innovation Center for Language Competence(江苏省语言能力协同创新中心)
ASR Adaptation for E-commerce Chatbots using Cross-Utterance Context and Multi-Task Language Modeling
Amazon AWS AI(亚马逊AWS人工智能部门)
对插槽实体的自动语音识别(ASR)鲁棒性在涉及货币交易和购买的电子商务语音助理中至关重要。随着有效的领域适应,它是直观的,跨话语上下文线索在消歧领域特定的内容词从语音中起着重要的作用。在本文中,我们研究了各种技术,以提高上下文,内容词的鲁棒性和域自适应的transformer-XL神经语言模型(NLM),以rescore ASR N-best假设。为了提高语境化,我们利用轮级对话行为以及跨话语语境结转。此外,为了使我们的域通用NLM适应电子商务的运行,我们在域内数据上使用来自微调掩码LM的嵌入。最后,为了提高对域内内容词的鲁棒性,我们提出了一个多任务模型,可以联合执行内容词检测和语言建模任务。与非上下文LSTM LM基线相比,我们表现最好的NLM重新评分器在电子商务音频测试集上的内容WER减少了19.2%,插槽标签F1提高了6.4%。