Commit Graph

28 Commits

Author SHA1 Message Date
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 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
Henry Heng 7e84049990
Bugfix/Postgres migration column type (#2026)
fix postgres migration column type
2024-03-24 19:56:07 +08:00
Emrah TOY 813f622f6d
Fix #2000 (#2021)
* ChatId andSessionId returned back to varchar type.

* Will fix problems for the users whom already migrated to 1.6.2

---------

Co-authored-by: Emrah TOY <emrah.toy@mtekbilisim.com>
2024-03-23 15:11:43 +08:00
Emrah TOY ec1bbc84bc
Fix#1947 (#1960)
* Fixes #1947

* Lint fix

* fallback from timestamp with timezone to timestamp

---------

Co-authored-by: Emrah TOY <emrah.toy@mtekbilisim.com>
2024-03-19 17:57:45 +08:00
Emrah TOY c4cc13c9c7
Primary Key name must be unique
Former pk were used in AddVariables migration file
2024-03-12 22:22:59 +03:00
Ilango e4a9ee730a Fix merge conflicts 2024-02-28 15:15:51 +05:30
Ilango 336b4174dc Add migrations 2024-02-06 17:09:18 +05:30
vinodkiran d61e3d53ec SpeechToText: Adding SpeechToText at the Chatflow level. 2024-01-27 20:26:46 +05:30
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
Henry Heng da18b6a5c0
Update 1702200925471-AddVariableEntity.ts 2023-12-29 15:17:26 +00:00
vinodkiran 1d1bd4f556 Environment Variables: Dashboard along with CRUD Operations on variables. 2023-12-10 22:38:18 +05:30
vinodkiran 73f7046316 GPT Vision: Initial implementation of the OpenAI Vision API 2023-12-06 12:31:33 +05:30
Henry de7f343f90 Merge branch 'main' into FEATURE/UI-Updates
# 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
2023-11-20 12:18:23 +00:00
Henry c7add45647 add file annotations, sync and delete assistant 2023-11-20 00:55:58 +00:00
vinodkiran a7b34848cd UX Changes: Ability to set category (tags) to each chatflow; corresponding changes to table display and table search 2023-11-16 08:29:06 +05:30
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 d6cf5fed42 add chatId column 2023-09-18 21:45:51 +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 c4c007b164 add migration queries for rate limit 2023-09-09 23:25:28 +08:00
chungyau97 0d6d15ecf4 add postgres modify tool 2023-09-06 18:55:35 +08:00
chungyau97 d92ca34b00 add postgres modify credential 2023-09-06 18:48:18 +08:00
chungyau97 5facb8fba8 add postgres modify chatmessage 2023-09-06 18:43:52 +08:00
chungyau97 6f1f5ef06b add postgres modify chatflow 2023-09-06 18:37:30 +08:00
chungyau97 0e891bfb3a preserve previous user data 2023-09-05 16:13:04 +08:00
chungyau97 ae66f163de add postgresMigrations 2023-09-05 13:49:50 +08:00