Debanjum
02f40785aa
Merge Github workflows to dockerize for production ( #575 )
2023-11-30 18:49:16 -08:00
sabaimran
a5ffa2342f
Add documentation for local setup and fix admin panel bugs
...
- Wasn't able to login to the admin panel when KHOJ_DEBUG was not True. Fix this error so self-hosted users can get unblocked from accessing the admin settings
- Don't force users to set their KHOJ_DJANGO_SECRET_KEY
2023-11-30 17:55:27 -08:00
Debanjum Singh Solanky
9d4bfdf47c
Merge Github workflows to dockerize for production
2023-11-30 17:18:13 -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
a0686428ff
Render Chat Responses as Markdown in Desktop, Obsidian Client ( #571 )
...
- Show temporary status message when copied to clipboard
- Render chat responses as markdown in Desktop client
- Render chat responses as markdown in chat modal of Obsidian client
- Render references of new responses in chat modal on Obsidian client. Use new style for references
- Properly stop `mediaRecorder` stream to clear microphone in-use state
- Render newlines when references expanded in Web, Desktop and Obsidian clients
2023-11-30 13:52:02 -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
de5aa5c32e
Update pillow, aiohttp dependencies
2023-11-28 19:55:43 -08:00
sabaimran
fab57cc395
Fix pgvector installation instructions for Windows, Source
2023-11-28 14:46:09 -08:00
sabaimran
c4dcb51c91
Update headings for installation steps to indicate that local and docker setup are exclusive
2023-11-28 14:38:04 -08:00
Debanjum Singh Solanky
a6ca2076d5
Open link to Khoj app landing page from nav pane in current tab
2023-11-28 14:20:37 -08:00
Debanjum Singh Solanky
643e018947
Handle if user subscription field doesn't exists in telemetry func
...
Avoid null ref in the method when running Khoj server in anon mode
2023-11-28 14:15:14 -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
18254850ab
Set a default value for the khoj django secret key and add additional guidance for setting environment variables on first run
2023-11-28 09:39:44 -08:00
sabaimran
24b5aaef0a
Merge pull request #569 from khoj-ai/features/enforce-subscription-status
...
Enforce subscription state on the chat API access
2023-11-27 16:12:26 -08:00
sabaimran
6290b463f5
Compute size of the indexed data only if explicitly requested to avoid heavy load on the DB
2023-11-27 12:05:00 -08:00
sabaimran
eb5e3096e0
Change subscribed scope to premium
2023-11-27 11:39:20 -08:00
sabaimran
6e1ba11e59
Resolve merge conflicts for rendering chat response
2023-11-27 11:33:13 -08:00
sabaimran
239b31bc85
Clarify some of the langauge in the chat configuration docs
2023-11-27 10:44:05 -08:00
sabaimran
309ba7234c
Add instructions for setting up chat settings when locally hosting Khoj
2023-11-27 10:41:29 -08:00
sabaimran
5d8dbbdba4
Update instructions for Windows setup and add prerequisites for Docker
2023-11-27 10:32:02 -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
9e714d032b
Fix Khoj telemetry server. Add server_version column
2023-11-26 15:05:43 -08:00
Debanjum
ebeae543ee
Speak to Khoj via Desktop, Web or Obsidian Client ( #566 )
...
- Create speech to text API endpoint
- Use OpenAI Whisper for ASR offline (by downloading Whisper model) or online (via OpenAI API)
- Add speech to text model configuration to Database
- Speak to Khoj from the Web, Desktop or Obsidian client
2023-11-26 14:32:11 -08:00
Debanjum Singh Solanky
b249bbb5b5
Limit max audio file size allowed for transcription on API endpoint
2023-11-26 14:19:46 -08:00
sabaimran
e438853b09
Add additional unit tests to verify behavior of unsubscribed/subscribed users
2023-11-26 13:09:00 -08:00
sabaimran
c18d52d1af
Add contributors to the README
2023-11-26 12:05:36 -08:00
Debanjum Singh Solanky
a79604b601
Fix return types of offline, online transcribe methods for python 3.9
2023-11-26 06:26:34 -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
cc9eae5d18
Update default chat model to Mistral in GPT4AllProcessor config
2023-11-26 05:55:43 -08:00
Debanjum Singh Solanky
4636390f7f
Transcribe speech to text offline with Whisper
...
- Allow server admin to configure offline speech to text model during
initialization
- Use offline speech to text model to transcribe audio from clients
- Set offline whisper as default speech to text model as no setup api key reqd
2023-11-26 05:55:11 -08:00
Debanjum Singh Solanky
a0a7ab7ec8
Rename conversation.gpt4all package to conversation.offline
2023-11-26 04:19:32 -08:00
Debanjum Singh Solanky
499adf86a0
Move transcription using OpenAI API into independent package
2023-11-26 04:19:32 -08:00
Debanjum Singh Solanky
897170ab15
Use single db migration script for transcribe model, related updates
2023-11-26 04:19:32 -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
fc040825b2
Default to Offline chat with Mistral as minimal setup, no API key reqd.
2023-11-26 01:07:20 -08:00
Debanjum Singh Solanky
5a6547677c
Add type of operation variable in latest migration
2023-11-26 00:38:52 -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
sabaimran
73e38fccf3
Explicitly set billing to off in the test for being able to index a large set of data
2023-11-25 20:48:32 -08:00