@Override
public List<Embedding> getEmbeddings(Snapshot snapshot) {
// for sending atributes for LatteLexer (dynamic variables)
// may be not necessary
Document doc = snapshot.getSource().getDocument(true);
InputAttributes inputAttributes = new InputAttributes();
doc.putProperty(InputAttributes.class, inputAttributes);
TemplateEmbedder embedder = new TemplateEmbedder(snapshot);
List<Embedding> embeds = embedder.getEmbeddings();