remove_file_from_index
Remove a file's indexed chunks from a project's RAG index. Use to delete outdated or large files without clearing the entire project.
Instructions
Remove all indexed chunks for a specific file from a project's index. Useful for removing large log files or outdated files without clearing the entire project.
Args: file_path: Relative file path within the project (e.g., "device-26-04-28.log") project: Project name (e.g., "my_device_logs")
Returns: Confirmation with number of chunks removed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |