Commit Graph

13 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
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
vinodkiran 73f7046316 GPT Vision: Initial implementation of the OpenAI Vision API 2023-12-06 12:31:33 +05:30
Henry c7add45647 add file annotations, sync and delete assistant 2023-11-20 00:55:58 +00:00
Henry b607c1228f add upload files and tool features 2023-11-09 11:55:30 +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
chungyau97 22984618ca add sqlite modify chatmessage 2023-09-05 22:02:51 +08:00
chungyau97 0e891bfb3a preserve previous user data 2023-09-05 16:13:04 +08:00
chungyau97 02924f96c8 add text into potential large column 2023-09-05 00:26:47 +08:00
chungyau97 008f1a95f1 init migration poc 2023-09-04 17:14:49 +08:00