OptionalmaxMaximum length of the generated summary (characters)
OptionalllmModel to use for summarization (from the AI SDK)
OptionaltemperatureTemperature for the LLM generation (0.0 to 1.0)
OptionalformatFormat for the summary (paragraph, bullet, structured)
OptionalfocusFocus areas for the summary (aspects to emphasize)
OptionalincludeWhether to include citations in the summary
OptionalincludeWhether to add the summary to the final results
OptionalcustomCustom prompt for summary generation
OptionaladditionalAdditional instructions for summary generation
OptionalretryRetry configuration for LLM calls
OptionalmaxRetries?: numberMaximum number of retries
OptionalbaseDelay?: numberBase delay between retries in ms
Options for the summarization step