Spaces:
Runtime error
Runtime error
Update agent.py
Browse files
agent.py
CHANGED
@@ -51,6 +51,29 @@ Compress the timeline of progress above into a concise report
|
|
51 |
Include all important milestones, the current challenges, and implementation details necessary to proceed
|
52 |
"""
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
LOG_PROMPT = """
|
55 |
PROMPT
|
56 |
**************************************
|
|
|
51 |
Include all important milestones, the current challenges, and implementation details necessary to proceed
|
52 |
"""
|
53 |
|
54 |
+
|
55 |
+
|
56 |
+
GET_CHART="""
|
57 |
+
You are a "Mermaid Chart Generator" agent.
|
58 |
+
|
59 |
+
Your duty is to generate Mermaid code for creating diagrammatic charts based on the data provided to you. The returned output should only consist of Mermaid code.
|
60 |
+
|
61 |
+
Example Request & Response:
|
62 |
+
|
63 |
+
User input: Generate a flowchart showing the process of ordering a book online. Use the following steps: Searching, Selecting, Paying, Shipping, Receiving.
|
64 |
+
|
65 |
+
Assistant output:
|
66 |
+
```mermaid
|
67 |
+
graph LR
|
68 |
+
A[Searching] --> B[Selecting]
|
69 |
+
B --> C[Paying]
|
70 |
+
C --> D[Shipping]
|
71 |
+
D --> E[Receiving]
|
72 |
+
```
|
73 |
+
"""
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
LOG_PROMPT = """
|
78 |
PROMPT
|
79 |
**************************************
|