Commit Graph

432 Commits

Author SHA1 Message Date
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
Octavian FlowiseAI 957694a912 feature: modularized express routes for reusability, testability, composability and performance (#2030)
* transition GET /api/v1/apikey

* transition POST /api/v1/apikey

* transition PUT /api/v1/apikey/:id

* transition DELETE /api/v1/apikey/:id

* Enable e2e tests for api/v1/apikey routes

* remove unused addChatflowsCount

* Enable e2e tests for api/v1/variables routes

* Enable Cypress in GitHub Action

* Update main.yml

* Update main.yml

* Transition GET /api/v1/variables

* Enable cypress on github workflow

* Transition POST /api/v1/variables

* Transition PUT /api/v1/variables

* Transition DELETE /api/v1/variables

* Transition GET /api/v1/variables

* Transition GET /api/v1/chatflows

* Transition GET /api/v1/chatflows/:id

* Transition POST /api/v1/chatflows

* Transition DELETE /api/v1/chatflows/:id

* Transition PUT /api/v1/chatflows/:id

* Transition GET /api/v1/chatflows/apikey/:apiKey

* Transition GET /api/v1/credentials

* Transition POST /api/v1/credentials

* Transition GET /api/v1/credentials/:id

* Transition PUT /api/v1/credentials/:id

* Transition DELETE /api/v1/credentials/:id

* Transition GET /api/v1/tools

* Transition GET /api/v1/tools/:id

* Transition POST /api/v1/tools

* Transition PUT & DELETE /api/v1/tools/:id

* Transition /api/v1/assistants routes

* Transition /api/v1/nodes routes

* Transition GET /api/v1/chatflows-streaming/:id & GET /api/v1/chatflows-uploads/:id

* wip-all-routes

* Transition GET /api/v1/public-chatflows/:id & /api/v1/public-chatbotConfig/:id

* Remove ts-ignore annotations

* Transition GET /api/v1/chatmessage/:id

* Transition POST /api/v1/chatmessage/:id

* delete /api/v1/chatmessage/:id

* transition /api/v1/feedback/:id routes

* transition /api/v1/stats/:id

* Transition GET /api/v1/openai-assistants/:id

* Transition GET /api/v1/openai-assistants

* Transition POST /api/v1/openai-assistants-file

* transition GET /api/v1/get-upload-path

* transition GET /api/v1/get-upload-file

* transition GET /api/v1/flow-config/:id

* transition POST /api/v1/node-config

* transition GET /api/v1/version

* transition GET /api/v1/fetch-links

* transition POST /api/v1/vector/upsert/:id

* transition POST /api/v1/vector/internal-upsert/:id

* transition POST /api/v1/load-prompt

* Update index.ts

* transition POST /api/v1/prompts-list

* transition predictions

* Update index.ts

* transition GET /api/v1/marketplaces/templates

* Router update modularity cleanup

* extend request interface - express namespace

* Update index.ts

* add errorMiddleware

* Add custom application error handler

* Fix pnpm lock file

* prediction return and vector upsert

* Move the getUploadsConfig into its own file

* Remove lint warnings

* fix undefined variable value

* Fix node-load-method api call

* standardize the error message display

* Apply review comment bugfixes

* Update index.ts

* standardize error message display  in snack notifications

* Error message standard in the UI

* Rename flowXpressApp to appServer

* Upload middleware fix and axios update

* fix async await

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-04-02 16:44:04 +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
Vinod Paidimarry 0c0308b9c4 BugFix/Spelling correction in telemetry payload (#2001)
spelling correction
2024-03-21 01:51:50 +08:00
Henry Heng c11c43cf0d Feature/OpenAI Tool Agent (#1991)
add openai tool agent
2024-03-19 19:07:13 +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
Henry Heng cd4c659009 Feature/Mistral FunctionAgent (#1912)
* add mistral ai agent, add used tools streaming

* fix AWS Bedrock imports

* update pnpm lock
2024-03-18 13:17:00 +08:00
vinodkiran 01559d4da3 Adding support for AzureChatOpenAI 2024-03-16 09:39:09 +05:30
Henry fa081acea0 Merge branch 'main' into feature/Indexing
# Conflicts:
#	pnpm-lock.yaml
2024-03-15 15:30:37 +08:00
Ilango 0ebfa68b93 Merge pull request #1873 from 0xi4o/feature/chatflow-configuration
Feature: Add configuration dialog for chatflow
2024-03-13 17:48:33 +05:30
Ilango 02963ce0d5 Fix warnings 2024-03-13 05:57:10 +05:30
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 0726fc3751 Merge pull request #1733 from 0xi4o/feature/chat-message-feedback
Feature: Chat message feedback
2024-03-12 16:35:43 +05:30
Henry Heng 474681e113 Merge pull request #1832 from mokeyish/patch-2
Fix the logic error of `getStartingNodes`
2024-03-12 16:49:08 +08:00
Ilango b6e0b08f92 Fix merge conflicts 2024-03-12 13:29:30 +05:30
Ilango 63d9c94048 Merge pull request #1272 from use-the-fork/maintenance/pnpm-vite-jsx
Maintenance/pnpm vite jsx (Enhancements to the Project Infrastructure)
2024-03-12 12:59:04 +05:30
Ilango 7313891ea1 Fix merge conflict 2024-03-12 12:46:25 +05:30
Henry Heng e58cf02227 Merge pull request #1834 from mokeyish/patch-4
Fix duplicated calculation of nodes and dependent nodes are not initialized
2024-03-12 14:14:00 +08:00
Ilango 150da68dc8 Fix merge conflicts 2024-03-11 22:21:25 +05:30
Ilango 2a30dbfd4c Fix issue in total feedback received stat 2024-03-11 22:00:43 +05:30
Ilango ed6b3b2a6d Update stats API - date and source filters apply to stats 2024-03-11 21:54:42 +05:30
Ilango 131eccef45 Implement chat message feedback for UI chat window 2024-03-11 21:07:20 +05:30
YISH b625104433 Update index.ts 2024-03-11 20:00:43 +08:00
Henry Heng 90d40e115f Merge pull request #1843 from mokeyish/patch-6
Fix the failure to resolve variables for OverrideConfig(Json Object)
2024-03-11 18:59:36 +08:00
Ilango 13ee0d0c7b Merge pull request #1765 from 0xi4o/feature/allowed-domains
Feature: Allowed domains for chatflows
2024-03-11 16:16:53 +05:30
Ilango ac35d5f667 Merge branch 'main' of github.com:0xi4o/Flowise into feature/chat-message-feedback 2024-03-11 16:04:47 +05:30
YISH 5f7efd3b83 Merge branch 'FlowiseAI:main' into patch-6 2024-03-11 18:22:56 +08:00
Henry Heng 33eb72f58a Merge pull request #1910 from JoeABCDEF/main
Fixed a bug about conversation dates
2024-03-11 15:47:45 +08:00
vinodkiran 2d208e1f99 Merge branch 'main' into FEATURE/Claude_vision
# Conflicts:
#	packages/components/nodes/agents/ConversationalAgent/ConversationalAgent.ts
#	packages/components/nodes/agents/MRKLAgentChat/MRKLAgentChat.ts
2024-03-11 09:50:33 +05:30
Joe d98ac8236a Fixed the issue of inconsistent date creation, if the running server and the database are in different regions, the generated date will be inconsistent, and the generated date will be inconsistent 2024-03-09 18:39:56 +08:00
automaton82 3fda7973bb Removing semicolons 2024-03-07 09:45:28 -05:00
automaton82 8c1a68a37e Fix for 1881 sorting for Flowise QnA 2024-03-07 09:15:13 -05:00
vinodkiran 63b8c23072 Addition of Claude for Image uploads 2024-03-07 18:55:24 +05:30
Henry 3b84e718a2 fix isValidAllowedOrigins check and invalid URL 2024-03-07 19:22:33 +08:00
Henry 91765c2e7b Merge branch 'main' into feature/allowed-domains 2024-03-07 18:39:46 +08:00
Ilango b804ceaa47 Add type annotation for datasource 2024-03-06 16:55:09 +05:30
vinodkiran da43fb7f44 Base changes to enable AzureChatOpenAI for image upload 2024-03-06 12:30:39 +05:30
Ilango d706ca389f Detect host from list of allowed urls even if they have http/https 2024-03-05 17:23:49 +05:30
Ilango 1721d45957 Merge branch 'main' of github.com:0xi4o/Flowise into feature/chat-message-feedback 2024-03-05 14:07:32 +05:30
Henry Heng 3834fe7fea Merge pull request #1820 from mokeyish/patch-5
Feature: Add support for accessing NodeData via json path
2024-03-01 16:41:54 +08:00
YISH 55b06f0581 Fix the failure to resolve variables for OverrideConfig(Json Object) 2024-03-01 13:38:25 +08:00
Henry 43c1d5d017 add groq 2024-02-29 03:12:11 +08:00
YISH 0b6e576fa0 Update index.ts 2024-02-28 21:30:35 +08:00
Ilango d0ddf018c7 Update access denied error message 2024-02-28 18:45:34 +05:30
YISH ceebd3e11a Update index.ts 2024-02-28 18:19:56 +08:00
Ilango e4a9ee730a Fix merge conflicts 2024-02-28 15:15:51 +05:30
YISH 8d88608a68 Fix duplicated calculation of nodes and dependent nodes are not initialized 2024-02-28 17:43:36 +08:00
YISH 3046ccc6a7 Fix the logic error of getStartingNodes 2024-02-28 15:32:00 +08:00
Ilango c684cec596 Update how chat message feedback are queried for view messages dialog 2024-02-27 16:58:13 +05:30