Script

The path to the script to use to generate your embeddings. For example, you might want to use your Lua script to obtain embeddings from a HTTP endpoint.

The script must define a function called generateembeddings. This function must accept a single parameter, which is a string representing the text to generate embeddings for.

The function must return a table of tables, where each inner table contains floating point numbers. Each inner table therefore corresponds to a vector for that text.

This parameter has an effect only when the Type parameter is set to Lua.

Type: String
Default:  
Required: Yes, when you set Type to Lua.
Configuration Section: Embeddings
Example: Script=c:\QMS\scripts\embeddings_generator.lua
See Also: Type