talkdai / dialog

RAG LLM Ops App for easy deployment and testing
https://dialog.talkd.ai
MIT License
354 stars 44 forks source link

Classify conversations with LLMs #60

Open lgabs opened 9 months ago

lgabs commented 9 months ago

Currenty, we generate keywords from the conversation as a start point to classify the conversation. The classification of conversation can have several downstream uses, such as support allocation, prioritization of emergencies, and understanding what topics drive your support, etc.

LLMs are also good at classification, and we can take advantage of langchain's implementation for tagging documents. The ideia is to allow the user to specify a prompt and tags description, and then at each request an async task will tag the conversion as we already do here.

lgabs commented 9 months ago

I've done some experiments with this before, so I can take this issue.