sabaimran
ae4eb96d48
Consolidate file name to icon mapping
2024-11-11 09:34:04 -08:00
sabaimran
8805e731fd
Merge branch 'master' of github.com:khoj-ai/khoj into features/include-full-file-in-convo-with-filter
2024-11-10 19:24:11 -08:00
sabaimran
55200be4fa
Apply agent color fill to the toggle both in off and on states
2024-11-10 19:16:43 -08:00
Debanjum
80ee35b9b1
Wrap messages in web, obsidian UI to stay within screen when long links
...
Wrap long links etc. in chat messages and train of thought lists on
web app app and obsidian plugin by breaking them into newlines by word
2024-11-10 14:49:51 -08:00
sabaimran
7159b0b735
Enforce limits on file size when converting to text
2024-11-08 15:27:28 -08:00
sabaimran
4695174149
Add support for file preview in the chat input area (before message sent)
2024-11-08 15:12:48 -08:00
sabaimran
ad46b0e718
Label pages when extract text from pdf, docs content. Fix scroll area in doc preview.
2024-11-08 14:53:20 -08:00
sabaimran
623a97a9ee
Merge branch 'master' of github.com:khoj-ai/khoj into features/include-full-file-in-convo-with-filter
2024-11-07 17:18:23 -08:00
sabaimran
3a51996f64
Process attached files in the chat history and add them to the chat message
2024-11-07 16:06:58 -08:00
sabaimran
a89160e2f7
Add support for converting an attached doc and chatting with it
...
- Document is first converted in the chatinputarea, then sent to the chat component. From there, it's sent in the chat API body and then processed by the backend
- We couldn't directly use a UploadFile type in the backend API because we'd have to convert the api type to a multipart form. This would require other client side migrations without uniform benefit, which is why we do it in this two-phase process. This also gives us capacity to repurpose the moe generic interface down the road.
2024-11-07 16:06:37 -08:00
Debanjum
05a93fcbed
v-align attach, send buttons with chat input text area on web app
...
Otherwise, those buttons look off-center when images are attached to
the chat input area
2024-11-05 17:10:53 -08:00
sabaimran
a0480d5f6c
use fill weight for the toggle right (enabled state) for research mode
2024-11-04 22:01:09 -08:00
sabaimran
33d36ee58c
Add experimental notice to research mode tooltip
2024-11-01 11:00:27 -07:00
sabaimran
149cbe1019
Use bottom anchor for the commandbar popover
2024-10-31 20:40:38 -07:00
sabaimran
19241805ee
Merge branch 'master' of github.com:khoj-ai/khoj into improve-debug-reasoning-and-other-misc-fixes
2024-10-31 18:20:23 -07:00
Debanjum
5b15176e20
Only add /research prefix in research mode if not already in user query
2024-10-31 18:08:42 -07:00
sabaimran
a13760640c
Only show trash can when turnId is present
2024-10-31 13:19:16 -07:00
Debanjum
e17dc9f7b5
Put train of thought ui before Khoj response on web app
2024-10-31 02:24:53 -07:00
Debanjum
e8e6ead39f
Fix deleting new messages generated after conversation load
2024-10-30 20:56:38 -07:00
Debanjum
cb90abc660
Resolve train of thought component needs unique key id error on web app
2024-10-30 14:00:21 -07:00
Debanjum
ca5a6831b6
Add ability to delete messages from the web app
2024-10-30 14:00:21 -07:00
Debanjum
358a6ce95d
Defer turning cursor color to selected agents color for later
...
Capability exists but idea needs to be investigated further
2024-10-30 14:00:21 -07:00
Debanjum
2ac840e3f2
Make cursor in chat input take on selected agent color
2024-10-30 14:00:21 -07:00
sabaimran
b63fbc5345
Add a simple badget to the dropdown menu that shows subscription status
2024-10-30 13:00:16 -07:00
sabaimran
5bea0c705b
Use break-words in the train of thought for better formatting
2024-10-28 15:36:06 -07:00
sabaimran
1f1b182461
Automatically carry over research mode from home page to chat
...
- Improve mobile friendliness with new research mode toggle, since chat input area is now taking up more space
- Remove clunky title from the suggestion card
- Fix fk lookup error for agent.creator
2024-10-28 15:29:24 -07:00
Debanjum
50ffd7f199
Merge branch 'master' into features/advanced-reasoning
2024-10-28 04:10:59 -07:00
Debanjum
a5d0ca6e1c
Use selected agent color to theme the chat input area on home page
2024-10-28 03:47:40 -07:00
Debanjum
aad7528d1b
Render slash commands popup below chat input text area on home page
2024-10-28 02:06:04 -07:00
Debanjum
94074b7007
Focus chat input on toggle research mode. v-align it with send button
2024-10-27 22:54:55 -07:00
sabaimran
2924909692
Add a research mode toggle to the chat input area
2024-10-27 16:37:40 -07:00
sabaimran
68499e253b
Auto-collapse train of thought, show after chat response in history
2024-10-27 15:48:13 -07:00
sabaimran
0bd78791ca
Let user exit from command mode with esc, click out, etc.
2024-10-27 15:01:49 -07:00
sabaimran
a121d67b10
Persist the train of thought in the conversation history
2024-10-26 23:46:15 -07:00
sabaimran
a11b5293fb
Add uploaded images to research mode, code slash command, include code references
2024-10-24 23:56:24 -07:00
sabaimran
30f9225021
Merge branch 'master' of github.com:khoj-ai/khoj into features/advanced-reasoning
2024-10-23 19:15:51 -07:00
Debanjum Singh Solanky
218946edda
Fix copying message with user images on web app
...
Adding div elements to message to render degraded text copied to
clipboard for messages with user uploaded images.
This change fixes that by separating message to render from message
for clipboard. It ensures differently formatted forms of the user
images are added to the two to allow proper rendering while still
having decently formatted text copied to clipboard
2024-10-23 03:41:25 -07:00
Debanjum Singh Solanky
2a50694089
Allow typing multi-line queries from a phone with Enter key
...
Add newline instead of sending message when hit Enter key on mobile
displays. As on phones shift key doesn't exist and send button is easily
clickable.
Limit hitting Enter key to send message to computers = larger display
= expected to have full fledged keyboards.
2024-10-22 21:20:22 -07:00
Debanjum Singh Solanky
a134cd835c
Focus on chat input area to enter text after file uploads on web app
2024-10-22 21:19:17 -07:00
Debanjum Singh Solanky
750fbce0c2
Merge branch 'master' into improve-agent-pane-on-home-screen
2024-10-22 20:05:29 -07:00
Debanjum Singh Solanky
b3fff43542
Sanitize user attached images. Constrain chat input width on home page
...
Set max combined images size to 20mb to allow multiple photos to be shared
2024-10-22 19:42:40 -07:00
Debanjum Singh Solanky
6c393800cc
Merge branch 'master' into multi-image-chat-and-vision-for-gemini
2024-10-22 18:38:49 -07:00
Debanjum Singh Solanky
110c67f083
Improve agent pill, detail card styling. Handle null chatInputRef
...
- Remove border from agent detail hover card on home page
- Do not wrap long agent names in agent pills on home page
- Handle scenario where chatInputRef is null
2024-10-22 18:03:17 -07:00
sabaimran
0dad4212fa
Generate dynamic diagrams (via Excalidraw) ( #940 )
...
Add support for generating dynamic diagrams in flow with Excalidraw (https://github.com/excalidraw/excalidraw ). This happens in three steps:
1. Default information collection & intent determination step.
2. Improving the overall guidance of the prompt for generating a JSON, Excalidraw-compatible declaration.
3. Generation of the diagram to output to the final UI.
Add support in the web UI.
2024-10-22 16:13:46 -07:00
Debanjum Singh Solanky
e8fb79a369
Rate limit the count and total size of images shared via API
2024-10-22 04:37:54 -07:00
Debanjum Singh Solanky
220ff1df62
Set chatInputArea forward ref from parent components for control
2024-10-21 00:02:48 -07:00
Debanjum Singh Solanky
bdbe8f003e
Move agent details and edit card out into reusable components on web app
2024-10-20 23:31:47 -07:00
Debanjum Singh Solanky
7646ac6779
Style user attached images as carousel on chat input area of web app
2024-10-20 00:40:08 -07:00
sabaimran
545259e308
Remove unused icons in chatInputArea
2024-10-19 16:54:21 -07:00
Debanjum Singh Solanky
3cc1426edf
Style user attached images with fixed height, in a single row on web app
2024-10-19 16:48:36 -07:00