Commit Graph

407 Commits

Author SHA1 Message Date
-LAN-
534083ef02 Merge branch 'feat/enhance-multi-modal-support' into deploy/dev 2024-10-17 17:37:49 +08:00
-LAN-
9797935c73 feat(file-download): add inline or attachment option for file previews
- Introduced 'as_attachment' argument to specify download mode.
- Enables flexible file display as inline or attachment.
- Enhances user control over file preview behavior.
2024-10-17 17:37:33 +08:00
-LAN-
a28e2341da Merge branch 'feat/enhance-multi-modal-support' into deploy/dev
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-16 19:28:21 +08:00
-LAN-
f8cf3304df fix(file-serving): adjust content disposition header for images
- Set content disposition to 'inline' for image files to allow direct viewing in browsers.
- Maintain 'attachment' disposition for other file types to prompt download.
2024-10-16 19:27:50 +08:00
-LAN-
739919556d Merge branch 'feat/enhance-multi-modal-support' into deploy/dev 2024-10-16 18:39:17 +08:00
-LAN-
1529fe3b01 refactor(api): enhance file streaming response handling
- Split returned variables in `get_file_generator_by_tool_file_id` for improved clarity.
- Revised response construction to directly use file stream and include headers for content length.
- Removed unnecessary type hint that restricted flexibility.
2024-10-16 18:39:02 +08:00
Joe
99a26768fd Merge branch 'feat/new-login' into deploy/dev
* feat/new-login:
  fix: logout account AnonymousUserMixin
  fix: not allow create workspace resp
2024-10-16 16:54:22 +08:00
Yi
03d704ea5a Merge branch 'fix/rerank-validation-in-run' into deploy/dev 2024-10-16 16:47:49 +08:00
Joe
2cdb2eba5b fix: logout account AnonymousUserMixin 2024-10-16 16:34:49 +08:00
Joe
2738b557d4 fix: not allow create workspace resp 2024-10-16 13:35:39 +08:00
Joe
f0e08e78a5 Merge branch 'feat/new-login' into deploy/dev
* feat/new-login:
  feat: update reset password template
  feat: update email template
  feat: update EmailPasswordLoginLimitError
2024-10-16 10:11:15 +08:00
Joe
b105998fe9 feat: update EmailPasswordLoginLimitError 2024-10-15 15:25:20 +08:00
Joe
fb46131a26 Merge: new-login into dev 2024-10-15 14:21:54 +08:00
Joe
fd23e63522 feat: update login language;
feat: update PasswordResetRateLimitExceededError;
2024-10-15 14:03:06 +08:00
Hash Brown
fa47f0c707
chore: disable chat service API passing parent_message_id (#8984) 2024-10-14 19:13:16 +08:00
Joe
73fb3c40e5 Merge 'feat/new-login' into 'deploy/dev' 2024-10-14 18:35:44 +08:00
Summer-Gu
8501af298f
feat: added dataset recall testing API (#9300) 2024-10-14 17:26:04 +08:00
-LAN-
353ed8652c Merge branch 'feat/enhance-multi-modal-support' into deploy/dev 2024-10-14 16:53:38 +08:00
-LAN-
ea18dd1571 feat(api): Enhance multi modal support. 2024-10-14 16:47:03 +08:00
twwu
84819ff220 Merge branch 'fix/refresh-token' into deploy/dev
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-14 11:44:39 +08:00
Joe
ad6ade03b4 feat: add refresh token 2024-10-14 10:37:41 +08:00
Joe
c2e40d5bc2 Merge branch 'main' into feat/new-login-refresh-token
* main: (121 commits)
  fix: remove the latest message from the user that does not have any answer yet (#9297)
  Add Volcengine VikingDB as new vector provider (#9287)
  chore: translate i18n files (#9288)
  chore: add baidu-obs and supabase for .env.example (#9289)
  chore: add abstract decorator and output log when query embedding fails (#9264)
  Feat/new account page (#9236)
  Feat/implement-refresh-tokens (#9233)
  feat: refresh-token (#9286)
  chore: translate i18n files (#9284)
  feat:support baidu vector db (#9185)
  Feat: rerank model verification in front end (#9271)
  Fix/s3 iam add region name (#7819)
  chore: optimize the trace ops slow queries on node executions. (#9282)
  chore: use cache instead of re-querying node record during workflow execution (#9280)
  chore: fix the misclassification of the opensearch-py package (#9266)
  fix: add new domain to whitelist (#9265)
  fix: move exception to debug mode (#9258)
  feat: add supabase object storage (#9229)
  fix: dialog box cannot correctly display LaTeX formulas (#9242)
  Fix/agent external knowledge retrieval (#9241)
  ...
2024-10-14 10:25:18 +08:00
ice yao
d15ba3939d
Add Volcengine VikingDB as new vector provider (#9287)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-13 21:26:05 +08:00
-LAN-
f73751843f
Feat/implement-refresh-tokens (#9233) 2024-10-12 23:46:30 +08:00
Shili Cao
2ec6ffe478
feat:support baidu vector db (#9185) 2024-10-12 23:24:17 +08:00
jyong
808b359274 Merge branch 'feat/add-tidb-on-qdrant-type' into deploy/dev
# Conflicts:
#	api/configs/middleware/__init__.py
#	api/controllers/console/datasets/datasets.py
#	api/core/rag/datasource/vdb/vector_factory.py
#	web/app/components/datasets/create/website/index.tsx
#	web/app/components/datasets/create/website/jina-reader/index.tsx
#	web/app/components/datasets/create/website/jina-reader/options.tsx
#	web/app/components/header/account-setting/data-source-page/data-source-website/config-jina-reader-modal.tsx
#	web/i18n/en-US/dataset-creation.ts
#	web/service/datasets.ts
2024-10-12 17:05:02 +08:00
-LAN-
150a217d32 feat(auth): implement refresh tokens and enhance login process
- Introduced `TokenPair` model for managing access and refresh tokens.
- Added `refresh_token` method to generate new tokens upon expiration.
- Updated login/logout processes to handle token pairs and enhanced security.
- Replaced `get_remote_ip` with `extract_remote_ip` for clarity.
- Added endpoint for refreshing tokens to maintain user session continuity.
2024-10-12 16:12:32 +08:00
Jyong
a6d387148a Fix/agent external knowledge retrieval (#9241) 2024-10-12 16:12:32 +08:00
Jyong
42b02b3a5f
Fix/agent external knowledge retrieval (#9241) 2024-10-11 19:21:03 +08:00
zxhlyh
d498f4e55e
Chore/model icon url (#9218)
Co-authored-by: takatost <takatost@gmail.com>
Co-authored-by: jyong <718720800@qq.com>
2024-10-11 12:33:34 +08:00
gaocarri
8204e0e14a
fix: Count exception occurs when searching conversations (#8754)
Co-authored-by: zheng.gao <zheng.gao@amh-group.com>
2024-10-08 17:25:33 +08:00
zhuhao
959a81a41b
refactor: remove the duplicate definitions across different modules (#9022) 2024-10-07 11:08:06 +08:00
Hash Brown
5f8a27074e
fix: chat API is not bringing the conversation/session history (#8965)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-10-01 12:10:36 +08:00
zhuhao
fa837b2dfd
fix: fix the issue with the system model configuration update (#8923) 2024-09-30 17:14:13 +08:00
Jyong
9d221a5e19
external knowledge api (#8913)
Co-authored-by: Yi <yxiaoisme@gmail.com>
2024-09-30 15:38:43 +08:00
Joe
9f36156514 feat: add ip email code ligin limit 2024-09-30 12:46:20 +08:00
-LAN-
3af65b2f45
feat(api): add version comparison logic (#8902) 2024-09-30 11:12:26 +08:00
Zhaofeng Miao
369e1e6f58
feat(website-crawl): add jina reader as additional alternative for website crawling (#8761) 2024-09-30 09:57:19 +08:00
Joe
cd88f27cd5 Merge branch 'main' into feat/new-login
* main: (77 commits)
  feat: add voyage ai as a new model provider (#8747)
  docs: add english versions for the files customizable_model_scale_out and predefined_model_scale_out (#8871)
  fix: #8843 event: tts_message_end always return in api streaming resp… (#8846)
  Add Jamba and Llama3.2 model support (#8878)
  fix(workflow): update tagging logic in GitHub Actions (#8882)
  chore: bump ruff to 0.6.8 for fixing violation in SIM910 (#8869)
  refactor: update Callback to an abstract class (#8868)
  feat: deprecate gte-Qwen2-7B-instruct embedding model (#8866)
  feat: add internlm2.5-20b and qwen2.5-coder-7b model (#8862)
  fix: customize model credentials were invalid despite the provider credentials being active (#8864)
  fix: update qwen2.5-coder-7b model name (#8861)
  fix(workflow/nodes/knowledge-retrieval/use-config): Preserve rerankin… (#8842)
  chore: fix wrong VectorType match case (#8857)
  feat: add min-connection and max-connection for pgvector (#8841)
  feat(Tools): add feishu tools (#8800)
  fix: delete harm catalog settings for gemini (#8829)
  Add Llama3.2 models in Groq provider (#8831)
  feat: deprecate mistral model for siliconflow (#8828)
  fix: AnalyticdbVector retrieval scores (#8803)
  fix: close log status option raise error (#8826)
  ...
2024-09-29 17:15:29 +08:00
Joe
d481a1b998 chore: lint
chore: lint
2024-09-29 17:06:27 +08:00
Joe
86b182ff73 feat: add email code login invite token 2024-09-29 16:59:03 +08:00
ice yao
27e33fb15c
chore: fix wrong VectorType match case (#8857)
Some checks are pending
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
2024-09-28 10:54:04 +08:00
Joe
6e5fd6710c fix: query error 2024-09-27 14:56:00 +08:00
jyong
31df381ed2 Merge branch 'mapleeit/main' into feat/add-tidb-on-qdrant-type
# Conflicts:
#	api/configs/feature/__init__.py
#	api/configs/middleware/__init__.py
#	api/controllers/console/datasets/datasets.py
#	api/core/rag/datasource/vdb/vector_type.py
2024-09-27 14:34:30 +08:00
Joe
62f14088b5 feat: change error resp 2024-09-27 12:48:15 +08:00
Joe
133beea491 fix: change type error 2024-09-27 11:56:37 +08:00
Joe
3801378f5e feat: change valid_password error resp 2024-09-27 10:52:01 +08:00
Joe
456e7a4abd feat: change email language 2024-09-26 16:15:23 +08:00
Joe
8059706e18 chore: style lint 2024-09-26 15:50:19 +08:00
Joe
b249f2b9f9 feat: update raise error 2024-09-26 15:49:37 +08:00