added the arguments for the idea_expander
Browse files
app.py
CHANGED
|
@@ -10,7 +10,10 @@ from Gradio_UI import GradioUI
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
def idea_expander(idea:str)-> str: # it's important to specify the return type
|
| 13 |
-
"""Expands a short idea into a structured and creative project roadmap.
|
|
|
|
|
|
|
|
|
|
| 14 |
prompt = f"Expand the following idea into a structured 2-week roadmap with milestones:\n\nIdea: {idea}"
|
| 15 |
return model.complete(prompt)
|
| 16 |
|
|
|
|
| 10 |
# Below is an example of a tool that does nothing. Amaze us with your creativity !
|
| 11 |
@tool
|
| 12 |
def idea_expander(idea:str)-> str: # it's important to specify the return type
|
| 13 |
+
"""Expands a short idea into a structured and creative project roadmap.
|
| 14 |
+
Args:
|
| 15 |
+
idea: A string representing a short idea.
|
| 16 |
+
"""
|
| 17 |
prompt = f"Expand the following idea into a structured 2-week roadmap with milestones:\n\nIdea: {idea}"
|
| 18 |
return model.complete(prompt)
|
| 19 |
|