Commit Graph

54 Commits

Author SHA1 Message Date
Henry Heng 8ebc4dcfd5 Feature/lang graph (#2319)
* add langgraph

* datasource: initial commit

* datasource: datasource details and chunks

* datasource: Document Store Node

* more changes

* Document Store - Base functionality

* Document Store Loader Component

* Document Store Loader Component

* before merging the modularity PR

* after merging the modularity PR

* preview mode

* initial draft PR

* fixes

* minor updates and  fixes

* preview with loader and splitter

* preview with credential

* show stored chunks

* preview update...

* edit config

* save, preview and other changes

* save, preview and other changes

* save, process and other changes

* save, process and other changes

* alpha1 - for internal testing

* rerouting urls

* bug fix on new leader create

* pagination support for chunks

* delete document store

* Update pnpm-lock.yaml

* doc store card view

* Update store files to use updated storage functions, Document Store Table View and other changes

* ui changes

* add expanded chunk dialog, improve ui

* change throw Error to InternalError

* Bug Fixes and removal of subFolder, adding of view chunks for store

* lint fixes

* merge changes

* DocumentStoreStatus component

* ui changes for doc store

* add remove metadata key field, add custom document loader

* add chatflows used doc store chips

* add types/interfaces to DocumentStore Services

* document loader list dialog title bar color change

* update interfaces

* Whereused Chatflow Name and Added chunkNo to retain order of created chunks.

* use typeorm order chunkNo, ui changes

* update tabler icons react

* cleanup agents

* add pysandbox tool

* add abort functionality, loading next agent

* add empty view svg

* update chatflow tool with chatId

* rename to agentflows

* update worker for prompt input values

* update dashboard to agentflows, agentcanvas

* fix marketplace use template

* add agentflow templates

* resolve merge conflict

* update baseURL

---------

Co-authored-by: vinodkiran <vinodkiran@usa.net>
Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
2024-05-21 16:36:42 +01:00
Henry Heng 8caca472ba Feature/Add prepend messages to memory (#2410)
add prepend messages to memory
2024-05-20 17:08:34 +01:00
Vinod Kiran 40e36d1b39 Feature/DocumentStore (#2106)
* datasource: initial commit

* datasource: datasource details and chunks

* datasource: Document Store Node

* more changes

* Document Store - Base functionality

* Document Store Loader Component

* Document Store Loader Component

* before merging the modularity PR

* after merging the modularity PR

* preview mode

* initial draft PR

* fixes

* minor updates and  fixes

* preview with loader and splitter

* preview with credential

* show stored chunks

* preview update...

* edit config

* save, preview and other changes

* save, preview and other changes

* save, process and other changes

* save, process and other changes

* alpha1 - for internal testing

* rerouting urls

* bug fix on new leader create

* pagination support for chunks

* delete document store

* Update pnpm-lock.yaml

* doc store card view

* Update store files to use updated storage functions, Document Store Table View and other changes

* ui changes

* add expanded chunk dialog, improve ui

* change throw Error to InternalError

* Bug Fixes and removal of subFolder, adding of view chunks for store

* lint fixes

* merge changes

* DocumentStoreStatus component

* ui changes for doc store

* add remove metadata key field, add custom document loader

* add chatflows used doc store chips

* add types/interfaces to DocumentStore Services

* document loader list dialog title bar color change

* update interfaces

* Whereused Chatflow Name and Added chunkNo to retain order of created chunks.

* use typeorm order chunkNo, ui changes

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-05-06 15:23:27 +01:00
Ilango db452cd74d Feature: Collect contact information from users inside the chatbot (#1948)
* Add leads settings to chatflow configuration

* Add leads tab to chatflow configuration with options for lead capture

* Add database entity and migrations for leads

* Add endpoint for adding and fetching leads

* Show lead capture form in UI chat window when enabled

* Add view leads dialog

* Make export leads functional

* Add input for configuring message on successful lead capture

* Add migrations for adding lead email in chat message if available

* show lead email in view messages

* ui touch up

* Remove unused code and update how lead email is shown in view messages dialog

* Fix lead not getting saved

* Disable input when lead form is shown and save lead info to localstorage

* Fix lead capture form not working

* disabled lead save button until at least one form field is turned on, get rid of local storage _LEAD

* add leads API to as whitelist public endpoint

* Send leadEmail in internal chat inputs

* Fix condition for disabling input field and related buttons when lead is enabled/disabled and when lead is saved

* update leads ui

* update error message and alter table add column sqlite migration

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-05-02 01:54:59 +01:00
Henry Heng c33642cdf9 Feature/Buffer Memory SessionId (#2111)
* add sessionId to buffer memory, add conversation summary buffer memory

* add fix for conv retrieval qa chain
2024-04-11 11:18:39 +01:00
Henry Heng e422ce287b Feature/Indexing (#1802)
* indexing

* fix for multiple files upsert

* fix default Postgres port

* fix SQLite node description

* add MySQLRecordManager node

* fix MySQL unique index

* add upsert history

* update jsx ui

* lint-fix

* update dialog details

* update llamaindex pinecone

---------

Co-authored-by: chungyau97 <chungyau97@gmail.com>
2024-04-02 23:47:19 +01:00
Ilango e4a9ee730a Fix merge conflicts 2024-02-28 15:15:51 +05:30
Ilango 3bb2b39896 Fix merge conflict and update how feedback is saved/retrieved 2024-02-20 14:38:36 +05:30
Ilango 26d5d6d6a2 Save feedback id to message and update feedback 2024-02-15 15:13:47 +05:30
Ilango 7d00f6fbe9 Add database entity for chat message feedback 2024-02-06 17:07:22 +05:30
Henry 9cd0362f24 Merge branch 'main' into FEATURE/Vision
# Conflicts:
#	packages/components/nodes/chains/ConversationChain/ConversationChain.ts
#	packages/server/src/index.ts
#	packages/server/src/utils/index.ts
2024-02-02 02:54:06 +00:00
Henry 398a31f426 UI touchup 2024-01-17 00:39:14 +00:00
Henry 7f15494d60 Merge branch 'main' into FEATURE/Vision
# Conflicts:
#	packages/server/src/database/migrations/mysql/index.ts
#	packages/server/src/database/migrations/postgres/index.ts
#	packages/server/src/database/migrations/sqlite/index.ts
2024-01-08 16:15:22 +00:00
vinodkiran 60800db347 Merge branch 'main' into FEATURE/Vision
# Conflicts:
#	packages/server/src/index.ts
#	packages/ui/src/views/chatmessage/ChatMessage.js
2023-12-15 13:26:49 +05:30
vinodkiran 1d1bd4f556 Environment Variables: Dashboard along with CRUD Operations on variables. 2023-12-10 22:38:18 +05:30
Henry d2d21c45fe fix upser vector API 2023-12-08 18:51:40 +00:00
vinodkiran dc265eb472 Merge branch 'main' into FEATURE/Vision
# Conflicts:
#	packages/server/src/index.ts
2023-12-06 12:33:56 +05:30
vinodkiran 73f7046316 GPT Vision: Initial implementation of the OpenAI Vision API 2023-12-06 12:31:33 +05:30
Henry 0ee47c2ccf remove import/export database 2023-11-28 16:58:16 +00:00
Henry 3638485d1b Merge branch 'main' into feature/VectorStoreRevamp 2023-11-22 19:49:55 +00:00
Henry c7add45647 add file annotations, sync and delete assistant 2023-11-20 00:55:58 +00:00
Henry 44cadc1cc3 add vector upsert ability 2023-11-16 18:34:17 +00:00
Henry b607c1228f add upload files and tool features 2023-11-09 11:55:30 +00:00
Henry 0f293e5a59 add openai assistant 2023-11-07 20:45:25 +00:00
chungyau97 43a117c39e Merge branch 'main' into feature/ChatHistory2 2023-10-22 07:29:24 +08:00
Henry f42a2d3387 add in-mem llm cache 2023-10-11 19:54:10 +01:00
chungyau97 d6cf5fed42 add chatId column 2023-09-18 21:45:51 +08:00
chungyau97 7b54f17a58 modify addChatMessage 2023-09-15 21:25:28 +08:00
chungyau97 bc7d95cf9d add migration query for chat history 2023-09-14 14:50:56 +08:00
Henry d19f72db6f add analytic 2023-09-11 23:44:20 +01:00
chungyau97 34dd7a3a3d modify rateLimit data storage 2023-09-02 14:59:33 +08:00
chungyau97 1b75121d5e init rateLimiter 2023-08-30 21:35:16 +08:00
Henry 9daaef7583 removing child mode 2023-08-11 19:06:05 +01:00
Henry 53cb3c3251 add multi config 2023-07-31 23:18:07 +01:00
Henry 413d654493 add credentials 2023-07-15 14:25:52 +01:00
Henry 1d74473ef3 update deployed as nullable 2023-07-05 18:50:09 +01:00
Henry 9bca78b66a add nullable to isPublic 2023-07-05 18:27:02 +01:00
Henry 636ad5dc0c add deployed boolean back 2023-07-05 18:14:54 +01:00
Henry c8ba8e2aee add tools marketplace 2023-07-01 23:59:51 +01:00
Henry 7141401e26 fix bug where share chatflow is not able to open on any other browser 2023-06-29 23:47:20 +01:00
Henry e554ac54dd add full page chatbot and react chatbot 2023-06-26 02:37:40 +01:00
Henry 70da39629c add custom tool 2023-06-21 18:31:53 +01:00
Jeffrey-Wang fe6737a6cb fix: childprocess chatId. 2023-06-12 21:52:46 +08:00
Henry b071790a5a add return source documents functioanality 2023-06-08 23:51:34 +01:00
Henry e89785080b enable streaming 2023-05-22 17:16:21 +01:00
Henry 205de44234 add child processes 2023-05-15 23:49:14 +01:00
Henry 6ab1ff1062 add functionality to export and load database 2023-05-14 20:33:43 +01:00
Henry 8d3a374257 add api config 2023-05-04 18:44:51 +01:00
Henry 2a98c9510f add API authorization 2023-04-29 18:01:40 +01:00
Henry df7a3995cd add chatpools data 2023-04-19 23:31:41 +01:00