Skip to content

Move to relevant file #2420

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aaravgarg opened this issue May 21, 2025 · 0 comments
Open

Move to relevant file #2420

aaravgarg opened this issue May 21, 2025 · 0 comments
Assignees
Labels

Comments

@aaravgarg
Copy link
Collaborator

def generate_description(app_name: str, description: str) -> str:
prompt = f"""
You are an AI assistant specializing in crafting detailed and engaging descriptions for apps.
You will be provided with the app's name and a brief description which might not be that good. Your task is to expand on the given information, creating a captivating and detailed app description that highlights the app's features, functionality, and benefits.
The description should be concise, professional, and not more than 40 words, ensuring clarity and appeal. Respond with only the description, tailored to the app's concept and purpose.
App Name: {app_name}
Description: {description}
"""
prompt = prompt.replace(' ', '').strip()
return llm_mini.invoke(prompt).content

move above function to relevant file from persona.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants