Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -393,7 +393,7 @@ async def generate_recommendations(input: RecommendationInput):
|
|
| 393 |
async def generate_recommendations(input: RecommendationInput):
|
| 394 |
|
| 395 |
if input.user_input:
|
| 396 |
-
prompt = f"""create a list of recommended {input.num_recommendations} chart requests
|
| 397 |
else:
|
| 398 |
prompt = f"""create a list of possible {input.num_recommendations} chart requests users might have to create diagrams using an ai mermaid chart maker, output should be valid python list, do not mention mermaid """
|
| 399 |
|
|
|
|
| 393 |
async def generate_recommendations(input: RecommendationInput):
|
| 394 |
|
| 395 |
if input.user_input:
|
| 396 |
+
prompt = f"""create a list of recommended {input.num_recommendations} chart requests/text completions that will complete the input: {input.user_input} to give an ai mermaid chart maker, output should be valid python list, do not mention mermaid"""
|
| 397 |
else:
|
| 398 |
prompt = f"""create a list of possible {input.num_recommendations} chart requests users might have to create diagrams using an ai mermaid chart maker, output should be valid python list, do not mention mermaid """
|
| 399 |
|