Commit Graph

24 Commits (bugfix/HuggingFace-Custom-Endpoint)

Author SHA1 Message Date
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 ad8141e078 Apache License 2.0 2023-09-08 11:49:22 +01:00
Henry Heng 7a3a5fe367
Merge pull request #627 from xiexin12138/feature/i18n
Translate the Readme file into Simplified Chinese
2023-08-01 01:38:32 +01:00
Henry 61dabbb7da Merge branch 'main' into feature/Credential
# Conflicts:
#	README.md
#	docker/.env.example
#	packages/components/nodes/documentloaders/Notion/NotionDB.ts
#	packages/components/nodes/memory/DynamoDb/DynamoDb.ts
#	packages/components/nodes/memory/MotorheadMemory/MotorheadMemory.ts
#	packages/components/nodes/memory/ZepMemory/ZepMemory.ts
#	packages/components/package.json
#	packages/components/src/utils.ts
#	packages/server/.env.example
#	packages/server/README.md
#	packages/server/marketplaces/chatflows/Conversational Retrieval QA Chain.json
#	packages/server/src/ChildProcess.ts
#	packages/server/src/DataSource.ts
#	packages/server/src/commands/start.ts
#	packages/server/src/index.ts
#	packages/server/src/utils/index.ts
#	packages/server/src/utils/logger.ts
2023-07-27 11:26:34 +01:00
xiexin12138 6c1dff8aa3 My native language is Simplified Chinese, so the i18n process is divided into stages. Currently, the Readme file is being translated into Chinese, and later on, i18next and react-i18next will be used for multilingual support. 2023-07-27 17:21:39 +08:00
Atish Amte fe7e0d10f5
Merge branch 'main' into feature/FlowiseMultiDatabaseSupport 2023-07-18 23:56:41 +05:30
Atish Amte c5eff32cf0 Multiple Database Support 2023-07-18 23:52:16 +05:30
Henry 13622ba0ae Merge branch 'main' into bugfix/VM2-Security
# Conflicts:
#	docker/docker-compose.yml
2023-07-17 20:31:19 +01:00
Henry 745a42224f update docs on Docker env path 2023-07-17 20:02:04 +01:00
Henry ef28e26c88 Merge branch 'bugfix/LogPath' into bugfix/VM2-Security
# Conflicts:
#	README.md
#	packages/server/README.md
2023-07-17 18:49:30 +01:00
Henry 25b160261a update README 2023-07-17 18:25:53 +01:00
Henry 551b0d515a update log path 2023-07-17 15:53:53 +01:00
Henry 0665dcef55 update Readme 2023-07-16 14:55:03 +01:00
Henry 7ec8f8ea28 address vm2 security 2023-07-16 14:32:47 +01:00
Henry 6d2dae1a81 update README 2023-07-15 23:58:04 +01:00
Henry 8ad870ba26 update README 2023-07-11 02:12:54 +01:00
Henry a0ddad8e52 update README 2023-06-26 19:26:13 +01:00
Henry 8745776342 add env variables 2023-06-23 23:03:53 +01:00
Henry dd328dcd51 add db_path 2023-06-22 15:47:03 +01:00
Henry 0f0d887f78 change USERNAME and PASSWORD to FLOWISE_USERNAME and FLOWISE_PASSWORD to prevent conflict with machine env variables 2023-05-27 20:23:18 +01:00
Henry 02ebaa9cab add readme 2023-05-13 23:33:44 +01:00
Henry fec13328a6 update Discord link 2023-04-23 12:34:31 +01:00
Henry 02d8284f58 Update README 2023-04-11 10:41:46 +01:00
Henry 05c86ff9c5 Initial push 2023-04-06 22:17:34 +01:00