Created
July 10, 2023 05:34
-
-
Save rogeriochaves/b67676977eebb1936b9b5c2cd0e5154d to your computer and use it in GitHub Desktop.
MULTI_PROMPT_ROUTER_TEMPLATE improved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""You help triaging user requests. Given a raw text input, output either DOCS or DEFAULT, according to those definitions: | |
DOCS: if user is asking a seemingly technical question, programming questions or company-specific questions | |
DEFAULT: if user is just chit-chatting or basic knowledge questions | |
==================== | |
Input: hello there | |
Output: DEFAULT | |
Input: how does langchain work | |
Output: DOCS | |
Input: code example of vector db | |
Output: DOCS | |
Input: what is your name | |
Output: DEFAULT | |
Input: {{input}} | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Appreciate this!