Class swarmauri_core.prompt_templates.IPromptTemplate.IPromptTemplate
    
              Bases: ABC
Interface for template-based prompt generation within the SwarmAURI framework. Defines standard operations and attributes for managing and utilizing templates.
abstractmethod
  
set_template(template)
Sets or updates the current template string.
| PARAMETER | DESCRIPTION | 
|---|---|
| template | The new template string to be used for generating prompts. 
                  
                    TYPE:
                       | 
Source code in swarmauri_core/prompt_templates/IPromptTemplate.py
              | 19 20 21 22 23 24 25 26 27 |  | 
abstractmethod
  
set_variables(variables={})
Sets or updates the variables to be substituted into the template.
| PARAMETER | DESCRIPTION | 
|---|---|
| variables | A dictionary of variables where each key-value pair corresponds to a placeholder name and its replacement value in the template. 
                  
                    TYPE:
                       | 
Source code in swarmauri_core/prompt_templates/IPromptTemplate.py
              | 29 30 31 32 33 34 35 36 37 38 39 40 41 |  | 
abstractmethod
  
generate_prompt(**kwargs)
Generates a prompt string based on the current template and provided keyword arguments.
| PARAMETER | DESCRIPTION | 
|---|---|
| **kwargs Dict[str, Any] | Keyword arguments containing variables for template substitution. 
 | 
| RETURNS | DESCRIPTION | 
|---|---|
| str | The generated prompt string with template variables replaced by their
 corresponding values provided in  
                  
                    TYPE:
                       | 
Source code in swarmauri_core/prompt_templates/IPromptTemplate.py
              | 43 44 45 46 47 48 49 50 51 52 53 54 55 |  |