Query Manipulation Server 25.3
Query Manipulation Server Help

# 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

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Query Manipulation Server 25.3

Topic Title: Script