Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for swagger object type #3426

Merged
merged 2 commits into from Apr 16, 2024
Merged

add support for swagger object type #3426

merged 2 commits into from Apr 16, 2024

Conversation

LeePui
Copy link
Contributor

@LeePui LeePui commented Apr 12, 2024

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • TODO

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • optional I have made corresponding changes to the documentation
  • optional I have added tests that prove my fix is effective or that my feature works
  • optional New and existing unit tests pass locally with my changes

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. 🐍 python Pull requests that update Python code 💪 enhancement New feature or request 📚 documentation Improvements or additions to documentation labels Apr 12, 2024
@zxhlyh zxhlyh requested a review from Yeuoly April 12, 2024 10:14
@crazywoola crazywoola closed this Apr 12, 2024
@crazywoola crazywoola reopened this Apr 12, 2024
@LeePui
Copy link
Contributor Author

LeePui commented Apr 13, 2024

Hi , i think supporting simple object types would be very useful for Dify.

Dify likely serves a substantial number of commercial clients, predominantly enterprise-level users. One common application for these users is in AI-driven sales, where the AI interacts with users, gathers their requirements through dialogue, and then recommends products based on those needs.

A typical workflow on Dify involves the AI extracting user tags from these interactions and then forwarding these tags to a recommendation service via an intermediary tool, which then suggests relevant products to the users.

Given the non-enumerable nature of tags generated from natural language, it’s impractical to specify exact tag names in interface parameters. Consequently, the interface accepts parameters of type Map<String, Object>, where the key is the tag name and the value is the user's selection. My testing with both GPT-3.5 and GPT-4 confirms that they can seamlessly handle such parameter types.

Therefore, I believe that support for 'object' types would significantly benefit enterprise users in implementing these types of workflows. In fact, upon reviewing the codebase, I noticed that Dify’s frontend already supports 'object' types; however, the backend lacked proper object handling. To address this, I have added an object type check in the backend within the code I submitted, which, based on my testing, functions effectively.

@LeePui
Copy link
Contributor Author

LeePui commented Apr 13, 2024

Hi , i think supporting simple object types would be very useful for Dify.

Dify likely serves a substantial number of commercial clients, predominantly enterprise-level users. One common application for these users is in AI-driven sales, where the AI interacts with users, gathers their requirements through dialogue, and then recommends products based on those needs.

A typical workflow on Dify involves the AI extracting user tags from these interactions and then forwarding these tags to a recommendation service via an intermediary tool, which then suggests relevant products to the users.

Given the non-enumerable nature of tags generated from natural language, it’s impractical to specify exact tag names in interface parameters. Consequently, the interface accepts parameters of type Map<String, Object>, where the key is the tag name and the value is the user's selection. My testing with both GPT-3.5 and GPT-4 confirms that they can seamlessly handle such parameter types.

Therefore, I believe that support for 'object' types would significantly benefit enterprise users in implementing these types of workflows. In fact, upon reviewing the codebase, I noticed that Dify’s frontend already supports 'object' types; however, the backend lacked proper object handling. To address this, I have added an object type check in the backend within the code I submitted, which, based on my testing, functions effectively.

@Yeuoly Hi, Yeuoly, I've made some additions to the use case and the logic that's currently missing in Dify. Could you take a look at it?

@Yeuoly
Copy link
Collaborator

Yeuoly commented Apr 13, 2024

Thanks for your contribution, and I consider it as an important feature that implements lots of amazing and useful tools.

However, supporting OBJECT type is complex work, for example, a child object could be nested, arrays could be declared also, we should define a more flexible struct to implement this, and more changes should be done.

I do understand that what we need is a simple struct and it meets most needs, but I think we can do it further.

current changes make sense in simple context, let's make it better! would you mind implement it? or I can just accept this PR and make it later.

@LeePui
Copy link
Contributor Author

LeePui commented Apr 14, 2024

Thanks for your contribution, and I consider it as an important feature that implements lots of amazing and useful tools.

However, supporting OBJECT type is complex work, for example, a child object could be nested, arrays could be declared also, we should define a more flexible struct to implement this, and more changes should be done.

I do understand that what we need is a simple struct and it meets most needs, but I think we can do it further.

current changes make sense in simple context, let's make it better! would you mind implement it? or I can just accept this PR and make it later.

@Yeuoly ,Hi, thank you for your reply. I think I can try to refine the handling of the 'object' type. I will complete this implementation in the next few days. I think we can merge this simple version first, and then I'll continue to refine it.

Copy link
Collaborator

@Yeuoly Yeuoly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 15, 2024
@Yeuoly
Copy link
Collaborator

Yeuoly commented Apr 15, 2024

Thx for contributions :)

@takatost takatost merged commit 38ca3b2 into langgenius:main Apr 16, 2024
6 checks passed
HSPK added a commit to puyuantech/dify-local that referenced this pull request Apr 22, 2024
* feat: translations (langgenius#3176)

* fix: prompt editor variable picker (langgenius#3177)

* Fix: features of agent-chat (langgenius#3178)

* version to 0.6.0-fix1 (langgenius#3179)

* fix keyword index error when storage source is S3 (langgenius#3182)

* Update README.md to include workflows (langgenius#3180)

* Compatible with unique index conflicts (langgenius#3183)

* fix: sometimes chosed old selected knowledge may overwirte the new knowledge (langgenius#3199)

* Fix: remove unavailable return_preamble parameter in cohere (langgenius#3201)

Signed-off-by: Jat <jat@sinosky.org>

* Fix/code transform result (langgenius#3203)

* fix(code_executor): surrogates not allowed error in jinja2 template (langgenius#3191)

* fix: node connect self (langgenius#3194)

* Update README.md (langgenius#3206)

* fix economy index search in workflow (langgenius#3205)

* fix: index number in api/README (langgenius#3214)

* Update README.md (langgenius#3212)

* fix detached instance error in keyword index create thread and fix question classifier node out of index error (langgenius#3219)

* fix: incomplete response (langgenius#3215)

* fix: latest image tag not push in GitHub action (langgenius#3213)

* fix: vision config doesn't enabled in llm (langgenius#3225)

* fixed the issue of missing cleanup function in the AudioBtn component (langgenius#3133)

* fix: image text when retrieve chat histories (langgenius#3220)

* feat: moonshot function call (langgenius#3227)

* feat: support setting database used in Milvus (langgenius#3003)

* fix milvus database name parameter missed (langgenius#3229)

* fix: file not uploaded caused api error (langgenius#3228)

* update link (langgenius#3226)

* fix: skip Celery warning by setting broker_connection_retry_on_startup config (langgenius#3188)

* fix: workflow run edge status (langgenius#3236)

* fix: empty conversation list of explore chatbot (langgenius#3235)

* Fix: picture of workflow (langgenius#3241)

* feat: prompt-editor support undo (langgenius#3242)

* fix: number type in app would render as select type in webapp (langgenius#3244)

* fix: token is not logging of question classifier node (langgenius#3249)

* chore: remove langchain in tools (langgenius#3247)

* make sure validation flow works for all model providers in bedrock (langgenius#3250)

* feat: remove unregistered-llm-in-debug (langgenius#3251)

* version to 0.6.1 (langgenius#3253)

* fix: agent chat multiple model debug (langgenius#3258)

* feat: gpt-4-turbo (langgenius#3263)

* fix: image was sent to an unsupported LLM when sending second message (langgenius#3268)

* feat: vision parameter support of OpenAI Compatible API (langgenius#3272)

* fix: var assigner input node can not find caused error (langgenius#3274)

* fix: variable-assigner node connect (langgenius#3288)

* Feat/Agent-Image-Processing (langgenius#3293)

Co-authored-by: Joel <iamjoel007@gmail.com>

* chore: address security alerts on braces escape and KaTeX (langgenius#3301)

* chore(deps): bump katex from 0.16.8 to 0.16.10 in /web (langgenius#3307)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update README.md (langgenius#3281)

* Remove langchain dataset retrival agent logic (langgenius#3311)

* add german translations (langgenius#3322)

* feat: add missing workflow i18n keys (langgenius#3309)

Co-authored-by: lbm21 <313338264@qq.com>

* feat:add 'name' field return (langgenius#3152)

* improvement: speed up dependency installation in docker image rebuilds by mounting cache layer (langgenius#3218)

* feat: support gpt-4-turbo-2024-04-09 model (langgenius#3300)

* feat: Add Cohere Command R / R+ model support (langgenius#3333)

* fix dataset retrival in dataset mode (langgenius#3334)

* chore:bump pypdfium2 from 4.16.0 to 4.17.0 (langgenius#3310)

* feat(llm/models): add gemini-1.5-pro (langgenius#2925)

* feat: make input size bigger in start (langgenius#3340)

* Doc/update readme (langgenius#3344)

* fix: leave  progress page still call indexing-status api (langgenius#3345)

* feat: update aws bedrock (langgenius#3326)

Co-authored-by: chenhe <guchenhe@gmail.com>

* fix/moonshot-function-call (langgenius#3339)

* fix issue: user’s keywords do not affect when add segment (langgenius#3349)

* add segment with keyword issue (langgenius#3351)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>

* Fix issue : don't delete DatasetProcessRule, DatasetQuery and AppDatasetJoin when delete dataset with no document (langgenius#3354)

* fix: remove middle editor may cause render placement error (langgenius#3356)

* Added a note on the front-end docker build: use taobao source to accelerate the installation of front-end dependency packages to achieve the purpose of quickly building containers (langgenius#3358)

Co-authored-by: lbm21 <313338264@qq.com>
Co-authored-by: akou <beiming1201@gmail.com>

* fix: var name too long would break ui in var assigner and end nodes (langgenius#3361)

* Refactor/react agent (langgenius#3355)

* Fix/Bing Search url endpoint cannot be customized (langgenius#3366)

* fix: image token calc of OpenAI Compatible API (langgenius#3368)

* Update README.md (langgenius#3371)

* update workflow intro mp4 codec (langgenius#3372)

* fix: cohere tool call does not support single tool (langgenius#3373)

* version to 0.6.2 (langgenius#3375)

* fix: variable pool mapping variable mixed up (langgenius#3378)

* version to 0.6.2-fix1 (langgenius#3380)

* fix: yarn install extract package err when using GitHub Cache in amd6… (langgenius#3383)

* feat: Add support for embed file with AWS Bedrock Titan Model (langgenius#3377)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>

* fix: remove - in dataset retriever tool name (langgenius#3381)

* feat:api Add support for extracting EPUB files in ExtractProcessor (langgenius#3254)

Co-authored-by: crazywoola <427733928@qq.com>

* feat: show citation info in run history (langgenius#3399)

* Feat: Invitation link automatically completes domain name (langgenius#3393)

Co-authored-by: huangbaichao <hbc@moonlit.art>

* Integrated SearXNG search as built-in tool (langgenius#3363)

Co-authored-by: crazywoola <427733928@qq.com>

* fix: [azure_openai] Error: 'NoneType' object has no attribute 'content' (langgenius#3389)

* Update providers preview (langgenius#3403)

* add xls file suport (langgenius#3321)

* Update README.md (langgenius#3405)

* Fix/workflow tool incorrect parameter configurations (langgenius#3402)

Co-authored-by: Joel <iamjoel007@gmail.com>

* chore: replace all set interval (langgenius#3411)

* feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (langgenius#3408) (langgenius#3416)

* chore: remove Langchain tools import (langgenius#3407)

* feat: gemini pro function call (langgenius#3406)

* fix: shared text-generation stream (langgenius#3419)

* fix/dataset-retriever-tool-parameter-redundancy (langgenius#3418)

* Feat/api tool custom timeout (langgenius#3420)

* fix: test env key missing or wrong (langgenius#3430)

* Doc/update readme (langgenius#3433)

* Update README_CN.md (langgenius#3434)

* Update README_CN.md (langgenius#3435)

* feat: add workflow editor shortcuts (langgenius#3382) (langgenius#3390)

* FEAT: cohere rerank 3 model added (langgenius#3431)

* chore: remove the COPY instruction in .devcontainer/Dockerfile (langgenius#3409)

* fix typo: Changlog -> Changelog (langgenius#3442)

* fix: node shortcuts active in input fields (langgenius#3438)

* Add nvidia codegemma 7b (langgenius#3437)

* Update yaml and py file in Tavily Tool (langgenius#3450)

* feat: Added the mirror of Aliyun's Linux apk installation package and updated the deprecated taobao npm mirror address to npmmirror (langgenius#3459)

* Revert "Update yaml and py file in Tavily Tool" (langgenius#3464)

* feat: jina reader (langgenius#3468)

* feat: support configurate openai compatible stream tool call (langgenius#3467)

* feat: optimize the efficiency of generating chatbot conversation name (langgenius#3472)

* feat: remove langchain from output parsers (langgenius#3473)

* chore: separate Python dependencies for development (langgenius#3198)

* chore: add sandbox permission tooltip (langgenius#3477)

* fix: prompt template issue (langgenius#3449)

* feat: support relyt vector database  (langgenius#3367)

Co-authored-by: jingsi <jingsi@leadincloud.com>

* Update README.md (langgenius#3478)

* nvidia-label-update (langgenius#3482)

* fix: in conversation log click op button would cause close drawer (langgenius#3483)

* fix: workflow auto layout nodes offset & delete node shortcuts (langgenius#3484)

* fix: workflow edge curvature (langgenius#3488)

* fix: stringify object while exporting batch result to csv (langgenius#3481)

* question classifier prompt optimization (langgenius#3479)

* feat: refactor tongyi models (langgenius#3496)

* fix: bump twilio to 9.0.4 skipping yanked versions (langgenius#3500)

* test: install ffmpeg for pytests (langgenius#3499)

* feat: support var auto rename in prompt editor (langgenius#3510)

* fix: add message caused problem after simple chat convert to workflow (langgenius#3511)

* fix: the object field is empty string in some openAI api compatible model (langgenius#3506)

* Add suuport for AWS  Bedrock Cohere embedding (langgenius#3444)

* fix: add completion mode object check (langgenius#3515)

* get config default for sandbox (langgenius#3508)

Co-authored-by: miendinh <miendinh@users.noreply.github.com>

* chore: improve reference variable picker user experience (langgenius#3517)

* fix: array[string] context in llm node invalid (langgenius#3518)

* version to 0.6.3 (langgenius#3519)

* fix the return with wrong datatype of segment (langgenius#3525)

* fix: the hover style of the card-item operation button container (langgenius#3520)

* chore: lint .env file templates (langgenius#3507)

* add support for swagger object type (langgenius#3426)

Co-authored-by: lipeikui <lipeikui@3vjia.com>

* /fix register

* /add modelhub

* localhost

* /fix req bugs

* modelhub add rerank

---------

Signed-off-by: Jat <jat@sinosky.org>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Jat <jat@sinosky.org>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
Co-authored-by: Eric Wang <wrqatw@gmail.com>
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
Co-authored-by: legao <837937787@qq.com>
Co-authored-by: Leo Q <LeoQuote@users.noreply.github.com>
Co-authored-by: minakokojima <lychees67@gmail.com>
Co-authored-by: Nite Knite <nkCoding@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lao <khazzz1c@gmail.com>
Co-authored-by: lbm21 <313338264@qq.com>
Co-authored-by: 呆萌闷油瓶 <253605712@qq.com>
Co-authored-by: Kenny <kt.tian@gmail.com>
Co-authored-by: akou <beiming1201@gmail.com>
Co-authored-by: longzhihun <38651850@qq.com>
Co-authored-by: LiuVaayne <10231735+vaayne@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Moonlit <bc.h@foxmail.com>
Co-authored-by: huangbaichao <hbc@moonlit.art>
Co-authored-by: junytang <junytang@gmail.com>
Co-authored-by: saga.rey <saga.rey@outlook.com>
Co-authored-by: chenxu9741 <1309095142@qq.com>
Co-authored-by: LIU HONGWEI <1327374483@qq.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
Co-authored-by: Yash Parmar <82636823+Yash-1511@users.noreply.github.com>
Co-authored-by: Bodhi <3882561+BodhiHu@users.noreply.github.com>
Co-authored-by: Selene29 <funmailfach@web.de>
Co-authored-by: Josh Feng <noisywolf@gmail.com>
Co-authored-by: Richards Tu <142148415+richards199999@users.noreply.github.com>
Co-authored-by: YidaHu <huyidada@gmail.com>
Co-authored-by: Jingpan Xiong <71321890+klaus-xiong@users.noreply.github.com>
Co-authored-by: jingsi <jingsi@leadincloud.com>
Co-authored-by: Joshua <138381132+joshua20231026@users.noreply.github.com>
Co-authored-by: sino <sino2322@gmail.com>
Co-authored-by: liuzhenghua <1090179900@qq.com>
Co-authored-by: kerlion <40377268+kerlion@users.noreply.github.com>
Co-authored-by: miendinh <22139872+miendinh@users.noreply.github.com>
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
Co-authored-by: buu <bushuai@yahoo.com>
Co-authored-by: LeePui <444561897@qq.com>
Co-authored-by: lipeikui <lipeikui@3vjia.com>
@HSPK HSPK mentioned this pull request Apr 22, 2024
14 tasks
HSPK added a commit to puyuantech/dify-local that referenced this pull request Apr 22, 2024
* feat: translations (langgenius#3176)

* fix: prompt editor variable picker (langgenius#3177)

* Fix: features of agent-chat (langgenius#3178)

* version to 0.6.0-fix1 (langgenius#3179)

* fix keyword index error when storage source is S3 (langgenius#3182)

* Update README.md to include workflows (langgenius#3180)

* Compatible with unique index conflicts (langgenius#3183)

* fix: sometimes chosed old selected knowledge may overwirte the new knowledge (langgenius#3199)

* Fix: remove unavailable return_preamble parameter in cohere (langgenius#3201)



* Fix/code transform result (langgenius#3203)

* fix(code_executor): surrogates not allowed error in jinja2 template (langgenius#3191)

* fix: node connect self (langgenius#3194)

* Update README.md (langgenius#3206)

* fix economy index search in workflow (langgenius#3205)

* fix: index number in api/README (langgenius#3214)

* Update README.md (langgenius#3212)

* fix detached instance error in keyword index create thread and fix question classifier node out of index error (langgenius#3219)

* fix: incomplete response (langgenius#3215)

* fix: latest image tag not push in GitHub action (langgenius#3213)

* fix: vision config doesn't enabled in llm (langgenius#3225)

* fixed the issue of missing cleanup function in the AudioBtn component (langgenius#3133)

* fix: image text when retrieve chat histories (langgenius#3220)

* feat: moonshot function call (langgenius#3227)

* feat: support setting database used in Milvus (langgenius#3003)

* fix milvus database name parameter missed (langgenius#3229)

* fix: file not uploaded caused api error (langgenius#3228)

* update link (langgenius#3226)

* fix: skip Celery warning by setting broker_connection_retry_on_startup config (langgenius#3188)

* fix: workflow run edge status (langgenius#3236)

* fix: empty conversation list of explore chatbot (langgenius#3235)

* Fix: picture of workflow (langgenius#3241)

* feat: prompt-editor support undo (langgenius#3242)

* fix: number type in app would render as select type in webapp (langgenius#3244)

* fix: token is not logging of question classifier node (langgenius#3249)

* chore: remove langchain in tools (langgenius#3247)

* make sure validation flow works for all model providers in bedrock (langgenius#3250)

* feat: remove unregistered-llm-in-debug (langgenius#3251)

* version to 0.6.1 (langgenius#3253)

* fix: agent chat multiple model debug (langgenius#3258)

* feat: gpt-4-turbo (langgenius#3263)

* fix: image was sent to an unsupported LLM when sending second message (langgenius#3268)

* feat: vision parameter support of OpenAI Compatible API (langgenius#3272)

* fix: var assigner input node can not find caused error (langgenius#3274)

* fix: variable-assigner node connect (langgenius#3288)

* Feat/Agent-Image-Processing (langgenius#3293)



* chore: address security alerts on braces escape and KaTeX (langgenius#3301)

* chore(deps): bump katex from 0.16.8 to 0.16.10 in /web (langgenius#3307)




* Update README.md (langgenius#3281)

* Remove langchain dataset retrival agent logic (langgenius#3311)

* add german translations (langgenius#3322)

* feat: add missing workflow i18n keys (langgenius#3309)



* feat:add 'name' field return (langgenius#3152)

* improvement: speed up dependency installation in docker image rebuilds by mounting cache layer (langgenius#3218)

* feat: support gpt-4-turbo-2024-04-09 model (langgenius#3300)

* feat: Add Cohere Command R / R+ model support (langgenius#3333)

* fix dataset retrival in dataset mode (langgenius#3334)

* chore:bump pypdfium2 from 4.16.0 to 4.17.0 (langgenius#3310)

* feat(llm/models): add gemini-1.5-pro (langgenius#2925)

* feat: make input size bigger in start (langgenius#3340)

* Doc/update readme (langgenius#3344)

* fix: leave  progress page still call indexing-status api (langgenius#3345)

* feat: update aws bedrock (langgenius#3326)



* fix/moonshot-function-call (langgenius#3339)

* fix issue: user’s keywords do not affect when add segment (langgenius#3349)

* add segment with keyword issue (langgenius#3351)



* Fix issue : don't delete DatasetProcessRule, DatasetQuery and AppDatasetJoin when delete dataset with no document (langgenius#3354)

* fix: remove middle editor may cause render placement error (langgenius#3356)

* Added a note on the front-end docker build: use taobao source to accelerate the installation of front-end dependency packages to achieve the purpose of quickly building containers (langgenius#3358)




* fix: var name too long would break ui in var assigner and end nodes (langgenius#3361)

* Refactor/react agent (langgenius#3355)

* Fix/Bing Search url endpoint cannot be customized (langgenius#3366)

* fix: image token calc of OpenAI Compatible API (langgenius#3368)

* Update README.md (langgenius#3371)

* update workflow intro mp4 codec (langgenius#3372)

* fix: cohere tool call does not support single tool (langgenius#3373)

* version to 0.6.2 (langgenius#3375)

* fix: variable pool mapping variable mixed up (langgenius#3378)

* version to 0.6.2-fix1 (langgenius#3380)

* fix: yarn install extract package err when using GitHub Cache in amd6… (langgenius#3383)

* feat: Add support for embed file with AWS Bedrock Titan Model (langgenius#3377)



* fix: remove - in dataset retriever tool name (langgenius#3381)

* feat:api Add support for extracting EPUB files in ExtractProcessor (langgenius#3254)



* feat: show citation info in run history (langgenius#3399)

* Feat: Invitation link automatically completes domain name (langgenius#3393)



* Integrated SearXNG search as built-in tool (langgenius#3363)



* fix: [azure_openai] Error: 'NoneType' object has no attribute 'content' (langgenius#3389)

* Update providers preview (langgenius#3403)

* add xls file suport (langgenius#3321)

* Update README.md (langgenius#3405)

* Fix/workflow tool incorrect parameter configurations (langgenius#3402)



* chore: replace all set interval (langgenius#3411)

* feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling (langgenius#3408) (langgenius#3416)

* chore: remove Langchain tools import (langgenius#3407)

* feat: gemini pro function call (langgenius#3406)

* fix: shared text-generation stream (langgenius#3419)

* fix/dataset-retriever-tool-parameter-redundancy (langgenius#3418)

* Feat/api tool custom timeout (langgenius#3420)

* fix: test env key missing or wrong (langgenius#3430)

* Doc/update readme (langgenius#3433)

* Update README_CN.md (langgenius#3434)

* Update README_CN.md (langgenius#3435)

* feat: add workflow editor shortcuts (langgenius#3382) (langgenius#3390)

* FEAT: cohere rerank 3 model added (langgenius#3431)

* chore: remove the COPY instruction in .devcontainer/Dockerfile (langgenius#3409)

* fix typo: Changlog -> Changelog (langgenius#3442)

* fix: node shortcuts active in input fields (langgenius#3438)

* Add nvidia codegemma 7b (langgenius#3437)

* Update yaml and py file in Tavily Tool (langgenius#3450)

* feat: Added the mirror of Aliyun's Linux apk installation package and updated the deprecated taobao npm mirror address to npmmirror (langgenius#3459)

* Revert "Update yaml and py file in Tavily Tool" (langgenius#3464)

* feat: jina reader (langgenius#3468)

* feat: support configurate openai compatible stream tool call (langgenius#3467)

* feat: optimize the efficiency of generating chatbot conversation name (langgenius#3472)

* feat: remove langchain from output parsers (langgenius#3473)

* chore: separate Python dependencies for development (langgenius#3198)

* chore: add sandbox permission tooltip (langgenius#3477)

* fix: prompt template issue (langgenius#3449)

* feat: support relyt vector database  (langgenius#3367)



* Update README.md (langgenius#3478)

* nvidia-label-update (langgenius#3482)

* fix: in conversation log click op button would cause close drawer (langgenius#3483)

* fix: workflow auto layout nodes offset & delete node shortcuts (langgenius#3484)

* fix: workflow edge curvature (langgenius#3488)

* fix: stringify object while exporting batch result to csv (langgenius#3481)

* question classifier prompt optimization (langgenius#3479)

* feat: refactor tongyi models (langgenius#3496)

* fix: bump twilio to 9.0.4 skipping yanked versions (langgenius#3500)

* test: install ffmpeg for pytests (langgenius#3499)

* feat: support var auto rename in prompt editor (langgenius#3510)

* fix: add message caused problem after simple chat convert to workflow (langgenius#3511)

* fix: the object field is empty string in some openAI api compatible model (langgenius#3506)

* Add suuport for AWS  Bedrock Cohere embedding (langgenius#3444)

* fix: add completion mode object check (langgenius#3515)

* get config default for sandbox (langgenius#3508)



* chore: improve reference variable picker user experience (langgenius#3517)

* fix: array[string] context in llm node invalid (langgenius#3518)

* version to 0.6.3 (langgenius#3519)

* fix the return with wrong datatype of segment (langgenius#3525)

* fix: the hover style of the card-item operation button container (langgenius#3520)

* chore: lint .env file templates (langgenius#3507)

* add support for swagger object type (langgenius#3426)



* /fix register

* /add modelhub

* localhost

* /fix req bugs

* modelhub add rerank

---------

Signed-off-by: Jat <jat@sinosky.org>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
Co-authored-by: takatost <takatost@users.noreply.github.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: Chenhe Gu <guchenhe@gmail.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Jat <jat@sinosky.org>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
Co-authored-by: Eric Wang <wrqatw@gmail.com>
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
Co-authored-by: legao <837937787@qq.com>
Co-authored-by: Leo Q <LeoQuote@users.noreply.github.com>
Co-authored-by: minakokojima <lychees67@gmail.com>
Co-authored-by: Nite Knite <nkCoding@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lao <khazzz1c@gmail.com>
Co-authored-by: lbm21 <313338264@qq.com>
Co-authored-by: 呆萌闷油瓶 <253605712@qq.com>
Co-authored-by: Kenny <kt.tian@gmail.com>
Co-authored-by: akou <beiming1201@gmail.com>
Co-authored-by: longzhihun <38651850@qq.com>
Co-authored-by: LiuVaayne <10231735+vaayne@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Moonlit <bc.h@foxmail.com>
Co-authored-by: huangbaichao <hbc@moonlit.art>
Co-authored-by: junytang <junytang@gmail.com>
Co-authored-by: saga.rey <saga.rey@outlook.com>
Co-authored-by: chenxu9741 <1309095142@qq.com>
Co-authored-by: LIU HONGWEI <1327374483@qq.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
Co-authored-by: Yash Parmar <82636823+Yash-1511@users.noreply.github.com>
Co-authored-by: Bodhi <3882561+BodhiHu@users.noreply.github.com>
Co-authored-by: Selene29 <funmailfach@web.de>
Co-authored-by: Josh Feng <noisywolf@gmail.com>
Co-authored-by: Richards Tu <142148415+richards199999@users.noreply.github.com>
Co-authored-by: YidaHu <huyidada@gmail.com>
Co-authored-by: Jingpan Xiong <71321890+klaus-xiong@users.noreply.github.com>
Co-authored-by: jingsi <jingsi@leadincloud.com>
Co-authored-by: Joshua <138381132+joshua20231026@users.noreply.github.com>
Co-authored-by: sino <sino2322@gmail.com>
Co-authored-by: liuzhenghua <1090179900@qq.com>
Co-authored-by: kerlion <40377268+kerlion@users.noreply.github.com>
Co-authored-by: miendinh <22139872+miendinh@users.noreply.github.com>
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
Co-authored-by: buu <bushuai@yahoo.com>
Co-authored-by: LeePui <444561897@qq.com>
Co-authored-by: lipeikui <lipeikui@3vjia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Improvements or additions to documentation 💪 enhancement New feature or request lgtm This PR has been approved by a maintainer 🐍 python Pull requests that update Python code size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants