2
0
Commit Graph

15 Commits

Author SHA1 Message Date
c6645d4505 🐛 Fix openai total tokens variable set when streaming 2024-07-17 14:47:12 +02:00
176e3a5fcf 🐛 (dify) Fix invalid parsing when text delta is multiline 2024-05-27 15:39:36 +02:00
a17781dfa6 Add NocoDB block (#1365)
#970 #997

Fully integrate NocoDB.

Added all API Functions:

- List Table Records
- Create Table Records
- Update Table Records
- Delete Table Records
- Read Table Record
- Count Table Records
- List Linked Records
- Link Records
- Unlink Records

Optional Todo:
- Save responses of non-get requests in a variable (error validation
try-catch is added and logged so i do not think so it is much needed)

You are free to implement any extra validation/function :D

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-05-27 10:46:42 +02:00
e1f1b58c1c 🚸 (dify) Improve error display when streaming 2024-05-25 19:59:34 +02:00
58f2e3bdeb (difyAi) Enable streaming with Dify.AI block
Closes #1281
2024-05-23 16:09:07 +02:00
7f39d5ac79 🐛 (dify) Fix conversation ID being overwritten randomly
Closes #1452
2024-04-23 11:23:04 +02:00
d96f384e02 ♻️ Migrate from got to ky (#1416)
Closes #1415
2024-04-05 09:01:16 +02:00
ccc7101dd3 🚸 (dify) Only save Conversation ID when not emp… 2024-04-04 09:25:40 +02:00
68ad0f2d4c 🚸 (dify) Auto convert non-md links to md flavoured links
Closes #1405
2024-04-03 09:21:41 +02:00
e035a54cfc 🐛 (difyAi) Fix chunk parsing
Closes #1370
2024-03-18 18:05:35 +01:00
6735eccb50 🐛 (dify) Fix issue when receiving "event" chunk 2024-02-19 09:49:15 +01:00
d171aa600c (dify) Make sure Dify also works with agent assistants 2024-02-14 08:59:05 +01:00
f5bdba53b9 🐛 (dify) Fix Dify error when inputs are empty 2024-02-12 11:41:57 +01:00
1b2876daef ️(dify) Include empty files require field
Required files variable to be sent even if empty in DifyAI v5.x+

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Refactor**
	- Enhanced chat message creation to support future file attachments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-08 17:20:53 +01:00
0817fbaebb Add Dify.AI block (#1183)
Implemented [Dify.AI](https://dify.ai) Block
- Dify Features:
-- Can Create Multiple Chat Bots
-- Assign Knowledge base/vector database to chat bots
-- Variables send by client to be used in the prompt
-- Options of custom and cloud AI LLMs to be changed with on click

- Dify API Function/Action Implemented
-- Create Chat Message (Takes in input variables, query, conversation
id, user id and returns answer, usage metadata and conversation id)

- Future Implantations with this block
-- Streaming response 
-- File Upload for GPT Vision
-- Speech to text action

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced the ability to create chat messages within the Dify
platform.
	- Added secure authentication for Dify.AI accounts.
- Implemented a new Dify.AI block with integrated chat message creation
and logo display.
	- Enabled Dify.AI block in the repository for user access.

- **Enhancements**
- Enhanced security for API key input by changing it to a password
field.

- **Documentation**
	- Included new types to support Dify AI service responses.

- **Refactor**
- Updated schema imports and array listings to include the new Dify.AI
block.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-01-29 10:52:29 +01:00