Skip to main content

LLMFunction

LLMFunction[prompt] represents a template for a large language model (LLM) prompt.

LLMFunction[{prompt1,prompt2,…}] represents a combination of multiple prompts.

LLMFunction[prompt,form] includes the interpreter form to apply to the response.

LLMFunction[…][params] give the LLM service response for prompt applied to parameters params.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.