* feat: add vulkan support on windows and linux
* fix: correct vulkan settings
* fix: gpu settings and enable Vulkan support
* fix: vulkan support 1 device at a time only
* inference-nitro-extension add download vulkaninfo
---------
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
* fix: message should only be interrupted when i start another thread
* fix: thread lost message streaming if navigate to another thread
* fix: state issue with useThreads
* fix: factory reset not remove jan data folder
Signed-off-by: James <james@jan.ai>
* chore: prettier fix
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
* fix: local server blank parameters if there is no thread selected
* fix: show errors only when the selected model is started while starting the server
* fix: show loading progress of selected model only
* feat: add modal troubleshooting guideline
* show app, server log and device specs from user agent
* add function copy app, server log and device specs
* add todo device specs
* update style darkmode for modal troubleshoot
* resolve inconsistent message hidden
* fix: model failed to load but the server started successfully (#1971)
* fix: start server success but modal load failed
* add information model failed load while start server successfully
* fix: reduce the number of api call
Signed-off-by: James <james@jan.ai>
* fix: download progress
Signed-off-by: James <james@jan.ai>
* chore: save blob
* fix: server boot up
* fix: download state not updating
Signed-off-by: James <james@jan.ai>
* fix: copy assets
* Add Dockerfile CPU for Jan Server and Jan Web
* Add Dockerfile GPU for Jan Server and Jan Web
* feat: S3 adapter
* Update check find count from ./pre-install and correct copy:asserts command
* server add bundleDependencies @janhq/core
* server add bundleDependencies @janhq/core
* fix: update success/failed download state (#1945)
* fix: update success/failed download state
Signed-off-by: James <james@jan.ai>
* fix: download model progress and state handling for both Desktop and Web
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
* chore: refactor
* fix: load models empty first time open
* Add Docker compose
* fix: assistants onUpdate
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: NamH <NamNh0122@gmail.com>
* fix: avoid allow users to create so many threads at the same time
* fix missing last message
* remove console
* update last message metadata thread
* update conditional statement
* feat(FactoryReset): add factory reset feature
Signed-off-by: nam <namnh0122@gmail.com>
Signed-off-by: James <james@jan.ai>
Co-authored-by: Faisal Amir <urmauur@gmail.com>
Co-authored-by: James <james@jan.ai>
* fix: preserve focused thread when navigating in jan app
Signed-off-by: James <james@jan.ai>
* Update web/hooks/useThreads.ts
Co-authored-by: Louis <louis@jan.ai>
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
* fix: cannot change jan data folder
Signed-off-by: James <james@jan.ai>
* fix: user can't view model setting in local api server
Signed-off-by: James <james@jan.ai>
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
chore: Update new model.json with multiple binaries
feat: Add updates for handling multiple model binaries
chore: jan can see
Update Model.json (#1005)
* add(mixtral): add model.json for mixtral
* archived some models + update the model.json
* add(model): add pandora 10.7b
* fix(model): update description
* fix(model): pump vers and change the featured model to trinity
* fix(model): archive neuralchat
* fix(model): decapriated all old models
* fix(trinity): add cover image and change description
* fix(trinity): update cover png
* add(pandora): cover image
* fix(pandora): cover image
* add(mixtral): add model.json for mixtral
* archived some models + update the model.json
* add(model): add pandora 10.7b
* fix(model): update description
* fix(model): pump vers and change the featured model to trinity
* fix(model): archive neuralchat
* fix(model): decapriated all old models
* fix(trinity): add cover image and change description
* fix(trinity): update cover png
* add(pandora): cover image
* fix(pandora): cover image
* chore: model desc nits
* fix(models): adjust the size for solars and pandoras
* add(mixtral): description
---------
Co-authored-by: 0xSage <n@pragmatic.vc>
chore: reformat model.json and use new template
fix(Model): download/abort model (#1163)
* fix(Model): download/abort model
* fix: image preview
Signed-off-by: James <james@jan.ai>
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
add preview and reduce time re-render all chat screen
Signed-off-by: James <james@jan.ai>
store files under thread_id/files
Signed-off-by: James <james@jan.ai>
fix: Update llava 1.5 size
fix: Nitro extension path resolver
feat: Add upload preview clearance
chore: Update FileType to multiple targets
fix: delete file preview once new thread created
chore: Add langchain import
support storing pdf file
Signed-off-by: James <james@jan.ai>
feat: add retrieval tool in node runtime
fix: import module done
Co-authored-by: Louis <louis-jan@users.noreply.github.com>
feat: Add type assistant tool
chore: Add tool_retrieval_enabled to InferenceEngine
chore: Add AssistantTool to thread entity
chore: refactor tool retrieval base class
feat: Add handler for assistant with rag enabled
chore: Update inferenceEngine type properly
chore: Update inferenceEngine type properly
fix: Update retrieval tool
chore: main entry correction
refactor: tsconfig files
chore: Update ModelRuntimeParams type
refactor: Remove unused files
fix: wip
chore: remove unused console.log for FileUploadPreview
fix: Update mapping correctly for engine and proxyEngine
feat: Add proxyEngine to type ModelInfo
fix: WIP with test route
fix: Add bundleDependencies to package.json
chore: remove conversational history memory
fix: refactor data passing
reafactor: remove unused code
fix: Update module
chore: export import correction
fix conflict
Signed-off-by: James <james@jan.ai>
fix: resolve after rebased
fix: Update llava 1.5 model json
feat: Add bakllava 1 model json
refactor: node module export, ES syntax and langchain import
fix: WIP
fix: WIP
fix: WIP
fix: external module import
fix: WIP
Add UI attachment fot file upload
Prepare Thumbnail UI image
chore: rebase model folder to dev branch
chore: remove multiple binaries related commits
fix: remove multiple binaries related commits part 2
fix: Remove transformer.js related deps
Fix truncate file name attachment
remove unused code image preview attachment
fix: remove multi binaries error
chore: remove commented code for ModelArtifacts type
Dropzone for drag and drop attachment
Avoid conditional showing 0 using length
fix symbol windows
avoid undefined tools
fix: add tool retrieval to true by default and disable the change
chore: remove unused code
fix: Enable nitro embedding by default
fix: Update code WIP with nitro embedding
chore: remove unused running function
fix: assistant extension missing module
feat: Retrieval ingest, query and reforward
fix: Update hnswlib version conflict
fix: Add tool settings
fix: Update path to thread_id/memory
fix: Add support for nitro embedding usage
fix: RAG does not work with plain content message
fix(Model): #1662 imported model does not use gpu (#1723)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
feat: allow users to update retrieval settings
chore: pass thread assistant settings to assistant extensions
chore: eslint fix
fix bug border right panel showing in thread while not have active thread
Update setting layout retrieval assistant
Renaming file settingcomponent
change default value in core extention
add fake loader generate response
fix conditional fake loader
remove unused import
Proper error message on file typr
fix: loading indicator
fix: chunk size and overlap constraint
conditional drag and drop when retrieval off
fix: enable retrieval middleware as soon as its tool is enabled
fix: configure embedding engine according to request
fix: Retrieval false by default
fix: engine json
chore: migrate assistant
disabled collapse panel when retrieval or children null
chore: remove unused log
chore: Bump nitro version to 0.2.14 for batch embedding
chore: remove unused console.log
* chore: clean up code and remove some lint suppression
Signed-off-by: James <james@jan.ai>
* Update .gitignore
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
* feat: wip ui jan folder setting
* change input disabled
* finished change directory jan folder
* fix overlap value input current path folder
* make app reload to latest page
* fix: add experimental feature toggle til the next release
---------
Co-authored-by: Louis <louis@jan.ai>
* feat: allow user to move jan folder
Signed-off-by: James <james@jan.ai>
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
* feat: allow self-signed certificates
* fix: Extra information in self signed error
* chore: simplified PR
* feat: allow https proxies
* fix: trim() may save one or two user headaches
* Update web/context/FeatureToggle.tsx
---------
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>