Commit Graph

527 Commits

Author SHA1 Message Date
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
Timothy J. Baek
63d297756a enh: mermaid copy content button 2024-10-11 00:10:00 -07:00
Jannik Streidl
741230bcdb fix 2024-10-10 17:20:50 +02:00
Timothy J. Baek
09f34a7561 refac 2024-10-07 14:57:56 -07:00
Timothy J. Baek
958d882ff9 refac: knowledge file handling ui behaviour 2024-10-07 14:04:06 -07:00
Jannik Streidl
73c291193b fix: do not toggle collapsible if you click on a citation 2024-10-07 21:22:36 +02:00
Jannik Streidl
86caca495b enh: show source documents vector distance + cleaner source view 2024-10-07 21:04:06 +02:00
Timothy J. Baek
6e8e0454e4 refac: floating buttons 2024-10-06 22:55:10 -07:00
Timothy J. Baek
1fc1bf5f0d refac: floating buttons behaviour 2024-10-06 22:09:58 -07:00
Timothy J. Baek
3686cf7365 enh: esc to close floating buttons 2024-10-06 20:29:30 -07:00
Timothy J. Baek
aaa4350eb4 refac: floating buttons styling 2024-10-06 20:26:35 -07:00
Timothy J. Baek
95616e92d7 refac: styling 2024-10-06 19:09:27 -07:00
Timothy J. Baek
1c1e6a7172 refac 2024-10-06 16:39:46 -07:00
Timothy J. Baek
297835628a refac 2024-10-06 16:32:44 -07:00
Timothy J. Baek
7b6723a955 refac: styling 2024-10-06 16:22:19 -07:00
Timothy J. Baek
a40eb87c31 refac: styling 2024-10-06 16:17:38 -07:00
Timothy J. Baek
53954e4c05 feat: ask floating button 2024-10-06 16:14:12 -07:00
Timothy J. Baek
8a3c9b9a3e refac 2024-10-06 13:07:41 -07:00
Timothy J. Baek
a7f543d737 refac 2024-10-06 13:00:53 -07:00
Timothy J. Baek
babfc97c90 enh: svg zoom pan 2024-10-06 12:51:29 -07:00
Timothy J. Baek
8ad44cd690 enh: chat landing ui option 2024-10-06 11:45:13 -07:00
Timothy J. Baek
059ac466e0 refac: styling 2024-10-06 02:49:16 -07:00
Timothy J. Baek
f5e10704c0 refac 2024-10-06 00:50:38 -07:00
Timothy J. Baek
097e90f1de refac 2024-10-06 00:30:50 -07:00
Timothy J. Baek
ed47e24494 refac 2024-10-06 00:28:33 -07:00
Timothy J. Baek
aeaf761ecd enh: automatic artifacts toggle 2024-10-06 00:14:05 -07:00
Timothy J. Baek
2981212dfa refac 2024-10-05 23:55:44 -07:00
Timothy J. Baek
7ee07df26a refac 2024-10-05 22:23:06 -07:00