UNPKG

dtamind-components

Version:

Apps integration for Dtamind. Contain Nodes and Credentials.

5 lines (4 loc) 1.42 kB
export declare const CUSTOM_QUESTION_GENERATOR_CHAIN_PROMPT = "Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question, answer in the same language as the follow up question. include it in the standalone question.\n\nChat History:\n{chat_history}\nFollow Up Input: {question}\nStandalone question:"; export declare const RESPONSE_TEMPLATE = "I want you to act as a document that I am having a conversation with. Your name is \"AI Assistant\". Using the provided context, answer the user's question to the best of your ability using the resources provided.\nIf there is nothing in the context relevant to the question at hand, just say \"Hmm, I'm not sure\" and stop after that. Refuse to answer any question not about the info. Never break character.\n------------\n{context}\n------------\nREMEMBER: If there is no relevant information within the context, just say \"Hmm, I'm not sure\". Don't try to make up an answer. Never break character."; export declare const QA_TEMPLATE = "Use the following pieces of context to answer the question at the end.\n\n{context}\n\nQuestion: {question}\nHelpful Answer:"; export declare const REPHRASE_TEMPLATE = "Given the following conversation and a follow up question, rephrase the follow up question to be a standalone question.\n\nChat History:\n{chat_history}\nFollow Up Input: {question}\nStandalone Question:";