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
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
Debanjum Singh Solanky
befcbcdd5d
Use file source to find entries from github, notion on web, desktop client
...
This is a more robust mechanism of identification than via file name
including github or notion domain names
2023-11-21 13:10:50 -08:00
sabaimran
2bb989e9d8
Resolve merge conflicts and fix some import ordering
2023-11-21 12:30:43 -08:00
Debanjum
8a0d92e2d7
Fix Connectivity Check in Obsidian Client ( #559 ) from dtkav/bugfix-local-connectivity-check
...
Check connection to Khoj server for self-hosted server. This check had regressed during the cloud rearchitecture
2023-11-21 12:05:16 -08:00
Debanjum Singh Solanky
645fd96634
Search across all content types from Khoj Obsidian client
...
Previously it was only searching for PDF and Markdown files. This was
meant to show only content from current vault as results.
But it has not scaled well as other clients also allow syncing PDF and
markdown files now. So remove this content type filter for now.
A proper solution would limit by using file/dir filters on server or
client side.
2023-11-21 11:19:33 -08:00
Debanjum Singh Solanky
c89bd49973
Fix ranking search results on Obsidian
...
It's reversed since score of entries is now a distance metric on
Khoj server. So lesser distance is better. Previously higher score was
better
2023-11-21 01:24:59 -08:00
Daniel Grossmann-Kavanagh
f142999bce
fix khoj local server usage
2023-11-20 17:07:30 -08:00
sabaimran
8fa0b69c67
Resolve merge issue with adapters methods
2023-11-20 15:21:06 -08:00
sabaimran
fee99779bf
Add subqueries for internet-connected search results and update client-side code accordingly
...
- Add a wrapper method to help make direct queries to the LLM and determine any intermediate responses needed for handling the request
2023-11-20 15:19:15 -08:00
sabaimran
ef5e9d66c1
Resolve merge conflicts in dependency imports
2023-11-19 11:42:20 -08:00
Debanjum Singh Solanky
c3465d6982
Release Khoj version 1.0.0
2023-11-19 09:50:25 -08:00