ChatGPT

Introduction

This document provides comprehensive instructions for integrating ChatGPT, a powerful language model, with Automate, a versatile workflow automation platform. ChatGPT is designed to understand text, generate text, and excel at various text-based tasks. It enables interactions with users through a text-based interface, comprehending questions or requests and providing relevant responses. ChatGPT finds applications in text generation, language understanding, and natural language processing (NLP) tasks, making it valuable for artificial intelligence applications.

What is ChatGPT?

ChatGPT is a state-of-the-art language model trained on a vast dataset to excel in understanding and generating text. It is a versatile tool capable of handling a wide range of text-based tasks, including conversation generation, question answering, summarization, and more. ChatGPT's flexibility and accuracy make it an essential component in various NLP and AI applications.

Automate Integration with ChatGPT

Automate offers a set of pre-built actions that allow seamless integration with ChatGPT directly from your workflows. These actions empower users to interact with ChatGPT, pose questions, and receive responses within their automation processes. But first you need to create your credentials into Autom Mate at Vault page.

Using the Integration

To utilize the integration with ChatGPT in Automate, follow the steps outlined below:

How To Use Actions

New Question

Description: Sends a new question to ChatGPT for processing and retrieves the generated response.

Purpose: This action enables the system to interact with ChatGPT to obtain responses to user questions.

Usage:

  • Enter the Question: The text of the question to be sent to ChatGPT.

  • Provide the App Credential: The credential required for authentication, created and stored in the Vault.

    • CHATGPT_Question: The question that will be used to generate the response.

    • CHATGPT_Response: The variable where the AI-generated response will be stored.

Input Fields:

  • Question: The text of the question to be sent to ChatGPT.

  • App Credential:

    • CHATGPT_Question: The question for ChatGPT.

    • CHATGPT_Response: The variable to store the AI-generated response.

Example Response:

jsonCopy codeExplain{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "logprobs": null,
      "message": {
        "content": "Automation refers to the process of using technology and machines to automatically carry out tasks and processes that were previously performed by humans. It involves the use of software, computer programs, and robotic systems to streamline and simplify repetitive or complex tasks, making them more efficient, accurate, and productive. Automation aims to reduce human intervention and increase productivity by minimizing errors, increasing speed, and freeing up human resources for more strategic and creative endeavors. It is commonly utilized in industries such as manufacturing, logistics, healthcare, transportation, and finance to optimize operations and improve overall efficiency.",
        "role": "assistant"
      }
    }
  ],
  "created": 1708108315,
  "id": "chatcmpl-8sxI3ubuAPKmwDlm6YoecIFdYJimg",
  "model": "gpt-3.5-turbo-0613",
  "object": "chat.completion",
  "system_fingerprint": null,
  "usage": {
    "completion_tokens": 110,
    "prompt_tokens": 11,
    "total_tokens": 121
  }
}

This action allows the system to submit a question to ChatGPT, receive the AI-generated response, and store it in the specified variable for further processing within the application.


Additional Tips

Last updated