How to create a global flow #310
-
Hello! Is there a way to force all users to pass through a flow? This is my flow:
I want everything to go through |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @megh-khaire! This should work with a small tweak. The
Now, if you do just that, you will see that it will make an LLM call to determine the canonical form, which you don't need in your case. To overcome this, you can set the following flag:
With this setting, for every user message, the canonical form will be determined purely based on the embedding, and it will only be the same, i.e., Let me know if this works for you. |
Beta Was this translation helpful? Give feedback.
Hi @megh-khaire! This should work with a small tweak. The
user ...
matches all user canonical forms. But in your case you don't have any defined. So, if you go ahead and define at least one, it should start working, e.g.Now, if you do just that, you will see that it will make an LLM call to determine the canonical form, which you don't need in your case. To overcome this, you can set the following flag:
With this setting, for every user message, the canonical form will be determined purely based on the embedding, and it will only be the same, i.e.,
user says something
.Let me know if this …