# OpenAI

## **Introduction**

The Agentic AI Library introduces a powerful AI framework designed to automate workflows, enhance decision-making, and enable users to create AI-driven processes. By leveraging the Open AI Library powered by Chat GPT-4 Turbo, users can utilize task-specific agents to perform complex operations like content classification, creation, and summarization, all while maintaining control through customizable input parameters.

***

## **What is Agentic AI Library?**

The Agentic AI Library is a modular AI framework within Autom Mate that provides users with intelligent agents trained to handle specific tasks. These agents are designed to simplify operations, improve productivity, and adapt to user-defined requirements. By integrating with Open AI’s Chat GPT-4 Turbo, the library ensures high-quality, multilingual, and context-aware results.

***

## **Autom Mate Integration with Agentic AI Library**

Autom Mate’s integration with the Agentic AI Library allows users to seamlessly integrate AI-powered actions into their workflows. The Open AI Library within the framework includes task-specific agents for content management, enabling users to:

* Classify content with precision.
* Generate multilingual and tailored content.
* Create summaries that focus on key points while excluding irrelevant details.

***

## **Credentials**

To use the Agentic AI Library, users need to configure their Open AI API credentials in Autom Mate’s Vault.

#### **Steps to Add Credential:**

{% stepper %}
{% step %}
Navigate to the Vault and click **Add New Credential**.
{% endstep %}

{% step %}
Fill in the required fields:

* **Connector Name**: Provide a user-friendly name for the connection (e.g., "Open AI Connector").
* **Authentication Type**: Select `API KEY.`
* **OpenAI API Key**: Enter your Open AI API Key provided by Open AI.
  {% endstep %}

{% step %}
Save the credential to complete the setup.
{% endstep %}
{% endstepper %}

These credentials ensure secure communication with Open AI, enabling authorized access to the Agentic AI Library.

***

## **How to Use Actions**

### **Content Classifier**

#### **Description and Purpose**

The **Content Classifier** agent allows users to perform detailed content classification using user-defined parameters such as sensitivity level, key terms, and classification tasks. This ensures accurate categorization and improves workflow organization.

#### **Usage Stepper**

{% stepper %}
{% step %}
Add Open AI credentials to Autom Mate’s Vault.
{% endstep %}

{% step %}
Select the **Content Classifier** action.
{% endstep %}

{% step %}
Provide the required fields:

* `Content`: The source text to be classified.
* `Classification Task`: The purpose of classification (e.g., Topic Classification, Sentiment Analysis).
  {% endstep %}

{% step %}
Configure optional fields such as `Key Terms`, `Sensitivity Level`, and `User Labels`.
{% endstep %}

{% step %}
Execute the action to classify the content.
{% endstep %}
{% endstepper %}

{% hint style="success" %}

#### **Inputs**

* **Content (Required)**: Source text for classification.
* **Classification Task (Required)**: Defines the classification type (e.g., Topic Classification, Sentiment Analysis).
* **Key Terms (Optional)**: Terms guiding the classification process.
* **Sensitivity Level (Optional)**: Level of analysis detail (e.g., High, Medium, Low).
* **User Labels (Optional)**: Custom labels to define content categories.
  {% endhint %}

***

### **Content Creator**

#### **Description and Purpose**

The **Content Creator** agent enables users to generate multilingual, tailored content based on user-defined parameters. It is suitable for creating blog posts, JIRA tickets, and technical articles.

#### **Usage Stepper**

{% stepper %}
{% step %}
Add Open AI credentials to Autom Mate’s Vault.
{% endstep %}

{% step %}
Select the **Content Creator** action.
{% endstep %}

{% step %}
Provide the required fields:

* `Reference Source`: The specific source to base the content on.
* `Content Type`: Type of content to be generated (e.g., Blog Post, JIRA Ticket).
  {% endstep %}

{% step %}
Configure optional fields such as `Key Points`, `Audience`, `Tone and Style`, and `Language`.
{% endstep %}

{% step %}
Execute the action to generate the content.
{% endstep %}
{% endstepper %}

{% hint style="success" %}

#### **Inputs**

* **Reference Source (Required)**: Source material for content creation.
* **Content Type (Required)**: Specifies the content format (e.g., Blog Post, Technical Article).
* **Key Points (Optional)**: Highlights to include in the content.
* **Audience (Optional)**: Defines the target readers (e.g., Healthcare Professionals, General Public).
* **Tone and Style (Optional)**: Sets the tone of the content (e.g., Formal, Persuasive, Humorous).
* **Language (Optional)**: Language of the generated content (e.g., English, Turkish).
  {% endhint %}

***

### **Content Summarizer**

#### **Description and Purpose**

The **Content Summarizer** agent simplifies lengthy content by generating concise summaries based on user-defined parameters. It supports multilingual summaries and allows users to exclude irrelevant details.

#### **Usage Stepper**

{% stepper %}
{% step %}
Add Open AI credentials to Autom Mate’s Vault.
{% endstep %}

{% step %}
Select the **Content Summarizer** action.
{% endstep %}

{% step %}
Provide the required fields:

`Summarize Content via Text`: The text or topic to summarize.
{% endstep %}

{% step %}
Configure optional fields such as `Focus Area`, `Excluded Details`, `Output Language`, and `Summary Length`.
{% endstep %}

{% step %}
Execute the action to generate the summary.
{% endstep %}
{% endstepper %}

{% hint style="success" %}

#### **Inputs**

* **Summarize Content via Text (Required)**: The source text to summarize.
* **Focus Area (Optional)**: Topics to emphasize in the summary.
* **Excluded Details (Optional)**: Information to omit from the summary.
* **Output Language (Optional)**: Language of the summary.
* **Summary Length (Optional)**: Length of the summary (e.g., Short, Medium, Long)
  {% endhint %}
