Hello, I noticed some differences between the mistral and llama examples in your guide.
The code on the mistral example is perfect, while the one in the llama example isn't, most of the problems I found were with the way the connect_db() function was called, I think the llama example should be the same as the mistral one.