Script
The path to the script to use to generate summaries. For example, you might want to use a Lua or Python script to generate summaries by using a HTTP endpoint.
The script must define a function called summarize
. This function must accept a single parameter, which is a string representing the text to generate summaries for. It must return the output summary as a string.
The Script
parameter has an effect only when the Type parameter is set to GenerativeLua
or GenerativePython
.
Type: | String |
Default: | |
Required: | Yes, when you set Type to GenerativeLua or GenerativePython . |
Configuration Section: | MyGenerativeModel |
Example: | Script=c:\QMS\scripts\summary_generator.lua
|
See Also: | RequirementsFile
Type |