Train KB from Text
lyzr_kb_train_textIngest text chunks into a knowledge base by providing the RAG ID and array of texts. This action feeds training data to the RAG system for agent use.
Instructions
Ingest text chunks into a knowledge base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rag_id": "<rag_id>",
"texts": "<texts>"
},
"name": "lyzr_kb_train_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | Text chunks to ingest | |
| rag_id | Yes | Knowledge base id |