chainlit 2.0.4__py3-none-any.whl → 2.0.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of chainlit might be problematic. Click here for more details.

Files changed (44) hide show
  1. chainlit/copilot/dist/index.js +1511 -1511
  2. chainlit/element.py +1 -1
  3. chainlit/emitter.py +12 -0
  4. chainlit/frontend/dist/assets/{DailyMotion-Ce9dQoqZ.js → DailyMotion-DgnStuXc.js} +1 -1
  5. chainlit/frontend/dist/assets/{Dataframe-C1XonMcV.js → Dataframe-DawdSSSz.js} +1 -1
  6. chainlit/frontend/dist/assets/{Facebook-DVVt6lrr.js → Facebook-Dkb3dkMk.js} +1 -1
  7. chainlit/frontend/dist/assets/{FilePlayer-c7stW4vz.js → FilePlayer-Dr99LCnS.js} +1 -1
  8. chainlit/frontend/dist/assets/{Kaltura-BmMmgorA.js → Kaltura-Dd2OL4Gx.js} +1 -1
  9. chainlit/frontend/dist/assets/{Mixcloud-Cw8hDmiO.js → Mixcloud-Daz6VajP.js} +1 -1
  10. chainlit/frontend/dist/assets/{Mux-DiRZfeUf.js → Mux-Dj_4KxDa.js} +1 -1
  11. chainlit/frontend/dist/assets/{Preview-6Jt2mRHx.js → Preview-BM6sE6YJ.js} +1 -1
  12. chainlit/frontend/dist/assets/{SoundCloud-DKwcT58_.js → SoundCloud-BDq_zmWp.js} +1 -1
  13. chainlit/frontend/dist/assets/{Streamable-BVdxrEeX.js → Streamable-DEbcNGqP.js} +1 -1
  14. chainlit/frontend/dist/assets/{Twitch-DFqZR7Gu.js → Twitch-DCDKzjvH.js} +1 -1
  15. chainlit/frontend/dist/assets/{Vidyard-0BQAAtVk.js → Vidyard-BvNar4MT.js} +1 -1
  16. chainlit/frontend/dist/assets/{Vimeo-CRFSH0Vu.js → Vimeo-VW5C8KXV.js} +1 -1
  17. chainlit/frontend/dist/assets/{Wistia-CKrmdQaG.js → Wistia-DY3znsQk.js} +1 -1
  18. chainlit/frontend/dist/assets/{YouTube-CQpL-rvU.js → YouTube-CwSKe0WO.js} +1 -1
  19. chainlit/frontend/dist/assets/{index-QdmxtIMQ.js → index-AmAHbFrh.js} +1417 -1417
  20. chainlit/frontend/dist/assets/index-UbcaGyQ2.css +1 -0
  21. chainlit/frontend/dist/assets/{react-plotly-B9hvVpUG.js → react-plotly-LhBoPkZg.js} +1 -1
  22. chainlit/frontend/dist/index.html +2 -2
  23. chainlit/message.py +7 -0
  24. chainlit/step.py +1 -0
  25. chainlit/translations/bn.json +168 -221
  26. chainlit/translations/en-US.json +167 -245
  27. chainlit/translations/gu.json +168 -221
  28. chainlit/translations/he-IL.json +167 -220
  29. chainlit/translations/hi.json +168 -221
  30. chainlit/translations/ja.json +181 -232
  31. chainlit/translations/kn.json +168 -221
  32. chainlit/translations/ml.json +168 -221
  33. chainlit/translations/mr.json +168 -221
  34. chainlit/translations/nl-NL.json +181 -232
  35. chainlit/translations/ta.json +168 -221
  36. chainlit/translations/te.json +168 -221
  37. chainlit/translations/zh-CN.json +167 -219
  38. chainlit/types.py +9 -0
  39. chainlit/version.py +1 -1
  40. {chainlit-2.0.4.dist-info → chainlit-2.0.5.dist-info}/METADATA +3 -3
  41. {chainlit-2.0.4.dist-info → chainlit-2.0.5.dist-info}/RECORD +43 -43
  42. chainlit/frontend/dist/assets/index-DQmLRKyv.css +0 -1
  43. {chainlit-2.0.4.dist-info → chainlit-2.0.5.dist-info}/WHEEL +0 -0
  44. {chainlit-2.0.4.dist-info → chainlit-2.0.5.dist-info}/entry_points.txt +0 -0
@@ -1,269 +1,191 @@
1
1
  {
2
- "components": {
3
- "atoms": {
4
- "buttons": {
5
- "userButton": {
6
- "menu": {
7
- "settings": "Settings",
8
- "settingsKey": "S",
9
- "APIKeys": "API Keys",
10
- "logout": "Logout"
11
- }
12
- }
13
- }
2
+ "common": {
3
+ "actions": {
4
+ "cancel": "Cancel",
5
+ "confirm": "Confirm",
6
+ "continue": "Continue",
7
+ "goBack": "Go Back",
8
+ "reset": "Reset",
9
+ "submit": "Submit"
14
10
  },
15
- "molecules": {
16
- "newChatButton": {
17
- "newChat": "New Chat"
18
- },
19
- "tasklist": {
20
- "TaskList": {
21
- "title": "🗒️ Task List",
22
- "loading": "Loading...",
23
- "error": "An error occurred"
11
+ "status": {
12
+ "loading": "Loading...",
13
+ "error": {
14
+ "default": "An error occurred",
15
+ "serverConnection": "Could not reach the server"
16
+ }
17
+ }
18
+ },
19
+ "auth": {
20
+ "login": {
21
+ "title": "Login to access the app",
22
+ "form": {
23
+ "email": {
24
+ "label": "Email address",
25
+ "required": "email is a required field"
26
+ },
27
+ "password": {
28
+ "label": "Password",
29
+ "required": "password is a required field"
30
+ },
31
+ "actions": {
32
+ "signin": "Sign In"
33
+ },
34
+ "alternativeText": {
35
+ "or": "OR"
24
36
  }
25
37
  },
26
- "attachments": {
27
- "cancelUpload": "Cancel upload",
28
- "removeAttachment": "Remove attachment"
29
- },
30
- "newChatDialog": {
31
- "title": "Create New Chat",
32
- "description": "This will clear your current chat history. Are you sure you want to continue?",
33
- "cancelButton": "Cancel",
34
- "confirmButton": "Confirm",
35
- "tooltip": "New Chat"
36
- },
37
- "settingsModal": {
38
- "settings": "Settings",
39
- "expandMessages": "Expand Messages",
40
- "hideChainOfThought": "Hide Chain of Thought",
41
- "darkMode": "Dark Mode"
42
- },
43
- "detailsButton": {
38
+ "errors": {
39
+ "default": "Unable to sign in",
40
+ "signin": "Try signing in with a different account",
41
+ "oauthSignin": "Try signing in with a different account",
42
+ "redirectUriMismatch": "The redirect URI is not matching the oauth app configuration",
43
+ "oauthCallback": "Try signing in with a different account",
44
+ "oauthCreateAccount": "Try signing in with a different account",
45
+ "emailCreateAccount": "Try signing in with a different account",
46
+ "callback": "Try signing in with a different account",
47
+ "oauthAccountNotLinked": "To confirm your identity, sign in with the same account you used originally",
48
+ "emailSignin": "The e-mail could not be sent",
49
+ "emailVerify": "Please verify your email, a new email has been sent",
50
+ "credentialsSignin": "Sign in failed. Check the details you provided are correct",
51
+ "sessionRequired": "Please sign in to access this page"
52
+ }
53
+ },
54
+ "provider": {
55
+ "continue": "Continue with {{provider}}"
56
+ }
57
+ },
58
+ "chat": {
59
+ "input": {
60
+ "placeholder": "Type your message here...",
61
+ "actions": {
62
+ "send": "Send message",
63
+ "stop": "Stop Task",
64
+ "attachFiles": "Attach files"
65
+ }
66
+ },
67
+ "speech": {
68
+ "start": "Start recording",
69
+ "stop": "Stop recording",
70
+ "connecting": "Connecting"
71
+ },
72
+ "fileUpload": {
73
+ "dragDrop": "Drag and drop files here",
74
+ "browse": "Browse Files",
75
+ "sizeLimit": "Limit:",
76
+ "errors": {
77
+ "failed": "Failed to upload",
78
+ "cancelled": "Cancelled upload of"
79
+ }
80
+ },
81
+ "messages": {
82
+ "status": {
44
83
  "using": "Using",
45
84
  "used": "Used"
46
85
  },
47
- "auth": {
48
- "authLogin": {
49
- "title": "Login to access the app.",
50
- "form": {
51
- "email": "Email address",
52
- "password": "Password",
53
- "noAccount": "Don't have an account?",
54
- "alreadyHaveAccount": "Already have an account?",
55
- "signup": "Sign Up",
56
- "signin": "Sign In",
57
- "or": "OR",
58
- "continue": "Continue",
59
- "forgotPassword": "Forgot password?",
60
- "passwordMustContain": "Your password must contain:",
61
- "emailRequired": "email is a required field",
62
- "passwordRequired": "password is a required field"
63
- },
64
- "error": {
65
- "default": "Unable to sign in.",
66
- "signin": "Try signing in with a different account.",
67
- "oauthsignin": "Try signing in with a different account.",
68
- "redirect_uri_mismatch": "The redirect URI is not matching the oauth app configuration.",
69
- "oauthcallbackerror": "Try signing in with a different account.",
70
- "oauthcreateaccount": "Try signing in with a different account.",
71
- "emailcreateaccount": "Try signing in with a different account.",
72
- "callback": "Try signing in with a different account.",
73
- "oauthaccountnotlinked": "To confirm your identity, sign in with the same account you used originally.",
74
- "emailsignin": "The e-mail could not be sent.",
75
- "emailverify": "Please verify your email, a new email has been sent.",
76
- "credentialssignin": "Sign in failed. Check the details you provided are correct.",
77
- "sessionrequired": "Please sign in to access this page."
78
- }
79
- },
80
- "authVerifyEmail": {
81
- "almostThere": "You're almost there! We've sent an email to ",
82
- "verifyEmailLink": "Please click on the link in that email to complete your signup.",
83
- "didNotReceive": "Can't find the email?",
84
- "resendEmail": "Resend email",
85
- "goBack": "Go Back",
86
- "emailSent": "Email sent successfully.",
87
- "verifyEmail": "Verify your email address"
88
- },
89
- "providerButton": {
90
- "continue": "Continue with {{provider}}",
91
- "signup": "Sign up with {{provider}}"
92
- },
93
- "authResetPassword": {
94
- "newPasswordRequired": "New password is a required field",
95
- "passwordsMustMatch": "Passwords must match",
96
- "confirmPasswordRequired": "Confirm password is a required field",
97
- "newPassword": "New password",
98
- "confirmPassword": "Confirm password",
99
- "resetPassword": "Reset Password"
86
+ "actions": {
87
+ "copy": {
88
+ "button": "Copy to clipboard",
89
+ "success": "Copied!"
90
+ }
91
+ },
92
+ "feedback": {
93
+ "positive": "Helpful",
94
+ "negative": "Not helpful",
95
+ "edit": "Edit feedback",
96
+ "dialog": {
97
+ "title": "Add a comment",
98
+ "submit": "Submit feedback"
100
99
  },
101
- "authForgotPassword": {
102
- "email": "Email address",
103
- "emailRequired": "email is a required field",
104
- "emailSent": "Please check the email address {{email}} for instructions to reset your password.",
105
- "enterEmail": "Enter your email address and we will send you instructions to reset your password.",
106
- "resendEmail": "Resend email",
107
- "continue": "Continue",
108
- "goBack": "Go Back"
100
+ "status": {
101
+ "updating": "Updating",
102
+ "updated": "Feedback updated"
109
103
  }
110
104
  }
111
105
  },
112
- "organisms": {
113
- "chat": {
114
- "askFileButton": {
115
- "dragAndDrop": "Drag and drop files here",
116
- "sizeLimit": "Limit:",
117
- "browseFiles": "Browse Files"
118
- },
119
- "history": {
120
- "index": {
121
- "showHistory": "Show history",
122
- "lastInputs": "Last Inputs",
123
- "noInputs": "Such empty...",
124
- "loading": "Loading..."
125
- }
126
- },
127
- "inputBox": {
128
- "input": {
129
- "placeholder": "Type your message here..."
130
- },
131
- "speechButton": {
132
- "start": "Start recording",
133
- "stop": "Stop recording",
134
- "loading": "Connecting"
135
- },
136
- "SubmitButton": {
137
- "sendMessage": "Send message",
138
- "stopTask": "Stop Task"
139
- },
140
- "UploadButton": {
141
- "attachFiles": "Attach files"
142
- },
143
- "waterMark": {
144
- "text": "Built with"
145
- }
146
- },
147
- "Messages": {
148
- "index": {
149
- "running": "Running",
150
- "executedSuccessfully": "executed successfully",
151
- "failed": "failed",
152
- "feedbackUpdated": "Feedback updated",
153
- "updating": "Updating"
154
- },
155
- "copyButton": {
156
- "copyToClipboard": "Copy to clipboard",
157
- "copied": "Copied!"
158
- },
159
- "feedbackButton": {
160
- "helpful": "Helpful",
161
- "notHelpful": "Not helpful",
162
- "editFeedback": "Edit feedback"
163
- },
164
- "feedbackDialog": {
165
- "dialogTitle": "Add a comment",
166
- "submitButton": "Submit feedback"
167
- }
168
- },
169
- "dropScreen": {
170
- "dropYourFilesHere": "Drop your files here"
106
+ "history": {
107
+ "title": "Last Inputs",
108
+ "empty": "Such empty...",
109
+ "show": "Show history"
110
+ },
111
+ "settings": {
112
+ "title": "Settings panel"
113
+ },
114
+ "watermark": "Built with"
115
+ },
116
+ "threadHistory": {
117
+ "sidebar": {
118
+ "title": "Past Chats",
119
+ "filters": {
120
+ "search": "Search"
121
+ },
122
+ "timeframes": {
123
+ "today": "Today",
124
+ "yesterday": "Yesterday",
125
+ "previous7days": "Previous 7 days",
126
+ "previous30days": "Previous 30 days"
127
+ },
128
+ "empty": "No threads found",
129
+ "actions": {
130
+ "close": "Close sidebar",
131
+ "open": "Open sidebar"
132
+ }
133
+ },
134
+ "thread": {
135
+ "untitled": "Untitled Conversation",
136
+ "menu": {
137
+ "rename": "Rename",
138
+ "delete": "Delete"
171
139
  },
172
- "index": {
173
- "failedToUpload": "Failed to upload",
174
- "cancelledUploadOf": "Cancelled upload of",
175
- "couldNotReachServer": "Could not reach the server",
176
- "continuingChat": "Continuing previous chat"
140
+ "actions": {
141
+ "delete": {
142
+ "title": "Confirm deletion",
143
+ "description": "This will delete the thread as well as its messages and elements. This action cannot be undone",
144
+ "success": "Chat deleted",
145
+ "inProgress": "Deleting chat"
177
146
  },
178
- "settings": {
179
- "settingsPanel": "Settings panel",
180
- "reset": "Reset",
181
- "cancel": "Cancel",
182
- "confirm": "Confirm"
183
- }
184
- },
185
- "threadHistory": {
186
- "sidebar": {
187
- "filters": {
188
- "FeedbackSelect": {
189
- "feedbackAll": "Feedback: All",
190
- "feedbackPositive": "Feedback: Positive",
191
- "feedbackNegative": "Feedback: Negative"
192
- },
193
- "SearchBar": {
194
- "search": "Search"
147
+ "rename": {
148
+ "title": "Rename Thread",
149
+ "description": "Enter a new name for this thread",
150
+ "form": {
151
+ "name": {
152
+ "label": "Name",
153
+ "placeholder": "Enter new name"
195
154
  }
196
155
  },
197
- "DeleteThreadButton": {
198
- "confirmMessage": "This will delete the thread as well as its messages and elements.",
199
- "cancel": "Cancel",
200
- "confirm": "Confirm",
201
- "deletingChat": "Deleting chat",
202
- "chatDeleted": "Chat deleted"
203
- },
204
- "index": {
205
- "pastChats": "Past Chats"
206
- },
207
- "ThreadList": {
208
- "empty": "Empty...",
209
- "today": "Today",
210
- "yesterday": "Yesterday",
211
- "previous7days": "Previous 7 days",
212
- "previous30days": "Previous 30 days",
213
- "noThreads": "No threads found",
214
- "DeleteDialog": {
215
- "title": "Confirm deletion",
216
- "description": "This action cannot be undone",
217
- "cancel": "Cancel",
218
- "confirm": "Confirm"
219
- },
220
- "RenameDialog": {
221
- "title": "Rename Thread",
222
- "description": "Enter a new name for this thread",
223
- "nameLabel": "Name",
224
- "namePlaceholder": "Enter new name",
225
- "cancel": "Cancel",
226
- "confirm": "Rename"
227
- },
228
- "RenameThreadButton": {
229
- "renamingThread": "Renaming thread",
230
- "threadRenamed": "Thread renamed!"
231
- },
232
- "untitledConversation": "Untitled Conversation"
233
- },
234
- "TriggerButton": {
235
- "closeSidebar": "Close sidebar",
236
- "openSidebar": "Open sidebar"
237
- }
238
- },
239
- "Thread": {
240
- "backToChat": "Go back to chat",
241
- "chatCreatedOn": "This chat was created on"
156
+ "success": "Thread renamed!",
157
+ "inProgress": "Renaming thread"
242
158
  }
243
- },
244
- "header": {
245
- "chat": "Chat",
246
- "readme": "Readme"
247
159
  }
248
160
  }
249
161
  },
250
- "hooks": {
251
- "useLLMProviders": {
252
- "failedToFetchProviders": "Failed to fetch providers:"
253
- }
254
- },
255
- "pages": {
256
- "Design": {},
257
- "Env": {
258
- "savedSuccessfully": "Saved successfully",
259
- "requiredApiKeys": "Required API Keys",
260
- "requiredApiKeysInfo": "To use this app, the following API keys are required. The keys are stored on your device's local storage."
162
+ "navigation": {
163
+ "header": {
164
+ "chat": "Chat",
165
+ "readme": "Readme"
261
166
  },
262
- "Page": {
263
- "notPartOfProject": "You are not part of this project."
167
+ "newChat": {
168
+ "button": "New Chat",
169
+ "dialog": {
170
+ "title": "Create New Chat",
171
+ "description": "This will clear your current chat history. Are you sure you want to continue?",
172
+ "tooltip": "New Chat"
173
+ }
264
174
  },
265
- "ResumeButton": {
266
- "resumeChat": "Resume Chat"
175
+ "user": {
176
+ "menu": {
177
+ "settings": "Settings",
178
+ "settingsKey": "S",
179
+ "apiKeys": "API Keys",
180
+ "logout": "Logout"
181
+ }
182
+ }
183
+ },
184
+ "apiKeys": {
185
+ "title": "Required API Keys",
186
+ "description": "To use this app, the following API keys are required. The keys are stored on your device's local storage.",
187
+ "success": {
188
+ "saved": "Saved successfully"
267
189
  }
268
190
  }
269
191
  }