LangChain.ProgramTemplate (langchainex v0.2.0)

A ProgramTemplate is a template that is filled out and fed to a programming language interpreter, compiler or VM. In most cases, this means we are passing Elixir code to the BEAM. This is an example of migrating data from the AI knowledge domain to the programming domain.

Link to this section Summary

Link to this section Functions

Link to this function

can_execute(program_template)

Link to this function

execute(program_template)

Link to this function

format(template, values)

Link to this function

partial(template, partial)