<< Click to Display Table of Contents >> RayQC > 8.0 > User Guide > Plug-ins > Internal Plug-ins AI Plug-in |
The AI Plug-in allows generating element values by using a prompt.
Creates a GPT-based response using the provided prompt, which can be entered as text or linked from another element.
Usable in combination with elements of type Data Field and Multi-Option.
Input parameters |
||
Name |
Type |
Description & Examples |
Prompt |
string |
The initial text or query provided to the AI plugin to generate a response. It sets the context and direction for the conversation or output. |
API key |
string default: system variable "OPENAI_API_KEY"
|
A unique identifier used to authenticate and authorize access to the ChatGPT API.
Example: sk-abc123def456gh789ijk |
ChatGPT model |
string |
The specific version of the ChatGPT model being used. Options: gpt-4o, gpt-4, |
Temperature |
decimal |
A setting that controls the randomness of AI responses. Higher values (closer to 1) make outputs more creative, while lower values (closer to 0) make them more focused and deterministic. |
Max tokens |
number |
The maximum number of tokens (words or parts of words) that can be used in the response. This limits the length of the output generated by the AI. |