Skip to content

Generic Options

llm-exe attempts to normalize the inputs for various llm vendors, providing a single interface that can be used to interact with different models. While this is not always possible, since certain vendors may implement seatures that others don't support, either way only the allowed options make it to the respective api calls.

Options

OptionTypeDefaultDescription
timeoutnumber30000Max execution time of API call to the LLM, in milliseconds.
maxDelaynumber5000Used for retry back-off. Max time to wait between attempts when timeout has been reached, in milliseconds.
numOfAttemptsnumber0Used for retry. How many attempts should be made before throwing error
jitter"none" | "full"noneUsed for retry back-off.
temperaturenumber0Used by model.
maxTokensnumber500Used by model.
streamboolean | nullnullNote: Not supported

NOTE

Different vendors will allow (and may require) additional options.