You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This flow chart represents a decision-making process for approving or rejecting a loan application.
232
+
233
+
The process starts at the "Start" node and then moves to the "Credit Score > 700?" decision node. If the credit score is greater than 700, the flow moves to the "Income > $50,000?" decision node. If the income is greater than $50,000, the flow moves to the "Employment > 2 years?" decision node. If the employment is greater than 2 years, the flow moves to the "Down Payment > 20%?" decision node. If the down payment is greater than 20%, the flow reaches the "Approve" node, indicating that the loan application should be approved.
234
+
235
+
However, if at any point in the process a condition is not met, the flow moves to the "Reject" node, indicating that the loan application should be rejected.
236
+
237
+
Overall, this flow chart helps guide the decision-making process for loan approval based on various criteria such as credit score, income, employment, and down payment.
This flow chart represents a decision-making process to determine the characteristics of different animals based on whether they have feathers, can fly, or have fins.
276
+
277
+
The process starts at the "Start" node and then moves to the "Has feathers?" decision node. If the animal has feathers, the flow moves to the "Can fly?" decision node. If the animal can fly, the flow reaches the "Hawk" node, indicating that the animal is a hawk. However, if the animal cannot fly, the flow reaches the "Penguin" node, indicating that the animal is a penguin.
278
+
279
+
If the animal does not have feathers, the flow moves to the "Has fins?" decision node. If the animal has fins, the flow reaches the "Dolphin" node, indicating that the animal is a dolphin. However, if the animal does not have fins, the flow reaches the "Bear" node, indicating that the animal is a bear.
280
+
281
+
Overall, this flow chart helps classify animals based on their characteristics, specifically whether they have feathers, can fly, or have fins
282
+
```
283
+
229
284
## Dependencies
230
285
231
286
- Requires an LLM - by default, uses OpenAI's ChatGPT.
The output MUST be in clear natural language, in a concise, friendly tone.
85
+
"""
86
+
87
+
# Each expert is a prompt that knows how to handle one type of user input
88
+
EXPERT_COMMANDS= [
89
+
Command('create_dot_workflow', create_dot_flowchart__expert_template, "Good for answering questions about creating a workflow in DOT notation"),
90
+
Command('describe_dot_workflow', describe_dot_flowchart__expert_template, "Good for describing a workflow given in DOT notation, summarizing its activity and its general purpose")
91
+
]
92
+
93
+
defGetPromptToDescribeWorkflow(dotText):
94
+
returnf"""Descibe this workflow: ```{dotText}```"""
0 commit comments