What is the point of search Anomaly detection lesson

In the last session anomaly detection.
We have created embeds and up-serted into the pinecone.
What is the usage of search one log?
Is it to find whether the log is anomaly?
Why not just use the model to check the log is anomaly or not?