Skip to content

infovillasimius/aidaBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AidaBot Chat

The Web Browser application is based onJavascript and JQuery and offers roughly the same functionality as the Alexa skill. The database can be queried about authors, papers, conferences, organizations, citations and topics. It is possible to further filter the queries by specifying the name of a particular topic, conference, organization or author. The results can be sorted according to one of the following four options: publications, citations, publications in the last 5 years, citations in the last 5 years There are three types of queries:
  1. Describe (e.g .: "describe ISWC")
  2. Count (e.g .: "count the papers on machine learning")
  3. List (e.g .: "list the top 5 conferences with papers on rdf graph sorted by publications").

You can enter a query all at once in natural language or through a wizard by entering one of the three activation words: describe, count or list. The audio functions use the Web Speech API which is defined as experimental technology and may not work correctly depending on the compatibility of the browser used, therefore the options to activate them are only available on fully compatible browsers (Google Chrome, Microsoft Edge, Apple Safari: all functions - Mozilla Firefox: only the speech syntetizer).

Alexa Skill

To import AIDA Alexa-hosted skill (see https://youtu.be/7ANn_u-zX1Q)
  1. Open the Alexa developer console and log in.
  2. Click Create Skill. The Create a new skill page appears.
  3. For Skill name, type a name.
  4. For Default language, choose a language (en.US).
  5. For Choose a model to add to your skill, select Custom.
  6. For Choose a method to host your skill's backend resources, select Alexa-Hosted (Node.js).
  7. Click Create Skill. The Choose a template to add to your skill page appears.
  8. Click Import skill. The Import skill dialog appears.
  9. Enter the .git link to the Git repository that contains the skill that you want to import (https://github.com/infovillasimius/aida.git).
  10. Click Continue. The message Creating your Alexa-hosted skill appears. If Alexa validates that the Git repository contains an Alexa skill that it can import, Alexa creates your Alexa-hosted skill.

Web Server

The skill uses the data from our web server. If you want yours you have to:
  1. install elasticsearch on a Linux machine with an ip address reachable from the web server (point 5)
  2. download sample data from https://github.com/infovillasimius/aidaBot/tree/main/data_sample (the authors data for index "authors" are in a splitted zip file which has to be unzipped only once before use with import_dsc_authors_zip.py script)
  3. create five indexes named authors, authors2, aida2, conferences and organizations
  4. index data on elasticsearch using the five python scripts provided (you have to install elasticsearch python client)
  5. run the web server, provided at https://github.com/infovillasimius/aidaBot/tree/main/data_server, on a Linux machine - with an ip address reachable from the internet and elasticsearch python client installed - by launching web_server.py script (configuration options are in config.py and conf.js)

A paper about AidaBot is available at IEEE: Integrating Conversational Agents and Knowledge Graphs Within the Scholarly Domain

Releases

No releases published

Packages

No packages published