Commit Graph

138 Commits

Author SHA1 Message Date
Vinod Kiran 7006d64de0
Feature/s3 storage (#2226)
* centralizing file writing....

* allowing s3 as storage option

* allowing s3 as storage option

* update s3 storage

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-04-23 11:35:38 +01:00
Henry Heng 95beaba9d9
Chore/Update langchain version, openai, mistral, vertex, anthropic (#2180)
* update langchain version, openai, mistral, vertex, anthropic, introduced toolagent

* upgrade @google/generative-ai 0.7.0, replicate and faiss-node

* update cohere ver

* adding chatCohere to streaming

* update gemini to have image upload

* update google genai, remove aiplugin
2024-04-20 02:20:30 +01:00
YISH b7e4fc9517
Optimize `getEndingNodes` (#2133) 2024-04-19 02:12:24 +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
Vinod Kiran 658fa3984e
Feature/externalize files from chatflow - do not save as base64 (#1976)
* initial commit. Externalizing the file base64 string from flowData

* csv - docloader - Externalizing the file base64 string from flowData

* csv - docloader - Externalizing the file base64 string from flowData

* DocX - docloader - Externalizing the file base64 string from flowData

* Json - docloader - Externalizing the file base64 string from flowData

* Jsonlines - docloader - Externalizing the file base64 string from flowData

* PDF - docloader - Externalizing the file base64 string from flowData

* Vectara - vector store - Externalizing the file base64 string from flowData

* OpenAPIToolkit - tools - Externalizing the file base64 string from flowData

* OpenAPIChain - chain - Externalizing the file base64 string from flowData

* lint fixes

* datasource enabled - initial commit

* CSVAgent - agents - Externalizing the file base64 string from flowData

* Externalizing the file base64 string from flowData

* Externalizing the file base64 string from flowData

* add pnpm-lock.yaml

* update filerepository to add try catch

* Rename FileRepository.ts to fileRepository.ts

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-04-04 21:41:06 +05:30
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 c11c43cf0d
Feature/OpenAI Tool Agent (#1991)
add openai tool agent
2024-03-19 19:07:13 +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
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
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
YISH b625104433
Update index.ts 2024-03-11 20:00:43 +08:00
YISH 5f7efd3b83
Merge branch 'FlowiseAI:main' into patch-6 2024-03-11 18:22:56 +08:00
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
YISH ceebd3e11a
Update index.ts 2024-02-28 18:19:56 +08:00
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
Henry Heng a134ea85eb
Merge pull request #1419 from vinodkiran/FEATURE/Vision
FEATURE: Add Multi Modal Capabilities to Flowise
2024-02-27 11:58:47 +08:00
YISH b7d01f10a4
Update index.ts 2024-02-27 10:16:55 +08:00
YISH 6a6cfb61fc
Update index.ts 2024-02-27 10:00:09 +08:00
YISH 877c283d07
Feature: Add support for accessing NodeData via json path
Supports `{{<variableNodeId>.data.instance.pathtokey}}`
2024-02-27 09:47:18 +08:00
YISH f1c704cfd1
Feature: OverrideConfig allows partial override 2024-02-26 14:01:24 +08:00
vinodkiran 0bc85593d5 Merge branch 'main' into FEATURE/Vision
# Conflicts:
#	packages/components/nodes/agents/MRKLAgentChat/MRKLAgentChat.ts
2024-02-20 13:26:22 -08:00
Henry 6c1f0f7330 update wordings 2024-02-20 01:32:21 +08:00
Henry Heng dcb1ad15e7
Merge branch 'main' into FEATURE/Vision 2024-02-14 18:06:33 +08:00
Henry Heng 340e85da91
Merge pull request #1611 from FlowiseAI/feature/LlamaIndex
Feature/llama index
2024-02-02 20:00:21 +00:00
Henry a4131dc21b add fixes for chaining 2024-02-02 15:44:05 +00:00
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
vinodkiran eab8c19f8c Multimodal: deleting uploads on delete of all chatmessages or chatflow 2024-01-31 20:03:54 -05:00
vinodkiran aa5d1417a1 Multimodal: deleting uploads on delete of all chatmessages 2024-01-31 19:16:58 -05:00
vinodkiran e81927ee13 SpeechToText: Adding SpeechToText at the Chatflow level. 2024-01-31 07:48:38 -05:00
vinodkiran 4604594c55 SpeechToText: Adding SpeechToText at the Chatflow level. 2024-01-30 21:48:08 -05:00
Henry 2b67346ce0 add fix for not recognizing overrideConfig JSON value 2024-01-30 17:42:48 +00:00
Henry 21c47d8049 add subquery engine 2024-01-28 23:46:55 +00:00
Henry 8189f945cc Merge branch 'main' into feature/LlamaIndex
# Conflicts:
#	packages/components/nodes/agents/ConversationalAgent/ConversationalAgent.ts
#	packages/components/nodes/agents/ConversationalRetrievalAgent/ConversationalRetrievalAgent.ts
#	packages/components/nodes/agents/OpenAIAssistant/OpenAIAssistant.ts
#	packages/components/nodes/agents/OpenAIFunctionAgent/OpenAIFunctionAgent.ts
#	packages/components/nodes/chains/ConversationChain/ConversationChain.ts
#	packages/components/nodes/chains/ConversationalRetrievalQAChain/ConversationalRetrievalQAChain.ts
#	packages/components/nodes/memory/BufferMemory/BufferMemory.ts
#	packages/components/nodes/memory/BufferWindowMemory/BufferWindowMemory.ts
#	packages/components/nodes/memory/ConversationSummaryMemory/ConversationSummaryMemory.ts
#	packages/components/nodes/memory/DynamoDb/DynamoDb.ts
#	packages/components/nodes/memory/MongoDBMemory/MongoDBMemory.ts
#	packages/components/nodes/memory/MotorheadMemory/MotorheadMemory.ts
#	packages/components/nodes/memory/RedisBackedChatMemory/RedisBackedChatMemory.ts
#	packages/components/nodes/memory/UpstashRedisBackedChatMemory/UpstashRedisBackedChatMemory.ts
#	packages/components/nodes/memory/ZepMemory/ZepMemory.ts
#	packages/components/src/utils.ts
#	packages/server/marketplaces/chatflows/Long Term Memory.json
#	packages/server/src/index.ts
#	packages/server/src/utils/index.ts
2024-01-24 03:00:31 +00:00
Henry 5d25c35a1a add env path for settings json 2024-01-21 18:24:54 +00:00
Henry 953e1468bb add telemetry 2024-01-19 00:02:31 +00:00
Henry 4256655c7b add $vars and $flow to custom function 2024-01-17 23:47:11 +00:00
Henry 7ba4a063fb Merge branch 'main' into bugfix/Concurrent-Chat-Session
# Conflicts:
#	packages/components/nodes/agents/OpenAIFunctionAgent/OpenAIFunctionAgent.ts
2024-01-15 13:22:59 +00:00
Henry 02482f1b38 change agent/chain with memory to use runnable 2024-01-08 13:02:56 +00:00
Henry 8cb9393862 add fix for passing json variable 2024-01-05 02:46:36 +00:00
Henry Heng f1f2f71fe8
Merge pull request #1451 from FlowiseAI/chore/Upgrade-LC-0.0.213
Chore/update langchain version
2024-01-03 16:02:25 +00:00
Henry Heng 2ebd311016
Merge pull request #1474 from FlowiseAI/bugfix/Credential-Decrypt
Bugfix/Credential Decrypt
2024-01-03 00:44:05 +00:00
Henry 383f612e11 add check for secretkey_path 2024-01-03 00:35:55 +00:00
Henry 75b5b33d8d update langchain version 2023-12-30 12:29:00 +00:00
Henry Heng 6921967e9d
Merge pull request #1422 from FlowiseAI/feature/env-vars
Feature/Env Variables
2023-12-27 21:44:17 +00:00
Henry 6306904cfc add missing methods, abstract classes 2023-12-26 15:54:50 +00:00