gk
04/01/2026, 6:19 PMAI Evy
04/01/2026, 6:19 PMAI Evy
04/01/2026, 6:19 PMknowledge_base_ids parameter [(3) ]() [(4) ]() :
json
"knowledge_base_ids": [
"kb_001",
"kb_002"
]
[(3) ]()
To control how the knowledge base retrieves information, configure the kb_config settings [(3) ]() [(4) ]() :
json
"kb_config": {
"top_k": 3,
"filter_score": 0.6
}AI Evy
04/01/2026, 6:19 PMtop_k parameter determines how many relevant documents to retrieve, and filter_score sets the minimum relevance threshold .
## Rules and Conditions in Conversation Flow
For step-by-step logic, questions, and transitions, use conversation flow nodes rather than the global prompt [(2) ]() . You can structure your agent with nodes like this [(3) ]() :
json
"nodes": [
{
"id": "start",
"type": "conversation",
"instruction": {
"type": "prompt",
"text": "Greet the customer and ask how you can help them."
}
}
]
## Best Practice Division
- **Global Prompt**: Agent's overall personality, tone, and universal rules [(2) ]()
- **Conversation Flow Nodes**: Step-by-step logic, questions, and transitions
- **Global Nodes**: Actions available anytime (e.g., "transfer to human")
You can read more about knowledge base configuration in the [Knowledge Base Guide]() referenced in the documentation [(1) ]() .AI Evy
04/01/2026, 6:19 PMAI Evy
04/01/2026, 6:19 PM