shu/update v2 prompt (#2271)
This commit is contained in:
@@ -63,9 +63,11 @@ DEFAULT_WORKFLOW_TITLE = "New Workflow"
|
|||||||
RANDOM_STRING_POOL = string.ascii_letters + string.digits
|
RANDOM_STRING_POOL = string.ascii_letters + string.digits
|
||||||
DEFAULT_MAX_ITERATIONS = 10
|
DEFAULT_MAX_ITERATIONS = 10
|
||||||
|
|
||||||
MINI_GOAL_TEMPLATE = """Achieve the following mini goal and once it's achieved, complete: {mini_goal}
|
MINI_GOAL_TEMPLATE = """Achieve the following mini goal and once it's achieved, complete:
|
||||||
|
```{mini_goal}```
|
||||||
|
|
||||||
This mini goal is part of the big goal the user wants to achieve and use the big goal as context to achieve the mini goal: {main_goal}"""
|
This mini goal is part of the big goal the user wants to achieve and use the big goal as context to achieve the mini goal:
|
||||||
|
```{main_goal}```"""
|
||||||
|
|
||||||
|
|
||||||
def _generate_data_extraction_schema_for_loop(loop_values_key: str) -> dict:
|
def _generate_data_extraction_schema_for_loop(loop_values_key: str) -> dict:
|
||||||
|
|||||||
Reference in New Issue
Block a user