LLamaIndex turned out to be the most straight-forward approach to transform external data into embeddings and store them in a persistent vector database and to set up a stateful chat agent. The general approach needs only some lines of code. Nevertheless, since the development of the AI Frameworks is a currently moving very fast, new chat engine interfaces may evolve which are even more suitable here. Investigate whether there are meanwhile better implementations for a Chat Engine