NewFileSystemSource

class NewFileSystemSource(skillsBaseDir: String) : SkillSource

Constructors

Link copied to clipboard
constructor(skillsBaseDir: String)

Functions

Link copied to clipboard
open suspend override fun listFrontmatters(): ERROR CLASS: Symbol not found for Result<kotlin/collections/List<com/google/adk/kt/skills/Frontmatter>>

Returns the frontmatter for all available skills.

Link copied to clipboard
open suspend override fun listResources(skillName: String, resourceDirectoryPath: String): ERROR CLASS: Symbol not found for Result<kotlin/collections/List<kotlin/String>>

Returns a list of resource paths within a specific directory for a given skill.

Link copied to clipboard
open suspend override fun loadFrontmatter(skillName: String): ERROR CLASS: Symbol not found for Result<com/google/adk/kt/skills/Frontmatter>

Loads the frontmatter for a single skill by name.

Link copied to clipboard
open suspend override fun loadInstructions(skillName: String): ERROR CLASS: Symbol not found for Result<kotlin/String>

Loads the instruction body for a single skill by name.

Link copied to clipboard
open suspend override fun loadResource(skillName: String, resourcePath: String): ERROR CLASS: Symbol not found for Result<kotlin/ByteArray>

Loads a specific resource file for a given skill.