-LAN-
a36ef8430e
refactor(core): improve type annotations and file handling consistency
...
- Use more precise type annotations with Sequence and Mapping for task entities.
- Ensure raw_prompt is assigned properly after replacement in advanced prompt transform.
- Remove unused generator return type from _fetch_context method.
- Refactor tool node file handling to retrieve more comprehensive file attributes, ensuring file existence validation in the database.
2024-10-15 15:34:14 +08:00
-LAN-
dba67cd87a
fix(memory): filter non-image file types in prompt message content
...
- Skip non-image files when converting file objects to prompt message content.
- Ensures only image files are processed, improving the accuracy and relevance of prompt messages.
2024-10-15 12:01:00 +08:00
-LAN-
b3fdd618a1
refactor(core): simplify role handling and improve usability
...
- Replaced explicit string usage with `CreatedByRole` enum for better maintainability.
- Removed duplicate `CreatedByRole` class definition, improving codebase consistency.
- Increased file number limits from 6 to 10 to allow more file uploads.
- Transitioned `AppMode` to a string enum for consistent type usage.
- Refactored `extract_thread_messages` function argument for flexibility.
- Removed file extension limitation in file service to support custom extensions.
- Improved enum import statements across multiple modules for clarity and consistency.
2024-10-15 11:04:28 +08:00
-LAN-
0d310b503b
refactor(prompt): improve handling of variable templates in advanced prompt transform
2024-10-14 16:47:03 +08:00
-LAN-
03018823d8
fix(workflow): handle special values for process data consistently
...
- Apply `handle_special_values` to `process_data` in workflow cycle management.
- Improve template processing in `AdvancedPromptTransform` with `VariablePool`.
- Make `system_variables` and `user_inputs` optional in `VariablePool` initialization.
2024-10-14 16:47:03 +08:00
-LAN-
885192db38
feat(podcast_generator): add new podcast generation tools
...
- Introduced podcast generator with text-to-speech functionality using OpenAI's API.
- Implemented credential validation for TTS services and API keys.
- Added support for generating podcast audio with alternating host voices.
- Included user-friendly setup with internationalized YAML configuration.
- Added SVG icon to enhance visual identification.
2024-10-14 16:47:03 +08:00
-LAN-
ea18dd1571
feat(api): Enhance multi modal support.
2024-10-14 16:47:03 +08:00
非法操作
ffc3f33670
chore: remove the copied zhipu_ai sdk ( #9270 )
2024-10-14 10:53:45 +08:00
kurokobo
857055b797
fix: remove the latest message from the user that does not have any answer yet ( #9297 )
2024-10-13 23:25:50 +08:00
ice yao
d15ba3939d
Add Volcengine VikingDB as new vector provider ( #9287 )
2024-10-13 21:26:05 +08:00
zhuhao
d97d3ff5fc
chore: add abstract decorator and output log when query embedding fails ( #9264 )
2024-10-12 23:58:41 +08:00
Shili Cao
2ec6ffe478
feat:support baidu vector db ( #9185 )
2024-10-12 23:24:17 +08:00
takatost
23ce1fb1ba
chore: optimize the trace ops slow queries on node executions. ( #9282 )
2024-10-12 18:30:46 +08:00
takatost
29188e0562
chore: use cache instead of re-querying node record during workflow execution ( #9280 )
2024-10-12 17:48:59 +08:00
crazywoola
93af87a9e0
fix: move exception to debug mode ( #9258 )
2024-10-12 09:28:45 +08:00
Jyong
42b02b3a5f
Fix/agent external knowledge retrieval ( #9241 )
2024-10-11 19:21:03 +08:00
AkisAya
d7b8e071dd
fix:#9222 create or update custum tools error ( #9228 )
2024-10-11 17:12:30 +08:00
Jyong
80b62d50f5
Fix/add es num_candidates ( #9225 )
2024-10-11 16:04:23 +08:00
AAEE86
fe41e8bc18
feat: add siliconflow custom add model interface ( #8745 )
2024-10-11 11:56:11 +08:00
Fei He
5c76131d3d
feat: add gte rerank for tongyi ( #9153 )
2024-10-11 10:35:56 +08:00
Jyong
cabdb4ef17
fix retrieval resource positon missed ( #9155 )
...
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
2024-10-11 10:32:42 +08:00
zhuhao
05c1ef75c4
feat: add allow_llm_to_see_data flag for vanna ( #9156 )
2024-10-10 17:39:26 +08:00
Sa Zhang
75f0a5e36a
fix: Typo Correction in jina.yaml ( #9161 )
2024-10-10 17:00:34 +08:00
takatost
477beae3bb
fix: missing usage of metadata in the chatflow app ( #9167 )
2024-10-10 16:34:06 +08:00
Charlie.Wei
6b6e94da08
Fix code indentation errors ( #9164 )
2024-10-10 15:26:38 +08:00
Ziyu Huang
fc60b554a1
Fixes #9159 : Modify to make it works to llama.cpp rerank API ( #9160 )
2024-10-10 15:18:07 +08:00
Joe
e947103b6d
Feat/add workflow sys params ( #9108 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
2024-10-10 11:15:52 +08:00
ronaksingh27
62051d5171
Corrected type annotation to "Any" from "any" all files in "model_providers" folder ( #9135 )
2024-10-10 10:34:25 +08:00
luckylhb90
2024a6c941
fix: vertex ai remote url error(Error: not enough values to unpack) ( #9134 )
...
Co-authored-by: hobo.l <hobo.l@binance.com>
2024-10-10 10:16:42 +08:00
呆萌闷油瓶
060897b25b
chore:add azure openai api version 2024-09-01-preview ( #9141 )
2024-10-10 10:07:49 +08:00
非法操作
499cc57082
fix: response_format of model_parameters will not be removed ( #9148 )
2024-10-10 10:07:21 +08:00
Hash Brown
511ffa4698
fix: follow-up (suggested questions) does not refer to the most recen… ( #9122 )
2024-10-09 21:10:55 +08:00
pinsily
7a1da2409d
add generate conversation name error log ( #9117 )
2024-10-09 21:09:36 +08:00
Charlie.Wei
55679b4389
azure add o1-mini、o1-preview models ( #9088 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-10-09 16:15:03 +08:00
Bowen Liang
240b66d737
chore: avoid implicit optional in type annotations of method ( #8727 )
2024-10-09 14:36:43 +08:00
zhuhao
5fcd614186
feat: output the execution results of tool should only in debug mode ( #9104 )
2024-10-09 12:53:55 +08:00
zhuhao
4be1aa516c
feat: add tags for vanna tools ( #9102 )
2024-10-09 12:53:03 +08:00
zhuhao
5e250403d3
chore: add the missing tool names to the _position file ( #9099 )
2024-10-09 11:04:26 +08:00
SebastjanPrachovskij
f8af9c6ad0
refactor: Update countries & languages list for SearchApi engines ( #9090 )
2024-10-09 10:24:09 +08:00
ybalbert001
57994e4a24
fix s3 presign url check problem, support two versions(v2,v4) ( #9093 )
...
Co-authored-by: Yuanbo Li <ybalbert@amazon.com>
2024-10-09 10:23:21 +08:00
crazywoola
3a0734d94c
Feat/9081 add support for llamaguard through groq provider ( #9083 )
2024-10-09 01:00:10 +08:00
zhuhao
5b7de7705e
feat: add timestamp conversion and timestamp retrieval for time tool ( #9085 )
2024-10-08 23:25:11 +08:00
zhuhao
5213650fed
feat: update the xinf tool's API key to optional ( #9073 )
2024-10-08 19:07:53 +08:00
Infinitnet
e741ee2f45
Correct max_tokens for OpenRouter Sonnet 3.5 ( #9068 )
2024-10-08 16:06:47 +08:00
非法操作
966e65bb66
fix: zhipu ai web_search not work ( #9058 )
2024-10-08 15:36:31 +08:00
aiscrm
2ab8bc679f
fix: Missing model information in llm span of Langfuse #9029 ( #9030 )
...
Co-authored-by: corel <corelchen@qq.com>
2024-10-07 18:03:30 +08:00
zg0d233
fcfa1252a0
fix bug when adding openai or openai-compatible stt model instance ( #9006 )
2024-10-07 11:06:38 +08:00
Giannis Kepas
dc5839b6bb
feat: Update AWS Bedrock supported regions ( #8992 )
2024-10-03 15:17:28 +08:00
zhaoyi233
4373777871
Update json_in_md_parser.py ( #8983 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2024-10-03 10:20:56 +08:00
ice yao
415d27c8bf
feat(Tools): add discord incoming webhook for sending messages ( #7852 )
2024-10-02 13:18:35 +08:00