Download Config/bot_flows.co from denglhs/Multimode: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/spaces/denglhs/Multimode/resolve/main/Config/bot_flows.co
- Command line
-
hf download hf://spaces/denglhs/Multimode/Config/bot_flows.co
-
curl -L -o bot_flows.co https://huggingface.co/spaces/denglhs/Multimode/resolve/main/Config/bot_flows.co
493 Bytes
| define flow self check input | |
| $allowed = execute self_check_input | |
| if not $allowed | |
| bot refuse to respond | |
| stop | |
| define flow self check output | |
| $allowed = execute self_check_output | |
| if not $allowed | |
| bot refuse to respond | |
| stop | |
| define flow user query | |
| $answer = execute user_query | |
| bot $answer | |
| define flow self check hallucinations | |
| $answer = execute rag() | |
| $check_hallucination = True | |
| bot $answer | |
| define bot refuse to respond | |
| "I'm sorry, I can't respond to that." | |