soilwise-he / natural-language-querying

Application component that provides Natural Language Querying (NLQ) services, making knowledge stored in a graph database accessible for e.g. a ChatBot UI.
MIT License
0 stars 0 forks source link

Define connection between the NLQ component and the Graph Database #7

Open robknapen opened 2 months ago

robknapen commented 1 month ago

According to the (Brugge) architecture the sole connection between the NLQ component and the triple store is the SPARQL API. So we can try to have the LLM generate proper SPARQL queries (might need few shot examples in the prompt) or use fixed queries via tool calling (might be more reliable, but less flexible).

BerkvensNick commented 1 month ago

I agree