Action fastline_search
System ID:
action_fastline_search
Description
Fast Line: vector search in the knowledge base only — without AI text generation. Stores the best answer in a constant (fastline_search_best_result or save_response), and the full list in fastline_search_result.
Events (scenario branches)
| Event | When it occurs |
|---|---|
| success | Search completed (result may be empty) |
| error | No text to search |
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
user_input |
string | no | null |
Question; otherwise — fastline_search_request or message text |
bot_id |
string / number | no | current bot | Bot to search |
provider |
string | no | null |
Provider for vectorization |
model |
string | no | null |
Vectorization model |
apiKey |
string | no | null |
Key (also openai_token) |
customConfig |
object | no | null |
Additional search configuration |
limit |
number | no | null |
Maximum results |
category |
string | no | null |
Category filter |
max_distance |
number | no | null |
Distance threshold |
save_response |
string | no | "fastline_search_best_result" |
Constant for the best answer |
Configuration example
{
"user_input": "{{user_question}}",
"category": "support",
"max_distance": 0.3,
"limit": 5,
"save_response": "best_answer"
}