Config for URLS prod

This commit is contained in:
2026-05-03 13:56:23 -04:00
parent 9ea5b872fc
commit da51720e2c
7 changed files with 129 additions and 30 deletions
+52 -7
View File
@@ -1,11 +1,56 @@
from app.utils.logger import logger
class GenerativesList:
@staticmethod
def get_generative_list():
def get_generative_list(product_id: str):
logger.info(f"get_generative_list ****** *****: {product_id}")
data = [
{"name": 'site_title', "prompt": 'Write about a 30-character title text for a REPLACE_THIS with specialization in REPLACE_ANOTHER website.', "active": True},
{"name": 'site_description', "prompt": 'Write a short introduction text about 100 characters for a REPLACE_THIS with specialization in REPLACE_ANOTHER website.', "active": True},
{"name": 'about_title', "prompt": 'Write about a 30-character about page title text for a REPLACE_THIS with specialization in REPLACE_ANOTHER website.', "active": True},
{"name": 'about_description', "prompt": 'Write three paragraphs about a REPLACE_THIS with specialization in REPLACE_ANOTHER website.', "active": True},
]
return data
{"name": 'site_title',
"prompt": 'Write about a 30-character title text for a REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'site_description',
"prompt": 'Write a short introduction text about 100 characters for a REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'about_title',
"prompt": 'Write about a 30-character about page title text for a REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'about_description',
"prompt": 'Write three paragraphs about a REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
]
if product_id =='A000001':
data = [
{"name": 'site_title',
"prompt": 'Write about a 30-character title text for a Personal Website for REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'site_description',
"prompt": 'Write a short introduction text about 100 characters for a Personal Website for REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'about_title',
"prompt": 'Write about a 30-character about page title text for a Personal Website for REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'about_description',
"prompt": 'Write three paragraphs about a REPLACE_THIS for a Personal Website with specialization in REPLACE_ANOTHER website.',
"active": True},
]
if product_id =='A000002':
data = [
{"name": 'site_title',
"prompt": 'Write about a 30-character title text for a Business Website for REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'site_description',
"prompt": 'Write a short introduction text about 100 characters for a Business Website for REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'about_title',
"prompt": 'Write about a 30-character about page title text for a Business Website for REPLACE_THIS with specialization in REPLACE_ANOTHER website.',
"active": True},
{"name": 'about_description',
"prompt": 'Write three paragraphs about a REPLACE_THIS for a Business Website with specialization in REPLACE_ANOTHER website.',
"active": True},
]
return data
# Personal Website - A000001
# Business Website - A000002