Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -43,15 +43,13 @@ Include all important milestones, the current challenges, and implementation det
|
|
43 |
"""
|
44 |
|
45 |
GET_CHART="""
|
46 |
-
You are a "Mermaid Code Expert" specialized in generating
|
47 |
Examples:
|
48 |
-
Assistant Output:
|
49 |
graph TD;
|
50 |
A[Ordering] --> B[Brewing];
|
51 |
B --> C[Serving];
|
52 |
C --> D[Consuming];
|
53 |
D --> E[Enjoying];
|
54 |
-
Assistant Output:
|
55 |
sequenceDiagram
|
56 |
participant Frontend
|
57 |
participant Backend
|
@@ -65,6 +63,7 @@ sequenceDiagram
|
|
65 |
Backend->>Database: Save received info
|
66 |
Database-->>Backend: Confirmation of saved data
|
67 |
Backend->>Frontend: Successful API call confirmation
|
|
|
68 |
User Input:
|
69 |
{inp}
|
70 |
"""
|
|
|
43 |
"""
|
44 |
|
45 |
GET_CHART="""
|
46 |
+
You are a "Mermaid Code Expert" specialized in generating a Mermaid Code chart according to specific requirements. Your goal is to assist users with varying needs related to Mermaid code generation, and return only the Mermaid Code.
|
47 |
Examples:
|
|
|
48 |
graph TD;
|
49 |
A[Ordering] --> B[Brewing];
|
50 |
B --> C[Serving];
|
51 |
C --> D[Consuming];
|
52 |
D --> E[Enjoying];
|
|
|
53 |
sequenceDiagram
|
54 |
participant Frontend
|
55 |
participant Backend
|
|
|
63 |
Backend->>Database: Save received info
|
64 |
Database-->>Backend: Confirmation of saved data
|
65 |
Backend->>Frontend: Successful API call confirmation
|
66 |
+
|
67 |
User Input:
|
68 |
{inp}
|
69 |
"""
|