ingestFile
Upload and process files into a specified namespace, supporting multiple formats with automatic parsing. Configure chunking and metadata for organized content management.
Instructions
Ingests a file into the namespace. Supports various file formats with automatic parsing.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
chunkConfig | No | Optional Chunk config. When not passed, default chunk config will be used. | |
file | Yes | ||
metadata | No | ||
namespaceId | No | ||
tenantId | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"chunkConfig": {
"additionalProperties": false,
"description": "Optional Chunk config. When not passed, default chunk config will be used.",
"properties": {
"chunkOverlap": {
"type": "number"
},
"chunkSize": {
"type": "number"
}
},
"required": [
"chunkSize",
"chunkOverlap"
],
"type": "object"
},
"file": {},
"metadata": {
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"type": "object"
},
"namespaceId": {
"type": "string"
},
"tenantId": {
"type": "string"
}
},
"required": [
"file"
],
"type": "object"
}