AI Plug-in

<< 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.

 

Function Summary

Complete ChatGPT prompt

Function Details

Complete ChatGPT 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
default: gpt-3.5-turbo

The specific version of the ChatGPT model being used.
Note: The supported GPT models may be deprecated in the future. Please ensure that the model you select is still supported by the ChatGPT API.
 

Options:

gpt-4o,
gpt-4o-2024-05-13,

gpt-4,
gpt-4-0613,
gpt-4-32k,
gpt-4-turbo,
gpt-4-turbo-2024-04-09,
gpt-3.5-turbo,
gpt-3.5-turbo-16k,
gpt-3.5-turbo-0613,
gpt-3.5-turbo-16k-0613,
gpt-3.5-turbo-instruct,
gpt-3.5-turbo-1106,
gpt-3.5-turbo-0125

Temperature

decimal
default: 0.7

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
default: 256

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.