Spaces:
Runtime error
Runtime error
File size: 10,452 Bytes
c452620 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | from dataclasses import dataclass
from typing import List # NOQA: UP035
@dataclass
class Locale:
title: str
language: str
lang_code: str
upload_label: str
mapping_cate_file: str
mapping_target_file: str
task_selection_label: str
tone_selection_label: str
environ_label: str
owner_label: str
brand_label: str
item_name_label: str
promotion_label: str
more_details_label: str
article_content: str
radio_placeholder: str
radio_text1: str
radio_text2: str
footer_option0: str
footer_option1: str
product_information: str
# --- LOCALE SETTINGS ---
en = Locale(
title="Alphii Description and Advertisement",
language="English",
lang_code="en",
upload_label="Upload an image",
mapping_cate_file="src/utils/cate_mapper/cate2en.json",
mapping_target_file="src/utils/target_mapper/target2en.json",
task_selection_label="Select generation task",
tone_selection_label="Select writing tone",
environ_label="Environment",
owner_label="Company / Owner name",
brand_label="Brand name",
item_name_label="Name of product",
promotion_label="Promotion",
more_details_label="More details",
article_content="Article content",
radio_placeholder="Role Interaction",
radio_text1="Select",
radio_text2="Create",
footer_option0="Description & Advertisement",
footer_option1="Info",
product_information="""AlphiiChatbot tailored for the retail industry, specifically focusing on the fashion sector. Our chatbot is designed to provide exceptional assistance to customers in their product selection, exploration, and search. But that's not all – our product goes a step further by offering personalized clothing recommendations based on user interactions, preferences, history, and inquiries.\n
Powered by cutting-edge and state-of-the-art artificial intelligence technologies, our chatbot is here to revolutionize the way customers engage with your fashion brand. Whether it's helping customers find the perfect outfit, suggesting the latest trends, or answering their fashion-related questions, our chatbot is the ultimate solution to enhance the shopping experience.\n
Don't miss out on this opportunity to take your retail business to the next level with our advanced and customer-centric chatbot solution. Experience the future of retail with our innovative product today!""",
)
vi = Locale(
title="Miêu tả và quảng cáo thời trang AlphiiMiracle",
language="Tiếng Việt",
lang_code="vi",
upload_label="Tải ảnh lên",
mapping_cate_file="src/utils/cate_mapper/cate2vi.json",
mapping_target_file="src/utils/target_mapper/target2vi.json",
task_selection_label="Lựa chọn tác vụ để sinh văn bản",
tone_selection_label="Chọn văn phong",
environ_label="Môi trường",
owner_label="Tên Công ty / Hãng / Chủ sở hữu",
brand_label="Tên hãng sản phẩm",
item_name_label="Tên sản phẩm",
promotion_label="Khuyến mãi",
more_details_label="Thêm thông tin chi tiết",
article_content="Nội dung bài viết",
radio_placeholder="Lựa chọn phiên bản của trợ lý ảo",
radio_text1="Lựa chọn",
radio_text2="Tạo mới",
footer_option0="Miêu tả & Bài quảng cáo",
footer_option1="Thông tin",
product_information="""AlphiiChatbot được tùy chỉnh dành cho ngành bán lẻ, đặc biệt là tập trung vào lĩnh vực thời trang. Chatbot của chúng tôi được thiết kế để cung cấp sự hỗ trợ xuất sắc cho khách hàng trong việc lựa chọn sản phẩm, khám phá và tìm kiếm. Nhưng điều đó chưa đủ - sản phẩm của chúng tôi còn đi xa hơn bằng cách cung cấp các gợi ý về trang phục cá nhân dựa trên tương tác của người dùng, sở thích, lịch sử và câu hỏi.\n
Được trang bị bởi các công nghệ trí tuệ nhân tạo tiên tiến và hiện đại, chatbot của chúng tôi sẽ cách mạng hóa cách khách hàng tương tác với thương hiệu thời trang của bạn. Cho dù đó là giúp khách hàng tìm trang phục hoàn hảo, đề xuất các xu hướng mới nhất hoặc trả lời các câu hỏi liên quan đến thời trang, chatbot của chúng tôi là giải pháp tối ưu để nâng cao trải nghiệm mua sắm.\n
Đừng bỏ lỡ cơ hội này để đưa doanh nghiệp bán lẻ của bạn lên tầm cao mới với giải pháp chatbot tiên tiến và tập trung vào khách hàng của chúng tôi. Trải nghiệm tương lai của ngành bán lẻ với sản phẩm độc đáo của chúng tôi ngay hôm nay!""",
)
jpn = Locale(
title="AlphiiMiracle ファッションの説明と広告",
language="日本語",
lang_code="jpn",
upload_label="画像をアップロードする",
mapping_cate_file="src/utils/cate_mapper/cate2jpn.json",
mapping_target_file="src/utils/target_mapper/target2jpn.json",
task_selection_label="生成タスクの選択",
tone_selection_label="筆記トーンを選択する",
environ_label="環境",
owner_label="会社名/所有者名",
brand_label="ブランド名",
item_name_label="製品名",
promotion_label="プロモーション",
more_details_label="さらに詳しく",
article_content="記事の内容",
radio_placeholder="役割の相互作用",
radio_text1="選択する",
radio_text2="作成する",
footer_option0="説明と広告",
footer_option1="情報",
product_information="""AlphiiChatbot は小売業界向けに調整されており、特にファッション分野に重点を置いています。 当社のチャットボットは、お客様の製品選択、探索、検索において優れた支援を提供できるように設計されています。 しかし、それだけではありません。当社の製品はさらに一歩進んで、ユーザーとのやり取り、好み、履歴、問い合わせに基づいてパーソナライズされた服装の推奨を提供します。\n
最先端の人工知能テクノロジーを活用した当社のチャットボットは、顧客と貴社のファッション ブランドとの関わり方に革命をもたらします。 お客様が完璧な服装を見つけるお手伝いをしたり、最新のトレンドを提案したり、ファッション関連の質問に答えたりする場合でも、当社のチャットボットはショッピング エクスペリエンスを向上させる究極のソリューションです。\n
当社の高度な顧客中心のチャットボット ソリューションで小売業を次のレベルに引き上げるこの機会をお見逃しなく。 当社の革新的な製品で小売の未来を今すぐ体験してください。""",
)
chn = Locale(
title="AlphiiMiracle 时尚描述和广告",
language="中国人",
lang_code="chn",
upload_label="上传图片",
mapping_cate_file="src/utils/cate_mapper/cate2chn.json",
mapping_target_file="src/utils/target_mapper/target2chn.json",
task_selection_label="选择生成任务",
tone_selection_label="选择书写语气",
environ_label="环境",
owner_label="公司/所有者名称",
brand_label="品牌",
item_name_label="产品名称",
promotion_label="晋升",
more_details_label="更多细节",
article_content="文章内容",
radio_placeholder="角色互动",
radio_text1="选择",
radio_text2="创造",
footer_option0="描述和广告",
footer_option1="信息",
product_information="""AlphiiChatbot 为零售行业量身定制,特别专注于时尚领域。 我们的聊天机器人旨在为客户选择、探索和搜索产品提供卓越的帮助。 但这还不是全部 - 我们的产品更进一步,根据用户互动、偏好、历史记录和查询提供个性化的服装推荐。\n
我们的聊天机器人由最先进的人工智能技术提供支持,旨在彻底改变客户与您的时尚品牌的互动方式。 无论是帮助顾客找到完美的服装、建议最新趋势,还是回答他们的时尚相关问题,我们的聊天机器人都是增强购物体验的终极解决方案。\n
不要错过这个机会,通过我们先进的、以客户为中心的聊天机器人解决方案将您的零售业务提升到一个新的水平。 今天就用我们的创新产品体验零售业的未来!""",
)
kr = Locale(
title="AlphiiMiracle 패션 설명 및 광고",
language="한국인",
lang_code="kr",
upload_label="이미지 업로드",
mapping_cate_file="src/utils/cate_mapper/cate2kr.json",
mapping_target_file="src/utils/target_mapper/target2kr.json",
task_selection_label="생성 작업 선택",
tone_selection_label="쓰기 톤 선택",
environ_label="환경",
owner_label="회사 / 소유자 이름",
brand_label="상표명",
item_name_label="제품명",
promotion_label="홍보",
more_details_label="추가 세부정보",
article_content="기사 내용",
radio_placeholder="역할 상호작용",
radio_text1="선택하다",
radio_text2="만들다",
footer_option0="설명 및 광고",
footer_option1="정보",
product_information="""AlphiiChatbot은 특히 패션 부문에 중점을 두고 소매 업계에 맞춰 제작되었습니다. 당사의 챗봇은 고객의 제품 선택, 탐색 및 검색에 있어 탁월한 지원을 제공하도록 설계되었습니다. 하지만 그게 다가 아닙니다. 우리 제품은 한 단계 더 나아가 사용자 상호작용, 선호도, 기록, 문의를 기반으로 맞춤 의류 추천을 제공합니다.\n
최첨단 인공 지능 기술로 구동되는 당사의 챗봇은 고객이 귀하의 패션 브랜드와 소통하는 방식에 혁명을 일으키고 있습니다. 고객이 완벽한 옷을 찾도록 돕거나, 최신 트렌드를 제안하거나, 패션 관련 질문에 답변하는 등 당사의 챗봇은 쇼핑 경험을 향상시키는 최고의 솔루션입니다.\n
고객 중심의 고급 챗봇 솔루션을 통해 소매 비즈니스를 한 단계 더 발전시킬 수 있는 이번 기회를 놓치지 마세요. 오늘 혁신적인 제품으로 소매업의 미래를 경험해 보세요!""",
) |