Skip to content

luizcarlosdk/Divination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Divination - MAC0499 Capstone Project

This reposity contains the project for "MAC0499 - Trabalho de Formatura Supervisionado"

Description

The Divination project provides an application that uses the fantasy tabletop role-playing game Dungeons and Dragons (D&D) sourcebooks to help DMs manage players’ adventures.

The system is divided into a front-end and a back-end. The front-end uses the Vue3js framework to provide a user chat interface, and the back-end uses Python+FASTAPI powered by ChatGPT-4o LLM

To answer the questions as faithfully as possible, avoiding LLM Hallucinations, the back-end uses Retrieval-Augmented Generation (RAG) as a structure; this structure reads external data from the D&D Free Rules (2024) page and stores it on a Vector Store Database. When a query is received in the back-end, the RAG retrieves the most relevant chunks from the vector store and sends them to the rest of the system to use as context to give the most accurate answer to the user

Monograph

The monograph for this capstone project is available on: https://luizcarlosdk.github.io/capstone-project/MonographLuizCarlos.pdf

How to Run

 docker-compose --profile project build
 docker-compose --profile project up

About

This reposity contains the capstone project for "MAC0499 - Trabalho de Formatura Supervisionado"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published