You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I'm currently using langchain to develop a customer support chatbot for a e-commerce website.
Currently, I've managed to make it answer correctly based on policy or consumer data.
However, I also want it to talk and behave in a way written on a certain document.
I have a customer support manual (writtern for humans) which tells
What action plan you(LLM) should take (ask for order number, home address first, then search ~~ etc.)
And the manner in which you(LLM) should talk to the customer.
It's too long to prompt it as a whole.
I want to feed this into the LLM, but I have no clue where to start from.
The first way that came up in my mind is store the document as embeddings first, retrive the specific rules and manners it should behave when the query comes in, then add it on the prompt.
Any refernces, papers, links, suggestions, opinions would be helpful!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi. I'm currently using langchain to develop a customer support chatbot for a e-commerce website.
Currently, I've managed to make it answer correctly based on policy or consumer data.
However, I also want it to talk and behave in a way written on a certain document.
I have a customer support manual (writtern for humans) which tells
It's too long to prompt it as a whole.
I want to feed this into the LLM, but I have no clue where to start from.
The first way that came up in my mind is store the document as embeddings first, retrive the specific rules and manners it should behave when the query comes in, then add it on the prompt.
Any refernces, papers, links, suggestions, opinions would be helpful!
Beta Was this translation helpful? Give feedback.
All reactions