Commit Graph

754 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
9bada6421e refac: code block image styling 2025-02-21 16:39:56 -08:00
Timothy Jaeryang Baek
eeb00a5ca2 chore: format 2025-02-20 01:01:29 -08:00
Timothy Jaeryang Baek
fe5c4b95d5 enh: configurable jupyter execution timeout 2025-02-19 17:05:37 -08:00
Timothy Jaeryang Baek
dab6396ebe fix: inline citations 2025-02-19 00:35:01 -08:00
Timothy Jaeryang Baek
a6a7c548d5 refac: code block styling 2025-02-18 20:24:04 -08:00
Timothy Jaeryang Baek
003968f06a enh: jupyter matplotlib support 2025-02-18 20:15:16 -08:00
Timothy Jaeryang Baek
84af508525
Merge branch 'dev' into feat/hide-citations-in-message 2025-02-18 19:37:03 -08:00
Timothy Jaeryang Baek
a33214ab6b
Merge pull request #10304 from ttv20/dev
i18n: Improve RTL text handling in chat and sidebar with auto-direction #2
2025-02-18 19:31:12 -08:00
Alex Gleason
5639ba423b
Fix "Cannot read properties of undefined (reading 'startsWith')" 2025-02-18 18:47:56 -06:00
Elkana Bardugo
0b1e30988a
Update MarkdownTokens.svelte
More dir="auto" to auto direction on RTL
2025-02-18 21:08:25 +02:00
hurxxxx
9d06e3b2cd feat: chat responses using the citations-disabled model to exclude source citations 2025-02-18 21:56:16 +09:00
Timothy Jaeryang Baek
a79a6a5c34 chore: format 2025-02-17 18:51:40 -08:00
Timothy Jaeryang Baek
f72e28a56c enh: message delete confirm dialog 2025-02-17 18:33:21 -08:00
Timothy Jaeryang Baek
2f75eef499 enh: code execution settings 2025-02-17 16:25:50 -08:00
Elkana Bardugo
8d149348a0
Update MarkdownTokens.svelte: Revert text-align for download button in rtl
prevent button overriding because the download button is in absolute position and it doesn't have start/end properties
2025-02-17 22:43:34 +02:00
Elkana Bardugo
93590d224b
Merge branch 'dev' into patch-1 2025-02-17 22:35:36 +02:00
Elkana Bardugo
b73b8343d5
fix table header align on rtl 2025-02-17 21:40:11 +02:00
Elkana Bardugo
ab94017e3a
Auto text direction (fix for RTL) in most cases
to test it use the prompt:
"write please a sample headers (level 1,2,3), text (bold/italic), list, numbered list, quetes, table, code
write each example in hebrew
dont output markdown in code block"

need to be fixed:
* Redundant border properties in quotes:
Removed border-left as border-inline-start properly handles both LTR/RTL and by this prevents double borders in RTL layouts

* table header have `text-align: left` instead of start
e.g.
text-align and direction is not the save thing
the text direction is ok. the `dir="auto"` is fixing the direction שמג the text-align by default is set by the direction, if it set manually is should be start/end to respect the direction attribute
2025-02-17 21:27:05 +02:00
Timothy Jaeryang Baek
fd8998a38f refac 2025-02-15 19:50:40 -08:00
Timothy Jaeryang Baek
e3fa48b6ce chore: tailwind v4 migration 2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
bbda717b69 refac: citations 2025-02-15 17:24:29 -08:00
Timothy Jaeryang Baek
f0feb7bd35 refac 2025-02-15 16:10:35 -08:00
Thomas Rehn
9072959858 fix: remove whitespace to improve typesetting for inline Markdown 2025-02-14 13:16:03 +01:00
Timothy Jaeryang Baek
99b50b39fe refac 2025-02-13 22:57:12 -08:00
Timothy Jaeryang Baek
fa92abce31 refac 2025-02-13 22:37:01 -08:00
Timothy Jaeryang Baek
b7aeb432ed refac 2025-02-13 22:11:56 -08:00
Timothy Jaeryang Baek
7ff719938a refac: citations 2025-02-12 23:55:14 -08:00
Timothy Jaeryang Baek
5626426c31 chore: format 2025-02-12 23:28:57 -08:00
Feynman Liang
113addef46
Merge branch 'dev' into fix-9864 2025-02-12 13:47:54 -08:00
Feynman Liang
08bc7d4cfe Uncollapse so all source buttons visible 2025-02-12 13:46:42 -08:00
Feynman Liang
3f24062416 Adds source-* ids when citations > 3 2025-02-12 12:30:23 -08:00
Timothy Jaeryang Baek
24cbc469cc enh: allow image only message 2025-02-11 21:52:31 -08:00
Timothy Jaeryang Baek
d95e5e0ba5 enh: kokorojs call support 2025-02-09 23:54:24 -08:00
Timothy Jaeryang Baek
205ce635f6 feat: Kokoro-js TTS support 2025-02-09 23:42:27 -08:00
Timothy Jaeryang Baek
a22d1d5410 refac: code block 2025-02-09 22:43:32 -08:00
Timothy Jaeryang Baek
14398ab628 refac: styling 2025-02-06 01:28:33 -08:00
Timothy Jaeryang Baek
9624493b55 refac 2025-02-04 23:44:51 -08:00
Timothy Jaeryang Baek
a4ea2e0996 fix: multi response message 2025-02-04 20:33:02 -08:00
Timothy Jaeryang Baek
533b62f062 refac: deprecate non web worker pyodide 2025-02-04 18:41:53 -08:00
Timothy Jaeryang Baek
6ee924924e refac: code interpreter 2025-02-04 18:33:22 -08:00
Timothy Jaeryang Baek
49e5d01213 refac: pyodide 2025-02-03 22:07:59 -08:00
Timothy Jaeryang Baek
d87a7b2f8b refac: styling 2025-02-03 14:16:22 -08:00
Timothy Jaeryang Baek
70b8199030 chore: format 2025-02-03 13:37:29 -08:00
Timothy Jaeryang Baek
58d2fd9ac1 refac: styling 2025-02-03 00:03:41 -08:00
Timothy Jaeryang Baek
78853a67e4 refac 2025-02-02 23:35:58 -08:00
Timothy Jaeryang Baek
0d33725d21 enh: pyodide 2025-02-02 21:18:52 -08:00
Timothy Jaeryang Baek
74172461c7 enh: pyodide python result handling 2025-02-02 16:56:21 -08:00
Timothy Jaeryang Baek
4e375c892a refac 2025-01-31 23:15:49 -08:00
dannyl1u
e9f05b6cd7 feat: delete message responses 2025-01-30 20:48:06 -08:00
Sharon Fox
dda945f4ad
feat: Localized dates and times 2025-01-26 02:47:23 -05:00
Timothy Jaeryang Baek
9feed97f22 refac: think tag 2025-01-22 09:24:40 -08:00
Timothy Jaeryang Baek
2b1c2942a8 refac: message timestamp 2025-01-22 01:02:52 -08:00
Timothy Jaeryang Baek
c9dc7299c5 enh: <think> tag support 2025-01-22 00:13:24 -08:00
Timothy Jaeryang Baek
a863f98c53 refac: toast error 2025-01-20 22:41:32 -08:00
Timothy Jaeryang Baek
92022dd81f enh: image permissions 2025-01-15 23:12:40 -08:00
Timothy Jaeryang Baek
ccbd98dfab refac: action buttons styling 2025-01-11 13:47:02 -08:00
Timothy Jaeryang Baek
e6db4d017b fix 2025-01-08 00:59:03 -08:00
Timothy Jaeryang Baek
656a887db6 refac 2025-01-08 00:10:38 -08:00
Timothy Jaeryang Baek
0129f463b4 fix: &lt; rendering issue 2025-01-07 23:59:58 -08:00
Timothy Jaeryang Baek
66b8166397 refac: styling 2025-01-02 20:19:52 -08:00
Timothy Jaeryang Baek
de4e086bd5 refac 2024-12-31 02:48:43 -08:00
Timothy Jaeryang Baek
d99e3d49e1 refac 2024-12-27 00:05:32 -08:00
Timothy Jaeryang Baek
e10897236d chore: format 2024-12-24 22:44:10 -07:00
Timothy Jaeryang Baek
6b25139d4f refac: web search 2024-12-24 17:52:57 -07:00
Timothy Jaeryang Baek
a2e0fbc943 refac: collection query status 2024-12-24 16:49:32 -07:00
Timothy Jaeryang Baek
15fa7b44ea refac: styling 2024-12-23 01:03:14 -07:00
Timothy Jaeryang Baek
c611734088 refac: styling 2024-12-21 09:41:49 -07:00
Timothy Jaeryang Baek
6524cae407 refac 2024-12-20 15:19:54 -08:00
Timothy Jaeryang Baek
47318daef0 enh: add to conversation 2024-12-20 15:09:17 -08:00
Timothy Jaeryang Baek
37ce88e744 refac: floating buttons 2024-12-20 14:38:15 -08:00
Timothy Jaeryang Baek
2875326015 fix: table export 2024-12-18 18:11:01 -08:00
Timothy Jaeryang Baek
bd88aa2af9
Merge pull request #7828 from juananpe/fixdownloadcitations
fix: use WEBUI_API_BASE_URL for file download links in Citations
2024-12-15 17:05:03 -08:00
Juanan Pereira
6f3ab5917d fix: use WEBUI_API_BASE_URL for file download links in Citations 2024-12-13 15:42:45 +01:00
Timothy Jaeryang Baek
f9a05dd1e1 refac 2024-12-12 23:31:08 -08:00
Timothy Jaeryang Baek
7f77828e3f refac: styling 2024-12-01 21:50:21 -08:00
Timothy Jaeryang Baek
51e344f5b2 refac 2024-11-30 12:24:23 -08:00
Timothy Jaeryang Baek
d0eb59ffdb refac: table styling 2024-11-30 12:22:07 -08:00
Timothy Jaeryang Baek
684a7f0455 refac 2024-11-30 00:36:01 -08:00
Timothy Jaeryang Baek
50c3be2136 refac 2024-11-24 18:11:48 -08:00
Timothy Jaeryang Baek
7b9b0f23fe refac 2024-11-21 22:12:40 -08:00
Timothy Jaeryang Baek
3816e3c2ef refac: styling 2024-11-21 20:20:46 -08:00
Timothy Jaeryang Baek
81386e9b04 refac: citations -> sources 2024-11-21 19:46:09 -08:00
Timothy Jaeryang Baek
7062e637e8 refac: inline citations 2024-11-21 18:26:38 -08:00
Timothy Jaeryang Baek
714ed248fb refac: styling 2024-11-21 18:05:45 -08:00
Timothy Jaeryang Baek
7b675a1488 refac: styling 2024-11-21 18:02:33 -08:00
Timothy Jaeryang Baek
386c976e9a enh: inline citations 2024-11-21 17:58:29 -08:00
Timothy Jaeryang Baek
6088acf36d refac: styling 2024-11-20 23:31:46 -08:00
Timothy Jaeryang Baek
e54879aeb1 enh: detailed 1-10 rating 2024-11-19 20:12:22 -08:00
Timothy Jaeryang Baek
09c6e4b92f enh: citations option in model editor 2024-11-19 01:12:47 -08:00
Timothy Jaeryang Baek
c24bc60d35
Merge pull request #6989 from Peter-De-Ath/fix-action-button
fix action buttons
2024-11-16 23:44:26 -08:00
Timothy Jaeryang Baek
cf2dcf1dc3 feat: user permissions 2024-11-16 21:31:57 -08:00
Peter De-Ath
6332e46e7b fix: update actionMessage to include message parameter 2024-11-16 22:17:55 +00:00
Timothy Jaeryang Baek
a0f1164af7 refac 2024-11-15 03:00:18 -08:00
clang88
67cb3455ad
Update CitationsModal.svelte 2024-11-13 14:54:39 +01:00
clang88
ad0b599940
Update calculatePercentage CitationsModal.svelte
Fixes #6904 : Percentage score is high when low relevance and vice-versa.
2024-11-13 14:35:08 +01:00
Michael Poluektov
63ee69a900 sandbox in iframe 2024-11-13 00:07:39 +00:00
Michael Poluektov
f3210ec7db bring html back 2024-11-12 23:17:22 +00:00
Michael Poluektov
d0f13d7c07
Revert "fix/feat: add HTML rendering to citations back" 2024-11-12 23:09:18 +00:00
Timothy Jaeryang Baek
b1d31d9b8e refac 2024-11-12 14:00:32 -08:00
Michael Poluektov
330a3535e6 fix: add HTML rendering to citations back 2024-11-12 16:42:17 +00:00
Timothy Jaeryang Baek
38a550092e refac: styling 2024-11-11 00:50:43 -08:00
Timothy Jaeryang Baek
655745ee0c refac: styling 2024-11-10 19:47:55 -08:00
Timothy Jaeryang Baek
3435de5af6 refac: citations 2024-11-10 19:24:53 -08:00
Timothy Jaeryang Baek
c92091721b refac: sticky new chat selected models behaviour 2024-11-10 18:01:10 -08:00
Peter De-Ath
94e432d599 update fomatting and i18n 2024-11-10 22:10:28 +00:00
Timothy Jaeryang Baek
ff9fdc2f88 refac 2024-11-09 23:57:19 -08:00
Timothy J. Baek
02269a21a9 refac 2024-11-06 02:58:44 -08:00
Timothy J. Baek
ccbf5a08f3 refac 2024-11-06 02:19:04 -08:00
Timothy J. Baek
70498d7bbe enh: export table as csv
Co-Authored-By: Muhammad Afzaal <mafzaal@gmail.com>
2024-11-03 14:09:57 -08:00
Timothy J. Baek
09935d191f refac: feedback base_models 2024-10-28 15:19:02 -07:00
Timothy J. Baek
e03e22dd1f enh: include base model id in feedback metadata 2024-10-28 15:07:40 -07:00
Timothy J. Baek
f03629de61 fix: merged response should be used in messages payload 2024-10-26 12:41:54 -07:00
Timothy J. Baek
205402e096 refac 2024-10-24 01:01:00 -07:00
Timothy J. Baek
744139d2ce refac 2024-10-24 00:35:27 -07:00
Timothy J. Baek
a28ef8acc5 refac 2024-10-24 00:34:44 -07:00
Timothy J. Baek
9c2d592c73 enh: include message_turn metadata 2024-10-24 00:23:31 -07:00
Timothy J. Baek
0f4b6cdb67 refac 2024-10-23 20:49:18 -07:00
Timothy J. Baek
ec37d801be refac: feedback optimisation 2024-10-23 20:27:32 -07:00
Timothy J. Baek
b5d7e57d3c refac 2024-10-23 20:19:42 -07:00
Timothy J. Baek
076f9fd9c0 enh: auto tag feedback 2024-10-23 20:18:51 -07:00
Timothy J. Baek
0c6e9e3e86 refac: rating 2024-10-23 16:59:54 -07:00
Timothy J. Baek
c1a054de4a fix 2024-10-23 15:35:40 -07:00
Timothy J. Baek
a41a5cc0c8 refac 2024-10-23 01:27:32 -07:00
Timothy J. Baek
4a1bf6d6c4 refac 2024-10-23 01:23:49 -07:00
Timothy J. Baek
ce85400817 refac: feedback 2024-10-22 22:55:34 -07:00
Timothy J. Baek
bc95e62600 feat: leaderboard 2024-10-22 20:14:10 -07:00
Timothy J. Baek
00e9362c2c enh: arena model rate to reveal 2024-10-22 18:05:30 -07:00
Timothy J. Baek
2d99f275a3 refac: multi response scroll behaviour 2024-10-22 17:34:53 -07:00
Timothy J. Baek
24e7ae8767 refac: multi response styling 2024-10-22 03:46:24 -07:00
Timothy J. Baek
a0692a434d refac 2024-10-22 03:40:03 -07:00
Timothy J. Baek
a89d29db9c fix 2024-10-22 03:38:28 -07:00
Michael Möbius
9153525c84
use url if available as document link 2024-10-22 06:35:01 +02:00
Michael Möbius
41bd16acbe
don't overwrite name, keep url separate 2024-10-22 06:32:08 +02:00
Timothy J. Baek
2db0f58dcb refac: user message edit 2024-10-19 18:42:26 -07:00
Timothy J. Baek
ca6a624534 refac: styling 2024-10-19 00:45:29 -07:00
Timothy J. Baek
dff9254e34 chore: format 2024-10-17 13:30:21 -07:00
Timothy Jaeryang Baek
c9c79852a5
Merge branch 'dev' into dev 2024-10-17 13:25:39 -07:00
Timothy J. Baek
4dcbf1af07 enh: share rating to community 2024-10-17 00:51:46 -07:00
Timothy J. Baek
29e8e2d938 refac: rating submit -> save 2024-10-14 20:35:06 -07:00
Jannik Streidl
79c834d0e4 fix: do not show relevances it you have mixed collections (cosine + l2) 2024-10-14 11:18:13 +02:00
Jannik Streidl
33c3dbd9fa fix 2024-10-14 10:37:54 +02:00
Jannik Streidl
f0f4de59eb Merge branch 'upstream-dev' into dev 2024-10-14 09:50:40 +02:00
Yuta Hayashibe
12516c8a45
fix: Fix typos 2024-10-14 16:22:07 +09:00
Timothy J. Baek
ee079df8ed refac: code execution styling 2024-10-13 23:49:32 -07:00
Timothy J. Baek
e0e249c1b9 refac: convention 2024-10-13 23:16:51 -07:00
Timothy J. Baek
55f14e37ea refac: code_execution.uuid -> id
convention
2024-10-13 23:04:04 -07:00
Etienne Perot
9fbff16a08
feat: add code execution status to chat messages.
This adds `code_executions` as an array of code execution statuses to
chat messages. The intent of this data is to be displayed in a similar
manner as citations: at the bottom of the message, with buttons that open
a modal for more info. However, code execution data doesn't fit well in
citation modals, because they fundamentally differ in their formatting.
Code execution status includes the code that was run (which benefits from
being syntax-highlighted), and the output and generated files. This
differs from citations which are just list of document names and links.

Additionally, code execution is a process, whereas citations are only
emitted once. This is why code execution data uses an ID-based approach,
where each code execution instance is identified by a unique ID and can
be updated by emitting a new `code_execution` message with the same ID.
This allows the code execution status to be updated as code runs.
2024-10-12 16:14:12 -07:00
Jannik Streidl
f47c9c69e3 Merge branch 'upstream-dev' into dev 2024-10-12 15:18:59 +02:00
Jannik Streidl
0bebc898c8 finalizing fixes & additions 2024-10-12 15:18:56 +02:00
Jannik Streidl
9d4d96429f only show relevance pertentage score if distances are in cosinus silimarity range 2024-10-12 13:51:27 +02:00