Spaces:
Sleeping
Sleeping
Update src/prompts.py
Browse files- src/prompts.py +6 -2
src/prompts.py
CHANGED
|
@@ -346,7 +346,10 @@ If multiple values are found, report all candidate values and explain difference
|
|
| 346 |
STEP 2: STRATEGIC COMMITMENT
|
| 347 |
|
| 348 |
Extract all national agricultural strategies, national development plans, donor strategies,
|
| 349 |
-
and value chain specific strategies in the last 10 years.
|
|
|
|
|
|
|
|
|
|
| 350 |
|
| 351 |
Across all supplied policy documents and identified strategies determine:
|
| 352 |
|
|
@@ -508,7 +511,8 @@ def build_vc_analyzer_prompt(context:str,
|
|
| 508 |
return VALUE_CHAIN_PROMPT_TEMPLATE.format(
|
| 509 |
domain=domain,
|
| 510 |
value_chain=value_chain,
|
| 511 |
-
context=context
|
|
|
|
| 512 |
)
|
| 513 |
|
| 514 |
def dict_to_string(d, indent=0):
|
|
|
|
| 346 |
STEP 2: STRATEGIC COMMITMENT
|
| 347 |
|
| 348 |
Extract all national agricultural strategies, national development plans, donor strategies,
|
| 349 |
+
and value chain specific strategies in the last 10 years. Search only through the policy documents listed below.
|
| 350 |
+
|
| 351 |
+
### Policy Documents:
|
| 352 |
+
{policy_docs}
|
| 353 |
|
| 354 |
Across all supplied policy documents and identified strategies determine:
|
| 355 |
|
|
|
|
| 511 |
return VALUE_CHAIN_PROMPT_TEMPLATE.format(
|
| 512 |
domain=domain,
|
| 513 |
value_chain=value_chain,
|
| 514 |
+
context=context,
|
| 515 |
+
policy_docs=policy_docs
|
| 516 |
)
|
| 517 |
|
| 518 |
def dict_to_string(d, indent=0):
|