InteractionTemplate

Summary

An artifact that defines the structure, formatting, and variable placeholders for AI model interactions.

Description

Represents a parameterized template specification used to construct prompts, payloads, or structured requests for AI models. It supports flexible template instantiation through either a raw text string with placeholder syntax or a structured dictionary of variables and configuration parameters.

If the template’s role is:

  • Inference (chat) template: from /AI/AIPackage or /AI/AIAgent via a /Core/LifecycleScopedRelationship with relationshipType = 'configures'. The scope = 'runtime', and to a class of type /AI/InteractionTemplate.
  • training template: from /AI/AIPackage or /AI/AIAgent via a /Core/LifecycleScopedRelationship with relationshipType = 'trainedOn'. The scope = 'runtime', and to a class of type /AI/InteractionTemplate.
  • pretrained template: from /AI/AIPackage or /AI/AIAgent via a /Core/LifecycleScopedRelationship with relationshipType = 'pretrainedOn'. The scope = 'runtime', and to a class of type /AI/InteractionTemplate.
  • finetuned template: from /AI/AIPackage or /AI/AIAgent via a /Core/LifecycleScopedRelationship with relationshipType = 'finetunedOn'. The scope = 'runtime', and to a class of type /AI/InteractionTemplate.

Metadata

https://spdx.org/rdf/3/terms/AI/InteractionTemplate

Name InteractionTemplate
Instantiability Concrete
SubclassOf /Core/Artifact

Class hierarchy

/Core/Element
       /Core/Artifact
             /AI/InteractionTemplate

Properties

Property Type minCount maxCount
interactionTemplateDictionary /Core/DictionaryEntry 0 *
interactionTemplateString xsd:string 0 1

All properties

Property Type minCount maxCount
builtTime DateTime 0 1
comment xsd:string 0 1
creationInfo CreationInfo 1 1
description xsd:string 0 1
extension Extension 0 *
externalIdentifier ExternalIdentifier 0 *
externalRef ExternalRef 0 *
intendedUse xsd:string 0 1
interactionTemplateDictionary DictionaryEntry 0 *
interactionTemplateString xsd:string 0 1
name xsd:string 0 1
originatedBy Agent 0 *
releaseTime DateTime 0 1
spdxId xsd:anyURI 1 1
standardName xsd:string 0 *
summary xsd:string 0 1
suppliedBy Agent 0 1
supportLevel SupportType 0 *
validUntilTime DateTime 0 1
verifiedUsing IntegrityMethod 0 *