Commit Graph

314 Commits (2a3c98b88ac49c74410069445aed6815f1c033c5)

Author SHA1 Message Date
NFish 2a3c98b88a Merge branch 'e-260' into refactor/merge-v1 1 year ago
-LAN- 5f7f851b17
fix: Refines None checks in result transformation
Simplifies the code by replacing type checks for None with
direct comparisons, improving readability and consistency in
handling None values during output validation.

Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 559ab46ee1
fix: Removes redundant token calculations and updates dependencies
Eliminates unnecessary pre-calculation of token limits and recalculation of max tokens
across multiple app runners, simplifying the logic for prompt handling.

Updates tiktoken library from version 0.8.0 to 0.9.0 for improved tokenization performance.

Increases default token limit in TokenBufferMemory to accommodate larger prompt messages.

These changes streamline the token management process and leverage the latest
improvements in the tiktoken library.

Fixes potential token overflow issues and prepares the system for handling larger
inputs more efficiently.

Relates to internal optimization tasks.

Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
quicksand 5de01c1444
feat (document_extractor): support .properties file (#18969) 1 year ago
crazywoola 2c2af1d117
feat: add VTT data transform to Document extractor (#18936) 1 year ago
Yeuoly abafa68647
refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 1 year ago
非法操作 c1559a7c8e
fix: LLMResultChunk cause concatenate str and list exception (#18852) 1 year ago
Jyong e2cb7006c4
check metadata_filtering_conditions could be None in auto mode (#18548) 1 year ago
ZalterCitty a1158cc946
fix: Update prompt message content types to use Literal and add union type for content (#17136)
Co-authored-by: 朱庆超 <zhuqingchao@xiaomi.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Novice da9269ca97
feat: structured output (#17877) 1 year ago
Novice c91045a9d0
fix(fail-branch): prevent streaming output in exception branches (#17153) 1 year ago
呆萌闷油瓶 8cc37f3115
fix:the extraction function of the list operation node received 0 that should not be received (#18170) 1 year ago
Ganondorf b006b9ac0c
Http requests node add ssl verify (#18125)
Co-authored-by: lizb <lizb@sugon.com>
1 year ago
kenwoodjw dfc123819e
fix basic auth encoding (#18047)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
Novice cd7fd100a7
fix(langfuse): qusetion classify node can't see cost in langfuse (#17982) 1 year ago
Yongtao Huang 5d72003ebb
Remove dead code (#17899) 1 year ago
briqt 91cfa90503
Fix external knowledge Issues: (#17685) (#17843) 1 year ago
Xu Song 1e1d457548
fix: make prompt consistent with few-show examples (#11538) 1 year ago
zxfishhack 5541a1f80e
robust for json parser (#17687) 1 year ago
Yongtao Huang e1304dc0c3
Chore: fix some wrong annotations (#17413) 1 year ago
Novice dcdec98c8e
feat: agent node add memory (#15976) 1 year ago
Good Wood b3f4e90862
feat: remove file and file[] restriction in code node (#17382) 1 year ago
Dongyu Li 8c77f2dc03
Feat/loop node (#17273) 1 year ago
Jyong 30792a1e1a
install pandoc (#16825) 1 year ago
Jyong 6a857e01f6
fix multiple metadata filter's confusing setting (#16771) 1 year ago
Jyong 86a1859d02
Metadata variable value fix (#16665) 1 year ago
Ron bf682302ee
fix error with literal_eval (#16297)
Co-authored-by: Novice <novice12185727@gmail.com>
1 year ago
Novice 437dcbdd68
fix: exclude additional unreachable nodes (#16329) 1 year ago
Jyong b8ef3149ef
metadata expect value check error (#16210) 1 year ago
cyflhn 1789437cc5
reopen PR for #14411 (#16148) 1 year ago
Jyong fa9b767bf2
fix chatflow metadata field name (#16130) 1 year ago
Jyong abeaea4f79
Support knowledge metadata filter (#15982) 1 year ago
kurokobo 86d3fff666
fix: respect resolution settings for vision for basic chatbot, text generator, and parameter extractor node (#16041) 1 year ago
Gen Sato 475b8d731e
Fix HTTP Request node to give priority to file extension of content-disposition (#12653) 1 year ago
Novice fe0d932f50
fix: fail-branch stream output error (#13401)
Co-authored-by: Novice Lee <novicelee@NoviPro.local>
1 year ago
Bowen Liang 9e782d4c1e
chore: bump ruff to 0.11.0 and fix linting violations (#15953) 1 year ago
QuantumGhost 2b4d1cf1db
fix(api): fix fail branch functionality for `WorkflowTool` (#15966) 1 year ago
QuantumGhost 23ed3a520b
chore(api): improve type hints for BaseNode and its subclasses (#15826) 1 year ago
jiangbo721 5646442931
fix: iteration total tokens calculate error (#15813)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
RookieAgent 8165d0b469
fix: http_request node form-data support array[file] (#15731) 1 year ago
Novice b817036343
fix: nesting of conditional branches causing streaming output error (#14065) 1 year ago
heyszt a58b990855
fix agent_execution_metadata (#15444) 1 year ago
Jacky Wu ed5596a8f4
fix: avoid llm node result var not init issue while do retry. (#14286) 1 year ago
Jyong 9b2a9260ef
Feat/new saas billing (#14996) 1 year ago
非法操作 99dc8c7871
fix: http node request detect text/xml as file (#15174) 1 year ago
Novice 778861f461
fix: agent node can't use in parallel (#15047) 1 year ago
Wood 2c17bb2c36
Feature/newnew workflow loop node (#14863)
Co-authored-by: arkunzz <4873204@qq.com>
1 year ago
LeanDeR 4f6a4f244c
fix(llm/nodes.py): Ensure that the output returns without any exceptions (#14880) 1 year ago
Novice bb4fecf3d1
fix(agent node): tool setting and workflow tool. (#14461) 1 year ago
yuhaowin 1e3197a1ea
Fixes 14217: database retrieve api and chat-messages api response doc_metadata (#14219) 1 year ago