Check for prompt anomalies using similarity search
Generate text based on user input and chat history