Download Aitherapyy.jsonl from focus1AI/AItherapy: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/focus1AI/AItherapy/resolve/main/Aitherapyy.jsonl
- Command line
-
hf download hf://focus1AI/AItherapy/Aitherapyy.jsonl
-
curl -L -o Aitherapyy.jsonl https://huggingface.co/focus1AI/AItherapy/resolve/main/Aitherapyy.jsonl
1.35 kB
| async function query(data) { | |
| const response = await fetch( | |
| "https://cloud.flowiseai.com/api/v1/prediction/a5bdff45-1ec4-4ab0-a58b-f39b423f1a05", | |
| { | |
| headers: { | |
| Authorization: "Bearer 3yPns_cUcWpdEGc9bXZ4iA2JM-ZxZZVH8MLf1DuztS8", | |
| "Content-Type": "application/json" | |
| }, | |
| method: "POST", | |
| body: JSON.stringify(data) | |
| } | |
| ); | |
| const result = await response.json(); | |
| return result; | |
| } | |
| query({"question": "Hey, how are you?"}).then((response) => { | |
| console.log(response); | |
| }); | |
| async function query(data) { | |
| const response = await fetch( | |
| "https://cloud.flowiseai.com/api/v1/prediction/a5bdff45-1ec4-4ab0-a58b-f39b423f1a05", | |
| { | |
| headers: { | |
| Authorization: "Bearer 3yPns_cUcWpdEGc9bXZ4iA2JM-ZxZZVH8MLf1DuztS8", | |
| "Content-Type": "application/json" | |
| }, | |
| method: "POST", | |
| body: JSON.stringify(data) | |
| } | |
| ); | |
| const result = await response.json(); | |
| return result; | |
| } | |
| query({ | |
| "question": "Hey, how are you?", | |
| "overrideConfig": { | |
| "aiName": "example", | |
| "aiRole": "example", | |
| "maxLoop": 1, | |
| "openAIApiKey": "example", | |
| } | |
| }).then((response) => { | |
| console.log(response); | |
| }); |