OpenAI

OpenAI is a leading artificial intelligence research and deployment company that develops advanced AI models and tools to help individuals and organizations build intelligent applications. Its platform provides access to cutting-edge language, vision, and reasoning capabilities through APIs, enabling developers to create solutions for content generation, customer support, data analysis, coding assistance, and more.

OpenAI’s models, including GPT and DALL·E, are designed to understand and generate natural language, images, and complex data with remarkable accuracy. With a focus on safety, reliability, and accessibility, OpenAI empowers businesses to integrate state-of-the-art AI into their products and workflows seamlessly.

Documentation URL: https://platform.openai.com/docs/overview

Installable Elements


Base Elements

These elements are required for the templates below to work

  • Remote Site Setting enabling access to the OpenAI API base URL

Text Generation

Callout Templates for simple Text Generation features

  • API Callout Template used to generate simple text based on a prompt

  • API Callout Template used to generate simple text based on prompts and roles

Image Generation

Callout Templates for simple Image Generation features

  • API Callout Template used to generate an image based on a prompt

Assistants

Callout Templates that help you work with OpenAI assistants

  • API Callout Template to start a new thread using a predefined OpenAI assistant

  • API Callout Template to continue a conversation within a thread using a predefined OpenAI assistant

  • API Callout Template to get messages from a thread using a predefined OpenAI assistant

In order to install this in your org, you need to access the library from the Declarative Webhooks app in your Salesforce org, Declarative Webhooks Library tab.