What are the ways that we can do intent classification in a conversation. If we have used conversational chain is there anyway we can do that.
I need to identify the users intention to update or insert operation. But I dont know which line exactly say the intention. Any suggestions
This is my code using AzureOpenAI and LangChain to do the intent classification. Btw, this is zero-shot prompting. It is better for you to have examples to feed in the prompt to make the classification more promissing.