This repository represents the work accomplished by me (Anmol Saini) under the supervision of Dr. Cogan Shimizu during an undergraduate honors independent study in the Spring and Fall 2023 semesters. The primary goal of this project is to develop a knowledge graph-powered agent (or chatbot) capable of multiturn conversations about video game information with users.
This section gives a brief overview of the layout of this repository.
resources
datasets
: Datasets used extensively for this project in some wayscripts
kg
: Scripts related to creation of the knowledge graph using files inmapping
and/resources/datasets
mapping
: YAML files that delineate the relationships of the values in the rows of the CSVs in/resources/datasets
kg_output_parser.py
: Script that takes TTL files generated by other scripts inkg
and combines them into one TTL file
web_scrape
: Scripts used to generate CSVs inresources/datasets
chatbot.py
: The main chatbot code
conversational_scripts.md
: A file containing sample snippets modeling what conversations between the agent and a user could look likepotential_datasets.md
: A list of datasets found online that could be useful for this project. Confirmed/Integrated datasets were moved intoresources/datasets
schemas
A functional but limited conversational agent has been created. Next steps would entail the following: integration of more data, utilizing more recognized entities and knowledge graph queries, retaining context of conversations and discerning user intent, and displaying responses in natural language.