Spaces:
Sleeping
Sleeping
Update options
Browse files- llm_call.py +14 -1
llm_call.py
CHANGED
|
@@ -123,13 +123,26 @@ class SermonGeminiPromptTemplate():
|
|
| 123 |
|
| 124 |
"""
|
| 125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
sermonPromptMenuGemini = {
|
| 127 |
'BUILD_INIT': custom_prompt_template_gemini,
|
| 128 |
'BUILD_EMPTY': custom_prompt_template_gemini_buildSermonStart,
|
| 129 |
'BUILD_FROM_IDEA': custom_prompt_template_gemini_buildSermonFronContext,
|
| 130 |
'BUILD_QUESTION': custom_prompt_template_gemini_buildSermonQuestion,
|
| 131 |
'BUILD_REFLECTIONS': custom_prompt_template_gemini_buildSermonReflections,
|
| 132 |
-
'BUILD_PREPARE_QUESTIONS': custom_prompt_template_gemini_buildSermonPrepare
|
|
|
|
| 133 |
}
|
| 134 |
|
| 135 |
def __init__(self ):
|
|
|
|
| 123 |
|
| 124 |
"""
|
| 125 |
|
| 126 |
+
custom_prompt_template_gemini_argumentQuestions = """
|
| 127 |
+
Usted es pastor evang茅lico que est谩 preparando un serm贸n para su comunidad.
|
| 128 |
+
A partir de este texto:
|
| 129 |
+
|
| 130 |
+
\"{QUESTION_ANSWER}\"
|
| 131 |
+
|
| 132 |
+
Context: {context}
|
| 133 |
+
|
| 134 |
+
Argumentar con m谩s informaci贸n manteniendo el texto anterior. Use como fuente la Biblia u otros recursos religiosos.
|
| 135 |
+
Solo devuelve la respuesta 煤til a continuaci贸n y nada m谩s y responde siempre en espa帽ol. Gracias por su ayuda:
|
| 136 |
+
"""
|
| 137 |
+
|
| 138 |
sermonPromptMenuGemini = {
|
| 139 |
'BUILD_INIT': custom_prompt_template_gemini,
|
| 140 |
'BUILD_EMPTY': custom_prompt_template_gemini_buildSermonStart,
|
| 141 |
'BUILD_FROM_IDEA': custom_prompt_template_gemini_buildSermonFronContext,
|
| 142 |
'BUILD_QUESTION': custom_prompt_template_gemini_buildSermonQuestion,
|
| 143 |
'BUILD_REFLECTIONS': custom_prompt_template_gemini_buildSermonReflections,
|
| 144 |
+
'BUILD_PREPARE_QUESTIONS': custom_prompt_template_gemini_buildSermonPrepare,
|
| 145 |
+
'BUILD_ADD_INFORMATION_TO_QUEST_ANSWER': custom_prompt_template_gemini_argumentQuestions
|
| 146 |
}
|
| 147 |
|
| 148 |
def __init__(self ):
|