0% found this document useful (0 votes)
32 views1 page

Approach

The document outlines a structured approach for processing queries, which includes loading a document, embedding data, and utilizing a chat model. It emphasizes performing a similarity search to find relevant information and provides a fallback response if no matches are found. The process aims to enhance user interaction by offering answers or connecting them with a live agent when necessary.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Approach

The document outlines a structured approach for processing queries, which includes loading a document, embedding data, and utilizing a chat model. It emphasizes performing a similarity search to find relevant information and provides a fallback response if no matches are found. The process aims to enhance user interaction by offering answers or connecting them with a live agent when necessary.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Approach:

1) Load the document


2) split if needed
3) Embedding and vector store
4) Chatmodel
5) Ask question
6) Similarity search
7) If similarity search =0, output = “Sorry, I didn’t understand your question. Do you want to
connect with a live agent?”
8) Else give answer

You might also like