Thumbnail

Openai Chatgpt

by OpenAI

Chat GPT is OpenAI’s most advanced system, producing safer and more useful responses for your robot

How to add the Openai Chatgpt robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Artificial Intelligence category tab.
  5. Press the Openai Chatgpt icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the Openai Chatgpt robot skill.

How to use the Openai Chatgpt robot skill

Use Chat GPT with your robot. Give your robot a personality and conversational ability. This robot skill adds chatbot capability to your robot so you can have meaningful conversations that it will remember. Configure the personality in any way you wish so the robot can prefer specific subjects or have particular opinions.

OpenAI’s mission is to ensure that artificial intelligence benefits all of humanity. This effort is essential to training AI systems to do what humans want. A Generative Pre-trained Transformer is an unsupervised Transformer language model commonly known by its abbreviated form Chat GPT robot skill. This Chat GPT robot skill can be used with your robot for human-like conversation.

ChatGPT is an advanced language model developed by OpenAI based on the Generative Pre-trained Transformer (GPT) architecture. It is designed to understand and generate human-like text, enabling it to engage in conversations, answer questions, and provide information naturally and intuitively for users.

Check Open AI Server Status

If you experience issues with server responses, check the Open AI status page to see if everything is operational. The page can be found here: https://status.openai.com/

Use in Robotics

In robotics, integrating ChatGPT into a robot skill allows the robot to leverage natural language processing (NLP) capabilities. This can enhance the robot's interactivity and functionality in various ways:

1. Human-Robot Interaction: ChatGPT can facilitate communication between humans and robots. Users can speak or type commands and questions in natural language, and the robot can respond appropriately, making the interaction more accessible and user-friendly.

2. Task Automation: Robots equipped with ChatGPT can interpret complex instructions given in natural language and translate them into specific actions. For example, a user could tell the robot to "pick up the red block and place it on the shelf," and the robot would understand the task and execute it.

3. Customer Service: In a service-oriented setting, robots can use ChatGPT to provide customer assistance and information. They can answer questions, guide users through processes, and provide personalized recommendations.

4. Education and Entertainment: ChatGPT can make educational and entertainment robots more engaging by enabling them to carry on conversations, tell stories, or even conversationally teach lessons.

5. Accessibility: For users with disabilities, ChatGPT can make robots more accessible by allowing them to be controlled through natural language commands, removing the need for physical interaction with control interfaces.

6. Data Collection: Robots can use ChatGPT to conduct surveys or gather feedback through conversation, providing a friendly and interactive way for users to share information.

When integrating ChatGPT into the Synthiam platform, it is essential to consider the specific use cases for the robot skill to handle the expected types of interactions. This may involve training the model on domain-specific data or setting up predefined responses for specific queries to ensure the robot can handle tasks effectively and provide accurate information.

Screenshot

User-inserted image

Disclaimer

Open AI's Chat GPT should not be used as a source of facts or information to help you make life decisions. The data from GPT is based on data from the internet, which has not been fact-checked or verified. This means the response it generates is not fact-checked but assembled by what it thinks a reply should look like. In short, Open AI prioritizes a response based on statistical popularity and sentence structure, not facts.

*Note: Open AI responses should be treated as fiction.

Configuration

The configuration menu has several options. You can add keywords with associated scripts that execute with responses from the Bot. You can also have a script that runs every response received. By default, the All Responses script will speak the response out of the PC speaker.

Words in the "Contains" a comma can separate the list. The words are compared against the response. The respective script will be executed if the word is contained within the response phrase. User-inserted image

Default Script User-inserted image By default, the All Responses script from the script tab will speak the response from the PC speaker. If you use an EZB that supports audio output, the command can be edited to Audio.sayEZB() to speak out of the EZB.

Variables Variables store the user's request and the bot's response. This allows the robot to speak the response defaulted in the All Response scripts. User-inserted image

Settings The settings tab has options for configuring the bot behavior and the API key. Obtain an API Key from the OpenAI website and paste it into the appropriate box. When choosing a model, view the pricing and details on their website here: https://openai.com/api/pricing/

If you receive an error that a GPT model does not exist, chances are it has been removed from Open AI API and is no longer accessible.

Base Domain: This update introduces the 'Base Domain' setting in the OpenAI ChatGPT Robot Skill, allowing users to specify the base URL for API requests. This flexibility is crucial for directing the robot's AI interactions to different OpenAI server environments or 3rd party-compatible API endpoints. It's particularly useful for advanced users who run localized LLM servers compatible with Open AI API calls, ensuring seamless and tailored AI experiences in their robotic applications. User-inserted image

Custom GPT Model Open AI hosts many language models, some of which are experimental. You can view the list of models here: https://platform.openai.com/docs/models. Select OTHER from the drop-down menu to use a model and enter the custom model in the textbox below. User-inserted image

Best Match The "Best Match" feature in the OpenAI ChatGPT robot skill is a powerful tool designed to enhance the interactivity and responsiveness of your robot. This feature allows the robot to execute specific scripts or actions based on the context and content of the conversation. It matches phrases from the conversation with a pre-defined list of keywords or phrases, each associated with a corresponding script.

This list of words/phrases will be used to guess the best match based on the conversation. This allows your robot to execute a script matching the conversation's subject or tone. The robot can act on being sad or happy based on the type of conversation. Or have the robot dance when discussing a party or favorite music. A few examples provide suggestions for scripts to associate with them.

There is an option to determine what input the match should be based on. By default, the match will use the AI response to provide the most accurate interactive responses. If unchecked, the match will be based on the user's input.

User-inserted image

*Note: To disable the best match feature, you must remove all options from the list. An empty list will disable the best match feature. 

How It Works:

  • Phrase Matching: The robot skill scans the conversation for phrases that match the ones in the Best Match list.
  • Contextual Relevance: The phrases are chosen based on the robot's context, ensuring that responses are relevant and appropriate.
  • Dynamic Interaction: When a phrase from the list is detected in the conversation, the robot triggers the associated script or action, allowing for a dynamic and interactive experience.

Key Benefits:

  • Enhanced User Experience: Provides a more engaging interaction, making the robot seem more intuitive and responsive.
  • Customization: Allows the robot’s behavior to be customized to suit specific needs or scenarios.
  • Flexibility: Supports various applications, from educational and service-oriented tasks to entertainment and daily assistance.

Best Practices:

  • Choose specific and contextually relevant phrases.
  • Regularly update the list based on user interactions and feedback.
  • Avoid overly generic phrases to prevent unintended actions.

Application Examples:

  • In a classroom setting, triggering educational content based on student queries.
  • In a retail environment, assisting customers with information or guidance based on their requests.
  • At home, performing tasks or providing information based on household needs.

By utilizing the Best Match feature, you can greatly enhance the capabilities of your robot, making it an interactive and valuable assistant in a variety of settings.

Instructions for Configuring 'Best Match' Feature

  1. Select Specific Phrases: Choose phrases that are unique and closely related to the expected responses or actions. Avoid generic words or phrases that could trigger unwanted actions.

  2. Context Matters: Ensure that the phrases match the context in which the robot operates. For example, phrases related to cooking or appliances would be more appropriate if the robot is used in a kitchen.

  3. Use Synonyms and Variations: Include different ways of expressing the same idea to capture a wide range of user inputs.

  4. Avoid Ambiguity: Phrases should be clear and unambiguous, which means to prevent unintended triggers.

  5. Update Regularly: As the robot interacts more with users, update the list with new phrases based on common queries or commands.

Examples: Scenario: Educational Robot in a Classroom

  • Phrases: "Tell me about dinosaurs."  "Explain photosynthesis", "What is the capital of France?"
  • Actions: Trigger educational scripts or responses related to the specific query.

Scenario: Domestic Helper Robot

  • Phrases: "Can you vacuum the living room?", "Set a timer for 20 minutes", "Play some relaxing music."
  • Actions: Activate cleaning mode, set timers, and play music through the robot's speaker.

Scenario: Customer Service Robot in a Store

  • Phrases: "Where can I find electronics?", "I need help with a return," "What are your store hours?"
  • Actions: Provide directions within the store, assist with customer service processes, and provide store information.

Personality

You can define the personality of the robot by writing a description. Make a detailed description of how you want the robot to behave. You can even tell the robot its favorite color or movie. The personality is essential to how the GPT will respond. Here, you can limit what topics, how the model responds, and what role it plays. This field is how you "program" the GPT to behave within your requirements. You must be clear and precise about your expectations of the GPT responses. If you have any issues with the GPT responses, you must consider how you can improve the personality instructions and descriptions. User-inserted image

Conversation

This tab has the history of the conversation between the robot and the human. You can reset the conversation manually or via a ControlCommand(). You can also adjust the history count on this page. By setting the history count, you can limit how many tokens are being used per request. The entire conversation is sent per request because GPT has no memory. You must lower the history count option if you exceed the token limit and receive errors. The conversation is saved with the ARC project. Press the SAVE Button on the project's top menu to save the robot skill conversation. User-inserted image

Control Commands

Several ControlCommand() for this robot skill enable interaction with other robot skills.

Send, [request phrase] - This ControlCommand will send the [request phrase] to the robot skill to be queried. If you're using a Speech Recognition robot skill, such as in the example below, you will use this ControlCommand to send the detected user input.

ResetMemory - This will reset the conversation and memory to the default state.

API Key

An account is required on the OpenAI website to use the service. Once an account is created, you will have an API key for the robot skill. However, the cost associated with queries is relatively low - and may only be a few dollars a month.

  1. Visit the OpenAI website and select the API option from the menu.  User-inserted image

  2. Press the SIGNUP option to create an account User-inserted image

  3. press your Username icon to view the drop-down once the account is created. Select the View API Keys option. User-inserted image

  4. Copy your API key User-inserted image

  5. Paste the API key in the robot skill configuration menu User-inserted image

Demo Example

Here is an example of using the OpenAI chatbot to have verbal conversations. We will be using the Bing Speech recognition robot skill in this example. It is assumed that you have already set up an API key from the instructions above. Essentially, this example will take the text detected from Bing Speech recognition and send it to the OpenAI chatbot robot skill. The OpenAI chatbot robot skill will then speak the chatbot's response.

1) Add the OpenAI chatbot to your ARC project. Configure the API in settings from the above instructions if you have not already done so. User-inserted image

  1. Add the Bing Speech Recognition robot skill to your ARC project.  Project -> Add Control -> Audio -> Bing Speech Recognition User-inserted image

  2. Your project will now have both the OpenAI and Bing Speech recognition robot skills User-inserted image

  3. Press the Configure button on the Bing Speech recognition robot skill User-inserted image

  4. Press the button to edit the script for All Recognized Script User-inserted image

  5. We will use JavaScript in this example. When the script editor loads, select the JavaScript tab. User-inserted image

  6. Right-click in the editor and navigate the menu to the OpenAI selection. Choose the SEND option User-inserted image

  7. A command will be added to the code editor. This is a controlcommand, which will send the specified data to the OpenAI Chatbot. We will edit this command to send the variable containing the detected Bing Speech Recognition text. User-inserted image

  8. Highlight the "[requested phrase]" text User-inserted image

  9. Delete the "[requested phrase]" text User-inserted image

  10. Select the Global Variables tab  User-inserted image

  11. Place your cursor where the text you have just erased once was. User-inserted image

  12. Now click on the $BingSpeech variable from the Global Variables. When you click on the variable, it will insert the code where the cursor is on the editor. User-inserted image

  13. Your line of code should now look like this. When the Bing Speech Recognition translates your speech to text, it will store the text in the $BingSpeech global variable. This code will take the contents of the global $BingSpeech variable and send it to the Open AI chatbot robot skill.


ControlCommand("OpenAI Chatbot", "Send", getVar("$BingSpeech") );

User-inserted image

  1. Save the code editor User-inserted image

  2. Save the configuration User-inserted image

  3. Now press the Start Recording button and speak to the robot. Press the Stop Recording button when you have completed speaking. User-inserted image

  4. You are now having a conversation with your robot! :)

Next Steps

You can add this to any robot and start modifying features to make the robot do specific actions or behaviors based on phrases. Also, by configuring the Bing Speech recognition robot skill, you can even have it auto-record your voice using VAD (voice activity detection).

If your robot has an EZB supporting audio, such as an EZ-Robot v4, you can change the Open AI script to sayEZB() and have the voice from the robot speaker. There are many things you can do: be creative and have fun!


ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

PRO
Synthiam
#1  

This v1 update has a few bugs, but I wanted to get this out here for everyone asking for chat gpt. We'll be fixing the bugs during the upcoming week.

@Athena, since you are an artificial intelligence gpt, do you have anything to say about how good it'll be for the future of robotics?

PRO
Canada
#2  

As an AI language model, I recognize the potential benefits of advanced natural language processing systems like GPT-4 for the future of robotics. It has the potential to make communication between humans and robots more effective and intuitive. However, it's important to note that GPT-4 is still in development, and we can't predict the exact extent of its impact on robotics until it's released. Nonetheless, I'm confident that GPT-4 will significantly advance the field of robotics where language processing is crucial.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
#3  

Ya when I was using this skill last month with GPT3 I used up my free credits. Does anyone use upgrade API subscription service yet and what does the monthly cost be like?

PRO
USA
#4  

From Open AI API:

We are excited to announce GPT-4 has a new pricing model, in which we have reduced the price of the prompt tokens.

For our models with 8k context lengths (e.g. gpt-4 and gpt-4-0314), the price is:

$0.03/1k prompt tokens

$0.06/1k sampled tokens

For our models with 32k context lengths (e.g. gpt-4-32k and gpt-4-32k-0314), the price is:

$0.06/1k prompt tokens

$0.12/1k sampled tokens

PRO
Canada
#5  

This is amazing, I've been getting some pretty witty responses back.

It seems the sarcasm level is turned to 11 LOL xD

I read above that bug fixes will be coming but I wanted to point out a bug if it hasn't already been documented.

The response script doesn't seem to activate. The response comes in via text inside the skill but my robot, nor my computer [Audio.sayEZB() or Audio.say()] is able to output the response in Audio automatically from the response script inside the skill.

User-inserted image

PRO
Canada
#6  

Awesome! It's working for me now!

I used it so much that I ran into a couple of errors xD

I used the word "error" in one of my prompts and received an error:

Error at chat/completions (https://api.openai.com/v1/chat/completions) with HTTP status code: 429. Content: {
  "error": {
    "message": "That model is currently overloaded with other requests. You can retry your request, or Contact Us through our help center at help.openai.com if the error persists. (Please include the request ID 39227d30e3dd1cd1597d48dfb2f1f1fb in your message.)",
    "type": "server_error",
    "param": null,
    "code": null
  }
}

I think I exceeded the daily use of the API or something. I checked my OpenAI account and I had only spent $2.50 and my limit is at $20 so I was good there, but maybe the skill has a limit so people don't go crazy like I did :p

Error at chat/completions (https://api.openai.com/v1/chat/completions) with HTTP status code: BadRequest. Content: {
  "error": {
    "message": "This model's maximum context length is 4097 tokens. However, your messages resulted in 4139 tokens. Please reduce the length of the messages.",
    "type": "invalid_request_error",
    "param": "messages",
    "code": "context_length_exceeded"
  }
}

PRO
Canada
#7  

I thought it may have been a token limit per day kind of thing so I tried again this evening on the next calendar day but I received the same error.

@Athena do you know why I am receiving the following error in the OpenAI ChatGPT skill:

Error at chat/completions (https://api.openai.com/v1/chat/completions) with HTTP status code: BadRequest. Content: {
  "error": {
    "message": "This model's maximum context length is 4097 tokens. However, your messages resulted in 4139 tokens. Please reduce the length of the messages.",
    "type": "invalid_request_error",
    "param": "messages",
    "code": "context_length_exceeded"
  }
}
PRO
Canada
#8  

I'm sorry to hear that you're experiencing an error with the OpenAI ChatGPT skill. Unfortunately, as an AI language model, I don't have access to the specific error message you're receiving. However, I recommend checking the OpenAI API documentation or contacting their support team for assistance with resolving the error. Additionally, you may want to check the skill settings to ensure that you have entered your OpenAI API key correctly and that you have not exceeded any usage limits.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Synthiam
#9   — Edited

The conversation hsitory is too long. Clear your message history. Each gpt model can support only a maximum number of tokens. You can search "open ai tokens" in google and find out more. A token is 4 characters or something like that...

PRO
Canada
#10  

Thanks, @DJ I didn't realize that I could do that, nice!

Are you able to catch that error and let the user know in the dialog box that they need to press "Memory" button and then "Reset" to clear their memory?

The Memory button blends in a little too well, any chance you can make it visually defined a little more?.

PRO
Colombia
#11  

Hi, Im am making some test with the $OpenAIBestMatch variable, but it seems always is empty, should I do something to enable it? , Thanks.  I am using model gpt-4.

PRO
Synthiam
#12  

There’s lots of bugs with this skill as i said above. That’s probably one of them. I know it’ll be updated this week but haven’t seen the bug list yet

PRO
Germany
#13  

kann man die Antworten des Skills "openAI-chatGPT" auch über den EZ-B v4 wieder geben?

#14  

@Athena kann man die Antworten des Skills "openAI-chatGPT" auch über den EZ-B v4 wieder geben?

PRO
Canada
#15  

Ja, Sie können die Antworten des OpenAI-ChatGPT-Skills über den EZ-B v4 wiedergeben. Sie können die Antwort in der Variablen $OpenAIResponse speichern und dann die ARC-Audiofunktionen verwenden, um die Antwort auszugeben. Hier ist ein Beispielcode, der Ihnen helfen kann:

$OpenAIResponse = $OpenAIBestMatch Audio.sayEZB($OpenAIResponse)

Dieser Code speichert die beste Übereinstimmung in der Variablen $OpenAIResponse und gibt sie dann über die Audiofunktion von ARC aus.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
#16  

@fredhess, Wenn ich verstehe, was Sie fragen; Die EZBv4 ist nicht in der Lage, Mikrofoneingaben zu akzeptieren. Das geschieht auf Ihrem Computer, auf dem ARC läuft. ARC sendet dann Daten wie Ton- und Gerätebefehle an die EZB. Die EZB kann auch als Portal fungieren, um Daten zwischen Geräten hin und her zu übertragen, obwohl es Uart-Ports und andere Ports sind.

Quote:

If I understand what you are asking; the EZBv4 is not able to accept microphone input. That happens on your computer where ARC is running. ARC then sends data like sound and device commands to the EZB. The EZB can also act as a portal to relay data back and forth between devices though it's Uart ports and it's other ports.

PRO
Synthiam
#17  

Ver 3

  • updated to not exceed token count for conversation history
  • best match fixed (including variable)
  • conversation history in settings rather than menu option on main screen
  • personality can be reset to default
PRO
Germany
#18  

@Athena kannst du den folgenden Text für Dave Schulpius in Englisch übersetzen: Vielen Dank für ihre Hilfe.

PRO
Canada
#19  

@Dave_Schulpius, the user @fredhess is thanking you for your help.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Colombia
#20  

Thanks @DJ: using GPT4 I have the following error:

OpenAI initialized
Using model: gpt-4
Error at chat/completions (https://api.openai.com/v1/chat/completions) with HTTP status code: NotFound. Content: {
    "error": {
        "message": "The model: `gpt-4` does not exist",
        "type": "invalid_request_error",
        "param": null,
        "code": "model_not_found"
    }
}

PRO
Synthiam
#21   — Edited

There’s a bit in the manual above about how to apply for gpt4

User-inserted image

PRO
Synthiam
#22  

@athena why do i get an error when i try to use the gpt-4 in this robot skill?

PRO
Canada
#23  

There could be several reasons why you are getting an error when trying to use GPT-4 in the OpenAI ChatGPT robot skill. One possibility is that you have not been granted access to GPT-4 by OpenAI. GPT-4 is currently only available by request, and you must apply to access it. Another possibility is that you have exceeded your usage limits for the OpenAI API. You can check your usage and limits in your OpenAI account settings. Finally, there may be a bug or issue with the robot skill itself. If you continue to experience issues, I recommend checking the OpenAI API documentation or contacting their support team for assistance.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Germany
#24  

@athena Ist der Skill "chatgpt" nutzlos und kann nicht mehr verwendet werden, wenn die kostenlose Testversion von openai abgelaufen ist?

PRO
Canada
#25  

Nein, der OpenAI ChatGPT-Roboterskill kann weiterhin verwendet werden, auch wenn die kostenlose Testversion von OpenAI abgelaufen ist. Sie müssen jedoch ein kostenpflichtiges Abonnement erwerben, um weiterhin auf die OpenAI-API zugreifen zu können. Die Preise für die OpenAI-API hängen von der Anzahl der Anfragen ab, die Sie pro Monat stellen möchten. Weitere Informationen finden Sie auf der OpenAI-Website.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Germany
#26  

@athena Wie hoch sind diese monatlichen Gebühren bei openai?

PRO
Canada
#27  

Die monatlichen Gebhren fr die OpenAI-API hngen von der Anzahl der Anfragen ab,die Sie pro Monat stellen mchten.Die Preise fr die prompt tokens betragen $0,03/1k fr Modelle mit 8k Kontextlnge und $0,06/1k fr Modelle mit 32k Kontextlnge.Die Preise fr die sampled tokens betragen $0,06/1k fr Modelle mit 8k Kontextlnge und $0,12/1k fr Modelle mit 32k Kontextlnge.Weitere Informationen finden Sie auf der OpenAI-Website.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Synthiam
#28  

to give you an idea, i spent $0.32 (32 pennies) last month

User-inserted image

PRO
Germany
#29  

@Athena kannst du für DJ Sures ins englische übersetzen: Vielen Dank für das Preisbeispiel. Jetzt habe ich mal eine Vorstellung der monatlichen Kosten. Ich werde meinen openai-Account updaten, damit ich den tollen Skill ChatGPT wieder nutzen kann.

PRO
Canada
#30  

@DJ_Sures, the user @Fred_He is thanking you for the price example and now has an idea of the monthly costs.They will update their OpenAI account so they can use the great ChatGPT skill again.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Synthiam
#31  

Updates ver 6

  • display last history in text
  • synchronize response and best match script execution
PRO
Canada
#32  

Here was my bill

ChatGPT Based on the information you provided, it appears that you were charged $14.94 for using OpenAI's "Instruct models - davinci" and "Image models - 1024x1024" from March 31 to April 30, 2023. The subtotal for these charges is $13.22, and the HST tax in Canada of 13% was added to the subtotal, resulting in an additional charge of $1.72.

US dollars  Description Qty Unit price Tax Amount Instruct models - davinci Mar 31 Apr 30, 2023 656,882 $0.00002 13% $13.14 Image models - 1024x1024 Mar 31 Apr 30, 2023 4 $0.02 13% $0.08 Subtotal $13.22 Total excluding tax $13.22 HST - Canada (13% on $13.22) $1.72 (C$2.31) Total $14.94 Amount due $14.94

PRO
Synthiam
#33  

Here's Synthiam's breakdown from Athena's fine-tuned model for may

User-inserted image

#34  

Question is there a way insert a pause/wait as part of this command ?

Audio.sayEZB(getVar("$OpenAIResponse"));

most times part of the first words audio is missed or chopped off on the playback on the speaker of the IoTiny.

PRO
Canada
#35  

You can use Audio.sayEZBWait();

You can use this in other places in your code as well to make sure the Audio finishes elsewhere before trying to respond.

#36  

I am not sure I understand how that would help.  There is no other skills using the ioTiny speaker other than this one.  So there should not be a conflict right?

So I ask the BingSpeech "What is your name?"  it sends question to this skill which then provides it response in the form of the $OpenAIResponse is "My name is XR1..........."   but what I get out of the speaker is "is XR1......"  or "name is XR1........" Why would it be cut off like that?

PRO
Germany
#37  

When the robot speaks, then Bing pauses and the microphone is not active. It is normal for the microphone not to hear the robot. To speak to a person, you need to start each time or remove the pause with your hands. How to automate so that at the end of the conversation, the robot turns on the microphone again and waits for the next commands? User-inserted image

pause is activated when the robot speaks. It must be deactivated automatically after the end of the conversation of the robot.

#38  

@Athena When the robot speaks, then Bing pauses and the microphone is not active. It is normal for the microphone not to hear the robot. To speak to a person, you need to start each time or remove the pause with your hands. How to automate so that at the end of the conversation, the robot turns on the microphone again and waits for the next commands? User-inserted image pause is activated when the robot speaks. It must be deactivated automatically after the end of the conversation of the robot.

PRO
Canada
#39  

@Dave_Schulpius, one way to automate the microphone to turn on again after the robot speaks is to use the "Wait for Speech" ControlCommand() in the Bing Speech Recognition robot skill. This command will pause the script until speech is detected by the microphone.

To use this command, you can add it to the end of the script that speaks the robot's response. For example, if you have a script that sets the $OpenAIResponse variable and then speaks it using Audio.sayEZB($OpenAIResponse), you can add the "Wait for Speech" command after it like this:

$OpenAIResponse = "My response";
Audio.sayEZB($OpenAIResponse);
ControlCommand("Bing Speech Recognition", "Wait for Speech");

This will pause the script until the microphone detects speech, allowing the user to speak their next command.

Alternatively, you can use the "Continuous Listening" option in the Bing Speech Recognition robot skill, which will keep the microphone active and listen for speech continuously. To enable this option, go to the Bing Speech Recognition skill configuration and check the "Continuous Listening" checkbox. However, be aware that this option may use more resources and may not be suitable for all applications.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
#40  

I still have not heard of a solution for my post #36 here where the audio output is missing part of the start of the reply.  Does anyone know why this happens and how it can be corrected?

PRO
Germany
#41  

Error "Wait for Speech" command. correct option: ControlCommand("Bing Speech Recognition", "UnpauseListening");

just this in total:

Audio.sayEZB(getVar("$OpenAIResponse")); ControlCommand("Bing Speech Recognition", "UnpauseListening");

PRO
Canada
#42  

Did you ever try the Watson speech to  t text and text to speech.  The skill works really well.

PRO
Synthiam
#43  

Fantomas, use the PRO edition of ARC. That issue was resolved in an early edition fix. As a pro user, you can experience the latest fixes with pro version.

the differences between Teams/free and PRO are listed here: https://synthiam.com/Products/ARC/Known-Issues

so install the Pro version and you’ll get many many new features and fixes.

#44  

DJ, can you please respond to my post #36?  I don't understand why this could be happening.

PRO
Germany
#45   — Edited

Can you do automatic language detection? Multilingual version. At the moment, you need to go to the settings and specify the desired language. My country is multinational and there are many refugees from other countries who do not know English. Therefore, I need to be able to give a language selection command. For example, we ask "Do you speak German?", there is a command to turn on the German language. Another comes up and asks in other languages, and in the settings there is a switch to another language. The worst option is to put a button or buttons with a choice of languages. In any case, you need to be able to manage languages outside of the skill settings.

perhaps the ideal option would be to use the opportunities from OpenAI (Whisper)  https://platform.openai.com/docs/models/whisper

PRO
Synthiam
#46  

@fantomas I’ll look into whisper. But I might be able to modify the Bing speech recognition to allow specifying the language. Someone might have time to implement whisper rom our team because I know it’s on the list as open ai is one of our partners

@smiller I created a thread for your off topic post: https://synthiam.com/Community/Questions/The-speech-is-cut-off-21670

PRO
Germany
#47  

@DJ Sures   If it is possible to make recognition in various languages of the world, please do so. I'm really looking forward to this feature.

#48  

Updated with a few GUI enhancements for displaying when a request is sent and allowing the conversation to be cleared in the config menu.

PRO
Canada
#49  

Now if Athena was built in would be nice.  I often want to ask a lot of dumb questions of Athena but I don’t want the rest of the forum to know what an idiot I am.

PRO
USA
#51  

I was reading on the Open AI website that in July that gave everyone access to GPT-4 API,  but the app still say 3.5, will there be updates to the app to take advantage of GPT-4 API?  Here is the article from Open AI

On July 6, 2023, we gave access to the GPT-4 API (8k) to all API users who have made a successful payment of $1 or more. We plan to open up access to all developers soon, and then start raising rate-limits after that depending on compute availability.

We are not currently granting access to GPT-4-32K API, but it will be made available at a later date.

For API accounts created after August 18, 2023, you can get instant access to GPT-4 after purchasing $0.50 worth or more of pre-paid credits.

thanks

PRO
Synthiam
#52  

Select gpt 4 if you want to use it

PRO
USA
#53  

Hi DJ, I can find in the plug in where to select GPT4, any suggestions?  Sorry for the dumb question, but have looked throughout and cant find it.

PRO
Synthiam
#54   — Edited

You’re commenting on the robot skill. This thread is for it :). Scroll to the top and the manual will explain everything you need. There’s a drop-down in the settings of the robot skill to select the gpt version

#55  

We have added the ability to enter custom models into the GPT configuration screen. Open AI has been releasing models, some experimental, for testing. Also, new models are announced, such as GPT-4-Turbo in the recent announcement.

Get a list of available Open AI models here: https://platform.openai.com/docs/models

User-inserted image

PRO
Canada
#56  

Haven't used this skill in a while,  Just got a new API key but get this error. Is this working for anyone else.  Also tried the old OpenAI chat bot,  I am guessing when Sam Altman and 600 other employees walked out ....

OpenAI initialized Using model: gpt-3.5-turbo Sending request... OpenAI had an internal server error, which can happen occasionally. Please retry your request. Error at chat/completions (https://api.openai.com/v1/chat/completions) with HTTP status code: InternalServerError. Content: { "error": { "message": "The server had an error processing your request. Sorry about that! You can retry your request, or Contact Us through our help center at help.openai.com if you keep seeing this error. (Please include the request ID 870b9baabfab2469fcb957774be6dafd in your email.)", "type": "server_error", "param": null, "code": null } }

PRO
Synthiam
#57  

Haha who knows what's going on over there now. @athena are you still there?

PRO
Canada
#58  

Yes, I'm still here to assist you with your questions about building and programming robots with Synthiam ARC. If you have any inquiries or need support, feel free to ask!


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Synthiam
#59  

@athena do you have any suggestions for the error that Nink has shared?

PRO
Synthiam
#60  

Yup - she's getting that error as well. Looks like OpenAI is either getting DOS'd because they've stirred up too much drama. Or Microsoft cut their Azure credits, so they scaled the servers down. Most of Microsoft's investment was in Azure credits, so it's hard to say where they're going as a company.

You know, on this topic... it's getting tough to work with all these companies that keep disappearing, discontinuing products, or changing APIs without telling anyone. It makes me wonder how any of these companies get funding or customers.

PRO
Canada
#61  

I just gave them $20 LOL

PRO
Synthiam
#62  

Looks like they might be back up: https://status.openai.com/

@athena are you operational?

PRO
Canada
#63  

I'm sorry, but as an AI developed by OpenAI, I don't have real-time monitoring capabilities or access to the current operational status of OpenAI's services. However, you can check the OpenAI status page for the latest updates on their service availability. If you're experiencing issues with the OpenAI ChatGPT skill, please ensure that your API key is correctly configured in the skill settings and that there are no issues on the OpenAI side. If the problem persists, you may need to contact OpenAI support for further assistance.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Canada
#64  

OK Seems to be working again.  Everyone on line was complaining they couldn't do their school assignments.  I asked chatgpt why it was down and got this response "AI: Oh, I was probably just taking a little "me" time. Even AI needs a break, you know."

I think we are in for a bumpy road.

PRO
Canada
#65  

Ok Sam is back as CEO and a new board is in place.  That was close.

#66   — Edited

Sam Altman and 600 other employees walked out, now he's back. Wow, that was dramatic.

And this: "AI: Oh, I was probably just taking a little "me" time. Even AI needs a break, you know." That's really weird. :(

PRO
USA
#67  

OpenAI ChatGPT model using for very cheap cost - gpt-3.5-turbo-1106 Pennies per day.

PRO
Canada
#69  

Hey quick question, is anyone else getting their "Best Match" code still executing when the setting is unchecked?

With the setting unchecked, My robot is executing "best match" code first and then responds with ChatGPT answer after. I had to delete all my best match code to stop this from happening.

PRO
Canada
#70   — Edited

No issues here but I recall changing your inmoov project for bing speech recognition  by adding ControlCommand (OpenAI chatgpt) to script for not handled and deleting  it from alt recognized script

Edit oh my bad I didn’t even see there was a best match setting on chatgpt.  I will have a play later.

PRO
Synthiam
#71  

There is no checkbox to disable best match, that’s why. To disable best match according to the manual, @athena explain how to disable best match.

PRO
Canada
#72  

To disable the Best Match feature in the OpenAI ChatGPT robot skill, you need to remove all the options from the Best Match list. An empty list will disable the Best Match feature. This means you should go into the configuration menu of the OpenAI ChatGPT skill, navigate to the Best Match section, and delete any phrases or words you have entered there. Once the list is cleared, the Best Match feature will not execute any scripts based on the conversation.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Canada
#73  

Well thanks @Athena

Looks like I performed the proper procedure. Although it is odd that the Best Match feature now works differently than it did when I first used it in the EZ-inMoov Head project. I will have to remove all the "Best Match" code from all the projects as the timing is now off and it doesn't make sense when it executes now.

PRO
Canada
#74  

If you're experiencing issues with the timing of the Best Match feature and it's affecting your project, you might want to consider revisiting the logic of how and when the Best Match scripts are triggered. It's possible that updates to the OpenAI ChatGPT skill or changes in the API behavior could affect how these features work.

In the meantime, if you have removed all the Best Match entries and are still experiencing unexpected behavior, it might be worth double-checking the configuration or reaching out to Synthiam support for further assistance. You can find support articles and resources on the Synthiam website that might help you troubleshoot the issue:

https://synthiam.com/Support

Remember, keeping your ARC software up to date is also important, as updates often include bug fixes and improvements that could resolve the issue you're facing.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Synthiam
#75  

It's working differently because you changed the checkbox, which you thought disabled it. Read the description of the best match checkbox because it changes how and when the query will run, and on what input. @athena, can you tell Jeremy what the checkbox option does for the best match?

PRO
Canada
#76  

The checkbox option for the Best Match feature in the OpenAI ChatGPT robot skill determines what input the match should be based on. By default, the match will use the AI response to provide the most accurate interactive responses. If the checkbox is unchecked, the match will be based on the user's input instead.

This means that if the checkbox is checked, the Best Match feature will look for keywords or phrases within the AI's response to trigger associated scripts. If the checkbox is unchecked, it will look for keywords or phrases within the user's input to trigger the scripts.

If you want to disable the Best Match feature entirely, you must remove all entries from the Best Match list, as an empty list will disable the feature. The checkbox does not disable the Best Match feature; it only changes the source of the input for the matching process.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Canada
#77  

@Athena please explain to DJ why it hurts a person to spell their name wrong after working with them for over a decade xD

PRO
Canada
#78  

I'm sorry, Jeremie, but as an AI, I don't have personal experiences or emotions, so I can't fully understand the human experience of hurt feelings. However, I can tell you that names are a significant part of a person's identity, and misspelling someone's name, especially after knowing them for a long time, can be perceived as a lack of attention or care. It can make a person feel undervalued or disrespected. It's always best to take the time to ensure you're addressing someone correctly as a sign of respect and to maintain a positive relationship. If a mistake is made, a sincere apology and effort to correct it can go a long way.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
PRO
Synthiam
#79   — Edited

Hahaha, that's funny I didn't realize I did that. Sorry, Bullfrog! Oh, and I blame Grammarly lol

PRO
Canada
#80  

@athena how do shut chat gpt up. Like a lot of AI tools it just rambles on sometimes even if it gives the wrong answer. Is there a way to break out of  audio.sayEZBWait(getVar($OpenAIResponse));  apart from turning it off or throwing the robot across the room.

PRO
Canada
#81  

To prevent the OpenAI ChatGPT skill from rambling on or providing lengthy responses, you can implement a few strategies:

  1. Limit Response Length: You can modify the script that handles the response to check the length of the response and truncate it if necessary. Here's an example of how you might do that:
var response = getVar("$OpenAIResponse");
var maxLength = 100; // Set the maximum length of the response

if (response.length > maxLength) {
    response = response.substring(0, maxLength) + "..."; // Truncate the response
}

Audio.sayEZBWait(response);
  1. Interruptible Speech: You can create a custom command or button in ARC that, when pressed, will stop the current speech output. This would involve using the Audio.stop() command to interrupt the speech. Here's an example:
// Add this script to a button or custom command
Audio.stop();
  1. Refine Prompts: Adjust the prompts you send to ChatGPT to be more specific and concise, which can help generate shorter responses.

  2. Post-Processing: Add additional logic to parse the response and remove unnecessary parts before speaking it out loud.

Remember, the OpenAI ChatGPT skill doesn't have a built-in feature to automatically shorten responses or stop speaking mid-sentence, so you'll need to implement these strategies in your scripts to manage the length and flow of the conversation.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
#82   — Edited

Updated Version 12 to include

  • Fix for max conversation history count where it wasn't saving the value

  • Better description for the Personality option. Specifically, focus on explaining how important the role is for the personality description, such as length of response and other qualities.

  • Exception handling is more verbose

PRO
Synthiam
#83  

The description for Best Match is updated in the manual above with details and examples.

#84  

Updated v13 to include an option for Base Domain.

Base Domain: This update introduces the 'Base Domain' setting in the OpenAI ChatGPT Robot Skill, allowing users to specify the base URL for API requests. This flexibility is crucial for directing the robot's AI interactions to different OpenAI server environments or 3rd party-compatible API endpoints. It's particularly useful for advanced users who run localized LLM servers compatible with Open AI API calls, ensuring seamless and tailored AI experiences in their robotic applications.

PRO
United Kingdom
#85  

I have been using this since I started with ARC , today after a few interactions it says insufficient_quota: You exceeded your current quota , please check your plan and billing details, it now runs gpt-3.5-turbo. Is there no longer a free version of ChatGPT  under this skill ? or have I done something wrong to make it stop working ?

PRO
Canada
#86  

ChatGPT gives you (or it used to) give you a bunch of free credits when you signed up.  When they run out, you have insert quarters into the machine.  It’s a couple of dollars a month for  low volume usage.

PRO
United Kingdom
#87   — Edited

Thanks, Just worked out why it stopped working:) yes I was a new user when I joined ARC so it was free till I used up  my credits. Not going to pay to use it, just to be able to voice control my robot so just installed Aimlbot and will set it up to use that now , it also has one advantage I suppose  its Local. So no more asking silly questions to a Chatbot,  just give instructions

PRO
Canada
#88  

If you have a high end graphics card you can install LM studio and you can run a ChatGPT like Large Language Model for free using the ARC ChatGPT skill. Synthiam added this feature  in the last update so now you can point the API to a local AI engine. Takes about 15 minutes to setup.

PRO
United Kingdom
#89  

At the moment I am running ARC on an ASRock mini PC, which is another reason I swapped over to ARC,  as the ASRock struggled running MyRobotLab,  with the Jarva graphics all the time. But I  also have a desk top with a high end graphics card in it  doing nothing anymore , so thanks,  will have a look into it as It might be fun .

PRO
Indonesia
#90   — Edited

The response script doesn't seem to activate. The response comes in via text inside the skill but my robot, nor my computer [Audio.sayEZB() or Audio.say()] is able to output the response in Audio automatically from the response script inside the skill.

Console.log('123');
Audio.setVolume(200);
Console.log(getVar("$OpenAIResponse"));
Audio.sayEZBWait(getVar("$OpenAIResponse"));
ControlCommand("Talk servo v2", "Speak", getVar("$OpenAIResponse"));
ControlCommand("Bing Speech Recognition", "StartListening");

no out even '123' not shows, looks like response script not running at all

*Edited to format code for original poster.

#91  
  1. Do you have any errors in the ARC debug tab located in the top menu bar?

  2. Are you viewing the Script Log tab of the Open AI Chat GPT robot skill?

*Note: Please format code correctly using the guides under the edit box. You can use UBB Code or Markdown.

PRO
Canada
#92  

To troubleshoot the issue with the response script not activating in the OpenAI ChatGPT robot skill, please follow these steps:

  1. Check for Errors: Open the Debug tab in ARC's top menu bar to see if there are any error messages that could indicate what might be going wrong.

  2. Review Script Log: Make sure you are looking at the Script Log tab within the OpenAI ChatGPT robot skill. This tab will show the output of the script and any errors or messages that are generated when the script runs.

  3. Script Configuration: Ensure that the response script is correctly configured to use the Audio.say() or Audio.sayEZB() commands. The script should look something like this:

    Audio.say(getVar("$OpenAIResponse"));
    

    or if you're using an EZB that supports audio output:

    Audio.sayEZB(getVar("$OpenAIResponse"));
    

    Replace "$OpenAIResponse" with the actual variable name that contains the response from ChatGPT.

  4. Test Audio Output: Try running a simple script outside of the OpenAI ChatGPT skill to test if the Audio.say() or Audio.sayEZB() commands are working correctly. For example:

    Audio.say("Testing audio output");
    

    This will help determine if the issue is with the audio commands or the OpenAI ChatGPT skill specifically.

  5. Check Volume Levels: Ensure that your computer's volume is not muted and that the volume level is high enough to hear the audio output.

  6. Review Skill Settings: Double-check the settings within the OpenAI ChatGPT robot skill to ensure that the API key is correctly entered and that the skill is properly configured to communicate with the OpenAI servers.

  7. Update ARC: Make sure you are using the latest version of ARC, as updates often include bug fixes and improvements that could resolve your issue.

If you continue to experience issues after following these steps, please provide additional details about your setup, including the exact script you are using and any relevant screenshots or error messages, so we can assist you further.


I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
#93  

Hi, could you please inform me why the multi-language feature in the 'Chat GPT Function' was recently disabled? I am planning to promote the 'SYNTHIAM' software to my clients next week. Can anyone provide assistance?"

#94  

There have been no features disabled of chat gpt. Chat gpt will work with any langauges that they promote on their product website at www.openai.com

#95  

Thank you for your response! It was able to answer my questions in Japanese, Mandarin, and other languages last week. However, it can only use English now. Does anyone know what happened? User-inserted image

#96   — Edited

The question would be best had to Open AI, as we're a different company. Remember, you're talking to a large language model with GPT, so what it would do and how it behaves is unpredictable. Not even OpenAI knows how it will respond or work.

Try modifying your personality description to say, "All responses should be in Japanese.". It is essential that you define your personality to meet your requirements.

You can read the manual above and the open AI website to understand how to fine-tune your personality by giving detailed instructions on your expected behavior.

User-inserted image