Not specifically a llamaindex question, and possibly not even LLM.
In the context of Kubernetes, I can use an LLM like OpenAI to "categorize" questions as being "likely to be about yaml" or "free-form and not really yaml"
for example:
query: give me a resource definition to run mongodb
answer: yaml
query: help me understand why this pod is crashing
answer: free form
Someone suggested this could potentially be achieved with BERT-like "sentiment-analysis". It just seems like using an LLM to do this is overkill/resource intensive.