Created Langchain (flowise) (markdown)

BobMaster 2023-05-26 21:58:14 +08:00
parent 5b82ca967c
commit f913b524aa

21
Langchain-(flowise).md Normal file

@ -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"
```