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
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
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
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
c13953311a
Add reflective questions to admin pages
2023-11-23 14:01:05 -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
e3b32e412c
Merge pull request #556 from khoj-ai/features/reflective-suggested-questions
...
Add support for suggesting base questions to users
2023-11-23 11:57:02 -08:00
sabaimran
5fac39afed
Fix PYTHONPATH reference in order to maintain appropriate package imports
2023-11-22 20:35:11 -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
e34db979b6
Add instructions for using the self hosted URL in clients
2023-11-22 17:32:43 -08:00
sabaimran
b1b037f0ea
Fix URL configuration issues with reorganized subfolders
2023-11-22 17:03:33 -08:00
sabaimran
e0949e232b
Import random in adapters file for selecting reflective question
2023-11-22 07:52:51 -08:00
sabaimran
256e8de40a
Merge with features/internet-enabled-search
2023-11-22 07:25:24 -08:00
Debanjum Singh Solanky
fd60db766e
Clear Conversation History from the Web Client
2023-11-22 03:35:00 -08:00
Debanjum Singh Solanky
d5a4830761
Clear Conversation History from the Desktop Client
2023-11-22 03:35:00 -08:00
Debanjum Singh Solanky
3096544cf2
Create API endpoint to clear user's chat history
2023-11-22 03:34:59 -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
Debanjum Singh Solanky
2951fc92d7
Speak to Khoj from the Web client
...
- Use icons to style speech to text recording state
2023-11-22 02:47:17 -08:00
Debanjum Singh Solanky
cc77bc4076
Create speech to text API endpoint. Use OpenAI whisper for ASR
...
- Wrap audio transcription in try/catch and delete audio file after
processing
- Use configured speech to text model, else handle error
2023-11-22 02:47:06 -08:00
Debanjum Singh Solanky
1ca99b6eb0
Add speech to text model configuration to Database
2023-11-22 02:24:31 -08:00
sabaimran
60c23d9e3a
Add online search chat director tests
2023-11-21 23:08:36 -08:00
sabaimran
c652a7fd2d
Move text_to_entries under the new content folder
2023-11-21 22:25:17 -08:00
sabaimran
1e2af083f0
Rename the data_sources module to content
2023-11-21 22:11:32 -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
5d9d50157e
Clean Logs, Improve Message Rendering and Make Khoj Trusted Host Configurable ( #561 )
...
- Append chat message to chat logs as TextNodes in web, desktop clients
- Simplify Code to Identify Files from Github, Notion on Web, Desktop Client
- Use file source to find entries from github, notion on web, desktop client
- Pass file source to clients via text search API response
- Make Django Logs Follow Khoj Log Format, Verbosity
- Handle image search setup related warning
- Format Django initializing outputs using Khoj logger format
- Use `KHOJ_HOST` env var to set allowed/trusted domains to host Khoj
2023-11-21 15:14:34 -08:00