Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,8 +67,7 @@ def generate_response_agent(state: State) -> Dict[str, str]:
|
|
| 67 |
f"for the following issue:\n\n"
|
| 68 |
f"Issue: {state['issue_description']}\n"
|
| 69 |
f"Priority: {state['priority']}.\n\n"
|
| 70 |
-
f"Your response should directly address the issue and provide next steps."
|
| 71 |
-
f"Also, generate a random company name in above response that would be relevant to handling this issue. The name should sound professional and related to the type of service needed."
|
| 72 |
)
|
| 73 |
response = llm.invoke(prompt).strip()
|
| 74 |
|
|
|
|
| 67 |
f"for the following issue:\n\n"
|
| 68 |
f"Issue: {state['issue_description']}\n"
|
| 69 |
f"Priority: {state['priority']}.\n\n"
|
| 70 |
+
f"Your response should directly address the issue and provide next steps with random company name based on {state['issue_description']}."
|
|
|
|
| 71 |
)
|
| 72 |
response = llm.invoke(prompt).strip()
|
| 73 |
|