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