Spaces:
Sleeping
Sleeping
Update appStore/rag.py
Browse files- appStore/rag.py +1 -1
appStore/rag.py
CHANGED
@@ -15,7 +15,7 @@ model_select = "gpt-3.5-turbo-1106"
|
|
15 |
|
16 |
# define a special function for putting the prompt together (as we can't use haystack)
|
17 |
def get_prompt(context, label):
|
18 |
-
base_prompt="Summarize the following context efficiently in bullet points, the less the better. \
|
19 |
Summarize only activities that address the vulnerability of "+label+" to climate change. \
|
20 |
Formatting example: \
|
21 |
- Collect and utilize gender-disaggregated data to inform and improve climate change adaptation efforts. \
|
|
|
15 |
|
16 |
# define a special function for putting the prompt together (as we can't use haystack)
|
17 |
def get_prompt(context, label):
|
18 |
+
base_prompt="Summarize the following context efficiently in bullet points, the less the better- but keep concrete goals. \
|
19 |
Summarize only activities that address the vulnerability of "+label+" to climate change. \
|
20 |
Formatting example: \
|
21 |
- Collect and utilize gender-disaggregated data to inform and improve climate change adaptation efforts. \
|