Basically this. It will first go to the LLM, ask for what keywords it should use for search, do a keyword and a semantic search and pass the original question together with the top search results as context to the LLM so it can come up with an answer.
This entire behavior is customizable, and you can adapt it to your users needs using our Persona system.
Discourse AI does no training whatsoever.