File size: 1,677 Bytes
c383152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1b21038
 
 
 
c383152
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# ling-space/i1n/tab_chat.py

ui_translations = {
    # Tab Name (used in app.py)
    "chat_tab_title": {
        "en": "Chat",
        "zh": "文本聊天"
    },
    # Components
    "chat_new_chat_button": {
        "en": "➕ New Chat",
        "zh": "➕ 新对话"
    },
    "chat_history_dataframe_header": {
        "en": "History",
        "zh": "对话记录"
    },
    "chat_history_summary_header": {
        "en": "Summary",
        "zh": "内容摘要"
    },
    "chat_chatbot_placeholder": {
        "en": "Enter message...",
        "zh": "输入消息..."
    },
    "chat_textbox_placeholder": {
        "en": "Enter message...",
        "zh": "输入消息..."
    },
    "chat_submit_button": {
        "en": "Send",
        "zh": "发送"
    },
    "chat_recommended_dialogues_title": {
        "en": "### Recommended Dialogues",
        "zh": "### 推荐对话"
    },
    "chat_recommended_dataset_label": {
        "en": "Recommended Scenarios",
        "zh": "推荐场景"
    },
    "chat_recommended_dataset_header": {
        "en": "Try a scenario",
        "zh": "选择一个场景试试"
    },
    "chat_system_prompt_label": {
        "en": "System Prompt",
        "zh": "系统提示词"
    },
    "chat_system_prompt_placeholder": {
        "en": "Enter system prompt...",
        "zh": "输入系统提示词..."
    },
    "chat_temperature_slider_label": {
        "en": "Temperature",
        "zh": "温度参数"
    },

    # Logic-related text
    "chat_new_conversation_title": {
        "en": "(New Conversation)",
        "zh": "(新对话)"
    }
}

# Prompt fragments can be added here later if needed
prompt_fragments = {}