From c6f5a771c4e68e6c06e0f6d5d1063dca86ab29dc Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Tue, 18 Jul 2023 15:58:08 +0200 Subject: [PATCH] add prompt ideas --- matrix_pygmalion_bot/bot/ai/prompts.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/matrix_pygmalion_bot/bot/ai/prompts.py b/matrix_pygmalion_bot/bot/ai/prompts.py index a63c2e4..27ee8d7 100644 --- a/matrix_pygmalion_bot/bot/ai/prompts.py +++ b/matrix_pygmalion_bot/bot/ai/prompts.py @@ -211,6 +211,22 @@ Provide an outline of {ai_name}'s day in keywords. # briefly, as a list, use bullet points, outline the main points what character needs to remember about the day, in note form, review ... point by point +prompt_document_answering = PromptTemplate.from_template( +"""Write a high-quality answer for the given question using only the provided search +results (some of which might be irrelevant). + +Document [1](Title: Asian Americans in science and technology) Prize in physics for +discovery of the subatomic particle J/ψ. Subrahmanyan Chandrasekhar shared... +Document [2](Title: List of Nobel laureates in Physics) The first Nobel Prize in +Physics was awarded in 1901 to Wilhelm Conrad Röntgen, of Germany, who received... +Document [3](Title: Scientist) and pursued through a unique method, was essentially +in place. Ramón y Cajal won the Nobel Prize in 1906 for his remarkable... + +Question: who got the first nobel prize in physics +Answer:""" +) + + prompt_agent = PromptTemplate.from_template( """Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request and explain what actions were used.