LLMEvaluator
is an option for functions such as LLMSynthesize that specifies the LLM configuration.
Details
- LLMEvaluator is generally set to an LLMConfiguration, or an association that can be used to construct an LLMConfiguration.
Examples
open allclose allBasic Examples (3)
Scope (9)
Specify a token limit to the LLM-generated text:
Specify the service and the model to use for the generation:
Specify several prompts and how to join them together before submitting them to the LLM:
Specify that the sampling should be performed at zero temperature:
Specify the maximum cumulative probability before cutting off the distribution (aka nucleus sampling):
Specify the number of top-probability tokens to sample from:
Specify one or more alternative strings that will stop the LLM generation process:
Specify a tool that the LLM can call if needed:
Specify that tool calls should attempt to use the native API mechanism:
Text
Wolfram Research (2023), LLMEvaluator, Wolfram Language function, https://reference.wolfram.com/language/ref/LLMEvaluator.html.
CMS
Wolfram Language. 2023. "LLMEvaluator." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LLMEvaluator.html.
APA
Wolfram Language. (2023). LLMEvaluator. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LLMEvaluator.html