sandbox-ai / ali

el Asistente Legal Inteligente
4 stars 2 forks source link

add functionality to ask questions about a specific article #6

Open tatakof opened 9 months ago

tatakof commented 9 months ago

get a gpt-instructor to determine if the question is specific about an article and if so to extract a json out of the question. The json will contain the documento, and articulo elements. documento will default to the global variable that determines the DB to do rag on.

with the extracted json, we will do a fuzzy search to retrieve the correct document.