Config for URLS prod
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user