From f913b524aabe67a5e3a7d4eda865cc19cc486a48 Mon Sep 17 00:00:00 2001 From: BobMaster Date: Fri, 26 May 2023 21:58:14 +0800 Subject: [PATCH] Created Langchain (flowise) (markdown) --- Langchain-(flowise).md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Langchain-(flowise).md diff --git a/Langchain-(flowise).md b/Langchain-(flowise).md new file mode 100644 index 0000000..fc9d867 --- /dev/null +++ b/Langchain-(flowise).md @@ -0,0 +1,21 @@ +Langchain api endpoint powered by [Flowise](https://github.com/FlowiseAI/Flowise) + +sample `config.json` +```json +{ + "homeserver": "https://xxxx", + "user_id": "@lullap:xxxx", + "password": "xxxxx", + "device_id": "xxxxxx", + "flowise_api_url": "http://localhost:3000/api/v1/prediction/6deb3c89-45bf-4ac4-a0b0-b2d5ef249d21" +} +``` + +sample `.env` +```env +HOMESERVER="https://matrix.xxxxxx.xxxx" +USER_ID="@lullap:xxxxxxxxxxxxx.xxx" +PASSWORD="xxxxxxxxxxxxxxx" +DEVICE_ID="xxxxxxxxxxxxxx" +FLOWISE_API_URL="http://localhost:3000/api/v1/prediction/6deb3c89-45bf-4ac4-a0b0-b2d5ef249d21" +``` \ No newline at end of file