

That’s where the chaos comes in, how would they reconcile the dichotomy between an ostensibly divine message that directs them to follow the teachings of the religion that they profess to follow and the actions of their own party that directly contradict that in a lot of ways? Chaos would be an understatement for a lot of them.
I’m sure the mental gymnastics involved with trying to reconcile both sides would be worthy of the Olympics.
You’re thinking of retrieval augmented generation (RAG) with a vector database. Its something that’s being actively developed. I haven’t had time to dig much into it, especially currently. But the terms themselves should give you a starting point.
Edit: a quick google gives what could be a promising starting point https://huggingface.co/learn/cookbook/rag_llamaindex_librarian