OpenAI GPT plugin from OpenAI to enable conversational interfaces and chatbots that can understand and respond to user inputs.
OpenAI API Key required

Version: 1.4

More info
https://openai.com/


Description:

The neoGpt plugin for VisualNEO Web integrates the power of OpenAI’s language models, making it possible to add sophisticated conversational and generative capabilities to web applications. Through this plugin, developers can implement interactive, AI-driven features that understand and respond to user input, generate images, and provide customizable responses. Here are some key functionalities and applications of the neoGpt plugin:

  1. Text Generation:
    • Using neoGptText, developers can submit a prompt and receive a text response, ideal for creating dynamic content, personalized messages, or answering user queries based on specific topics.
    • The plugin allows configuration of model creativity with neoGptSetCreativity, giving developers control over the style and randomness of responses, enabling outputs that range from straightforward answers to creative suggestions.
  2. Conversational Memory:
    • With neoGptChat, the plugin supports interactive, multi-turn conversations, where context is retained across exchanges. This feature is useful for chatbots that need to hold meaningful dialogue, remembering prior messages to respond appropriately within a session.
  3. Image Generation:
    • The neoGptImage function enables users to generate images based on descriptive text prompts. This is beneficial for creating visual content on demand, such as artwork, illustrations, or concept designs, which can enhance the visual appeal and functionality of web apps.
  4. Flexible API Configuration:
    • Users can set specific OpenAI model versions (like GPT-3.5 or GPT-4) through neoGptSetModel, enabling selection of the most suitable model for their application.
    • The plugin also allows developers to manage API usage and efficiency, making it easier to maintain cost control by adjusting the precision and depth of responses.

neoGptSetApiKey

Purpose:

Set OpenAI API Key (Use with caution)

Category:

neoGpt

Syntax:

neoGptSetApiKey "apiKey"

 

apiKey

API Key

 

neoGptSetModel

Purpose:

Set GPT model version

Category:

neoGpt

Syntax:

neoGptSetModel "modelName

 

"modelName

GPT model name (chose from list or write one)"

 

neoGptSetCreativity

Purpose:

Set the level of randomness or "creativity" in the generated text.
Higher values result in more diverse and unpredictable output. Lower values result in more conservative and predictable output.
Default value: 7

Category:

neoGpt

Syntax:

neoGptSetCreativity creativityValue

 

creativityValue

Creativity level

 

neoGptSetContext

Purpose:

Manage the length of the conversation context to maintain coherence over extended interactions

Category:

neoGpt

Syntax:

neoGptSetContext arrayVar maxLength

 

arrayVar

Array variable storing the conversation

maxLength

Maximum length of conversation history

 

neoGptText

Purpose:

Generate a text answer to a user prompt

Category:

neoGpt

Syntax:

neoGptText "promptText" returnVar callback

 

promptText

Prompt text

returnVar

Variable to store text answer

callback

Callback subroutine (optional)

 

neoGptJson

Purpose:

Generate a JSON answer to a user prompt. When using JSON mode, you must also instruct the model to produce JSON yourself via prompt.

Category:

neoGpt

Syntax:

neoGptJson "promptText" returnVar callback

 

promptText

Prompt text

returnVar

Variable to store text answer

callback

Callback subroutine (optional)

 

neoGptChat

Purpose:

Generate a text answer to a user prompt and retains conversation.
Use the first call to set the chat behaviour.

Category:

neoGpt

Syntax:

neoGptChat "promptText" returnVar arrayVar callback

 

promptText

Prompt text

returnVar

Variable to store text answer

arrayVar

Array variable to store conversation

callback

Callback subroutine (optional)

 

neoGptImage

Purpose:

Generate an Image from a user description using DallE2

Category:

neoGpt

Syntax:

neoGptImage "descriptionText" imageSize returnVar "returnFormat callbacksubroutine

 

descriptionText

Description text

imageSize

Image size

returnVar

Variable to store result

"returnFormat

Return format"

callbacksubroutine

Callback subroutine (optional)

 

neoGptImageDallE3

Purpose:

Generate an Image from a user description using DallE3

Category:

neoGpt

Syntax:

neoGptImageDallE3 "descriptionText" imgSize imgQuality imgStyle returnVar "returnFormat callbacksubroutine

 

descriptionText

Description text

imgSize

Image size

imgQuality

Image quality

imgStyle

Image style

returnVar

Variable to store result

"returnFormat

Return format"

callbacksubroutine

Callback subroutine (optional)

 

neoGptTTS

Purpose:

Turn text into lifelike spoken audio

Category:

neoGpt

Syntax:

neoGptTTS "theText" theVoice returnVar callBack

 

theText

Text to convert to spoken audio

theVoice

Choose a predefined voice

returnVar

Variable to store result

callBack

Callback subroutine (optional)

 

neoGptCreateAssistant

Purpose:

Create a new assistant with specific instructions, name, and model.
Alternatively you can use your own created on OpenAI Playground (recommended)

Category:

neoGpt

Syntax:

neoGptCreateAssistant "instructions" "assistantName" "model callback

 

instructions

Instructions for the assistant

assistantName

Name of the assistant

"model

GPT model name"

callback

Callback subroutine (optional)

 

neoGptCreateThread

Purpose:

Create a new conversation thread with OpenAI API Assistant

Category:

neoGpt

Syntax:

neoGptCreateThread returnVar callback

 

returnVar

Variable to store the thread ID

callback

Callback subroutine (optional)

 

neoGptGetAssistantResponse

Purpose:

Generate a text answer to a user prompt from a given Assistant

Category:

neoGpt

Syntax:

neoGptGetAssistantResponse "assistantId" "threadId" "messageContent" returnVar callback

 

assistantId

Assistant id

threadId

Thread id

messageContent

Prompt text

returnVar

Variable to store the retrieved messages

callback

Callback subroutine (optional)

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites