Debanjum Singh Solanky
447c1b90e7
Fix streaming chat response in Obsidian client
...
- Convert renderIncrementalMessage to an async method as
MarkdownRenderer is an async method
- Simplify code, remove unneeded JSON check
2023-12-20 14:51:19 +05:30
Debanjum Singh Solanky
e04fe921eb
Fix first-run, chat error message in obsidian, desktop and web clients
...
- Disable chat input field if getChatHistory had error as Khoj may not
be setup correctly to chat
2023-12-20 14:03:07 +05:30
sabaimran
0288804f2e
Render the inferred query along with the image that Khoj returns
2023-12-17 21:02:55 +05:30
sabaimran
49af2148fe
Miscellaneous improvements to image generation
...
- Improve the prompt before sending it for image generation
- Update the help message to include online, image functionality
- Improve styling for the voice, trash buttons
2023-12-17 20:25:35 +05:30
sabaimran
9b961ed496
Merge pull request #580 from khoj-ai/fix-upgrade-chat-to-create-images
...
Support Image Generation with Khoj
2023-12-07 21:17:58 +05:30
Debanjum Singh Solanky
7504669f2b
Fix rendering image on chat response in obsidian client
2023-12-05 03:48:07 -05:00
Debanjum Singh Solanky
162b219f2b
Throw unsupported error when server not configured for image, speech-to-text
2023-12-05 01:51:14 -05:00
Debanjum Singh Solanky
8f2f053968
Fix rendering image on chat response in web, desktop client
2023-12-05 01:51:14 -05:00
Debanjum Singh Solanky
d124266923
Reduce promise based nesting in chat JS func used in desktop, web client
...
Use async/await to reduce .then() based nesting to improve code
readability
2023-12-05 01:51:14 -05:00
Debanjum Singh Solanky
6e3f66c0f1
Use base64 encoded image instead of source URL for persistence
...
The source URL returned by OpenAI would expire soon. This would make
the chat sessions contain non-accessible images/messages if using
OpenaI image URL
Get base64 encoded image from OpenAI and store directly in
conversation logs. This resolves the image link expiring issue
2023-12-05 01:51:14 -05:00
Debanjum Singh Solanky
52c5f4170a
Show generated images in the chat modal of the Khoj Obsidian plugin
2023-12-05 01:51:14 -05:00
Debanjum Singh Solanky
8016a57b5e
Show generated images in chat interface on Desktop client
2023-12-05 01:51:14 -05:00
sabaimran
c5d297a9ed
Recursively search through folders for indexing
2023-12-03 16:17:28 -05:00
Debanjum Singh Solanky
a57d529f39
Fix path to system tray icon of Khoj desktop app
2023-12-03 00:12:50 -08:00
Debanjum Singh Solanky
106cdbe455
Release Khoj version 1.1.0
2023-11-30 20:09:08 -08:00
Debanjum Singh Solanky
10ce4ee11c
Ignore null params type check for markdown renderer in Obsidian client
2023-11-30 20:09:08 -08:00
Debanjum Singh Solanky
d587632700
Clear result before render thinking placeholder emoji in Obsidian chat
2023-11-30 13:53:09 -08:00
Debanjum Singh Solanky
48719ee0dd
Render newline separation in chat references to improve readability
2023-11-30 13:16:48 -08:00
Debanjum Singh Solanky
1a31a2efcf
Render Khoj chat streaming response as md & show refs in Obsidian
...
- Use new style references for Khoj chat modal in Obsidian
- Khoj Chat responses in Obsidian had regressed to not show references
for new questions after modal has been opened. Now even those are
rendered, and use new references style
- Render chat response as markdown while it's being streamed
2023-11-30 13:02:00 -08:00
Debanjum Singh Solanky
0430fa67b6
Show temporary status message when copied to clipboard
2023-11-29 13:49:33 -08:00
Debanjum Singh Solanky
491a1a949a
Render chat responses as markdown in Desktop client too
2023-11-29 13:49:33 -08:00
Debanjum Singh Solanky
20ef5bfc93
Properly stop mediaRecorder stream to clear microphone in-use state
2023-11-29 13:48:35 -08:00
Debanjum Singh Solanky
8faa63c3c6
Convert config page buttons to use stronger yellow
2023-11-28 19:55:43 -08:00
Debanjum Singh Solanky
110d7646fc
Use milder yellow as primary Khoj theme color for chat, buttons etc.
2023-11-28 14:15:14 -08:00
sabaimran
6e1ba11e59
Resolve merge conflicts for rendering chat response
2023-11-27 11:33:13 -08:00
Debanjum Singh Solanky
71f2d54258
Render chat response as markdown while streaming on Web, Desktop clients
2023-11-26 20:27:10 -08:00
Debanjum Singh Solanky
06f99ceb3c
Rename /api/speak API endpoint to /api/transcribe
2023-11-26 06:18:44 -08:00
Debanjum Singh Solanky
56a1a61c77
Remove unused button element retrieval code from web, desktop
2023-11-26 06:17:56 -08:00
Debanjum Singh Solanky
877532a167
Speak to Khoj from the Obsidian client
...
- Add transcription button with mic icon
- Collect audio recording on pressing mic
- Process and send audio recording to server for transcription
- Extract the functionality to flash status in chat input for reuse
2023-11-26 06:17:54 -08:00
Debanjum Singh Solanky
28090216f6
Show transcription error status in chatInput placeholder on web, desktop
...
- Extract flashing status message in chat input placeholder into
reusable function
- Use emoji prefixes for status messages
- Improve alt text of transcribe button to indicate what the button does
2023-11-26 04:19:32 -08:00
Debanjum Singh Solanky
3e252036c3
Remove whitespace: pre-line from chat html, since markdown rendering
2023-11-26 00:27:29 -08:00
Debanjum Singh Solanky
b484795b8e
Merge branch 'master' into add-speak-to-chat
...
- Conflicts:
- src/interface/desktop/chat.html
Combine and use common class names for speak component
- src/khoj/database/adapters/__init__.py
Combine imports
- src/khoj/interface/web/chat.html
Combine and use common class names for speak component
- src/khoj/routers/api.py
Combine imports
2023-11-26 00:26:21 -08:00
sabaimran
6233a957b4
Merge branch 'master' of github.com:khoj-ai/khoj into features/enforce-subscription-status
2023-11-25 22:46:10 -08:00
sabaimran
52b88de7f4
Indicate in the desktop if the user gets rate limited for indexing
2023-11-25 22:31:23 -08:00
Debanjum
e0a59cff68
Delete Conversation History from Web, Desktop, Obsidian Clients ( #551 )
...
Add delete button to clear conversation history from Web, Desktop and Obsidian Khoj clients
Resolves #523
2023-11-25 22:24:12 -08:00
Debanjum Singh Solanky
d0e294d8a5
Clear Conversation History from the Obsidian client
...
- Fix font color for Khoj chat responses in Obsidian. Previous color
had too low a contrast to be readable
2023-11-25 22:16:13 -08:00
Debanjum Singh Solanky
07bf365c7c
Clear any network connections to khoj server via khoj.el on reindex
...
- Ignore errors in deleting network requests to khoj server
- Also delete open network connection to khoj server on auto reindex
Otherwise when server is unreachable a bunch of failed network
connections accrue in the processes list
2023-11-25 20:19:41 -08:00
sabaimran
e5b1350523
Enforce API use limits depending on whether the server has billing enabled
...
and whether the given user is subscribed
2023-11-24 21:55:16 -08:00
Debanjum
25f3f2367e
Handle Server Unavailable Error from Khoj.el ( #568 )
...
- Make auto-update of content index user configurable from khoj.el
- Handle server unavailable error on auto-index schedule job in khoj.el
Resolves #567
2023-11-24 16:46:07 -08:00
Debanjum Singh Solanky
138f4e3f3c
Make auto-update of content index user configurable from khoj.el
2023-11-24 16:40:50 -08:00
Debanjum Singh Solanky
0885fc6c23
Handle server unavailable error on auto-index schedule job in khoj.el
2023-11-24 16:39:44 -08:00
sabaimran
c42ec32a95
Merge pull request #552 from khoj-ai/features/internet-enabled-search
...
Support internet-enabled, online searching using Serper.dev
2023-11-23 12:34:05 -08:00
sabaimran
c641b8df58
Update desktop package version
2023-11-22 17:54:53 -08:00
sabaimran
a1b2289074
Release Khoj version 1.0.1
2023-11-22 17:52:07 -08:00
sabaimran
256e8de40a
Merge with features/internet-enabled-search
2023-11-22 07:25:24 -08:00
Debanjum Singh Solanky
d5a4830761
Clear Conversation History from the Desktop Client
2023-11-22 03:35:00 -08:00
Debanjum Singh Solanky
63675b3299
Speak to Khoj from the Desktop client
...
- Use icons to style speech to text recording state
2023-11-22 02:47:17 -08:00
sabaimran
4cb28aeffb
Resolve merge conflicts with master
2023-11-21 22:07:41 -08:00
Debanjum Singh Solanky
4cdfe8fc4f
Re-enable Khoj Obsidian plugin for Mobile, as Khoj cloud is available
2023-11-21 16:33:48 -08:00
Debanjum Singh Solanky
90d463c12a
Append chat message to chat logs as TextNodes in web, desktop clients
2023-11-21 13:10:50 -08:00