Skip to content

Resource Management ​

RuoYi AI documentation

This guide covers RuoYi AI. Report documentation problems through an issue.

Overview ​

AI applications use uploaded files, links, data sources, knowledge attachments, generated media, skill outputs, and tool resources. These capabilities currently reside in OSS, knowledge attachments, conversation messages, media generation, and skill directories. This page proposes a unified resource center; it does not describe an existing resource-center screen.

Resource types ​

TypeExamplesRelated modules
FilesUploaded documents and generated Word, Excel, or PDF filesKnowledge, skills, conversations
MediaImages, audio, videoMultimodal services
Knowledge attachmentsOriginal documents and chunksKnowledge management
Tool resourcesMCP server configurations and marketplace sourcesTool management
Workflow resourcesInput files and run outputsOrchestration
External sourcesDatabases, APIs, GitHub repositoriesAgents and knowledge bases

A unified list and its screenshot can be added when the interface is implemented. Resources currently remain in their respective modules.

Suggested fields ​

FieldMeaning
resource_idResource ID
resource_typefile, media, knowledge, tool, workflow, or datasource
nameResource name
uriOSS address, local path, or external URL
mime_typeFile MIME type
owner_typeuser, tenant, agent, or workflow
owner_idOwning entity's ID
metadataPage count, dimensions, model, chunk count, and other metadata
statusUploading, available, processing, failed, or archived

Lifecycle ​

text
创建 -> 上传/生成 -> 解析/处理 -> 绑定业务 -> 使用 -> 归档/删除
  • Keep original knowledge documents linked to their chunks.
  • Record the model, prompt, and task ID for generated media.
  • Link skill artifacts to their conversation and execution log.
  • Record credential references for external resources without displaying secrets.

Planned additions ​

AreaIntended scope
PreviewOnline document, image, audio, and video previews
PermissionsUser, role, and tenant access controls
AuditingDownload, share, delete, and external-send records
CleanupTemporary-file expiration and orphan-resource detection