Templates
Discover building blocks across the AI ecosystem. Browse by repository folder in the Templates sidebar, or search by template class, name, package, and tags.
Template to chunk a list of sentences keeping a context window Attributes: window_size (int): Total sentences per chunk overlap (int): Sentences to carry over to the…
A template for converting the color space of images within a DataContainer.
Template that assigns segmentation masks to non-regions of interest. The template assigns a zero to all the pixels not in the roi and returns an image where non-zero…
Template to perform buffering of a data packet Data is stored in a front buffer unless a trigger is set in which case, a PacketBuffer is generated, and data is stored…
Template to store story or content of packets in the generic_field as a deque. The number of inputs in the queue is set through the attributes in the template.
Base class for all Templates in Sinapsis. A template is a reusable blueprint for implementing Agent executable components. In summary, templates can encapsulate a…