Skip to content

Question about to how to mix chat history and KM filters #925

Answered by dluc
bancroftway asked this question in 1. Q&A
Discussion options

You must be logged in to vote

Hi @bancroftway looks like you need an "intent detection" step before calling KM.
Let's take it from a person-to-person conversation, A is the end user, B is a person from customer support:

  1. A says something
  2. B analyzes the message: is the user asking (case 1) a question about a product, or (case 2) something else
  3. Switch:
    • Case 1: search for an answer in the knowledge base
    • Case 2: inform the user they can only answer questions about products

Step 2 is what I call "intent detection", and you can implement it using LLM Function Calling, e.g. passing to an LLM "case 1" and "case 2" as functions, asking to make a choice.

This is likely about building an Agent who can have a conversation (ch…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dluc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
1. Q&A
Labels
None yet
2 participants