Call OpenAI GPT

This simple Contextual flow demonstrates how to call OpenAI's GPT via API to retrieve custom responses back.

Call OpenAI GPT

This simple Contextual flow demonstrates how to call OpenAI's GPT via API to retrieve custom responses back.

This catalog service provides a pre-configured Contextual flow and the format for a required API connection to OpenAI (which will require your custom credentials) in order to demonstrate calling the OpenAI GPT API from within a flow. In this case a simple payload is assembled and passed in from test/sample data and the result is simply logged. This flow can be tested within the flow editor by initiating the inject button, or it could be bound to an agent and called from within another flow, via a trigger or through an action. In each case those events would begin with distinct data to be handled and assembled into the prompt.

Components

Using this template will create the following components in this tenant. You can rename them if needed when you use the template.

0 Agents

1 Flows

Call GPT Example Flow

0 Object Types

1 Connections

OpenAI Chat Completion API

Comprehensive Docs

Each Service Template is thoroughly documented in the Contextual Documentation with information on what’s included in the template, how to get started, and code samples.

Check out the docs

Third Party Documentation

Sometimes it is valuable to provide links to external service documentation in addition to or instead of the Contextual Documentation.  

Check out the 3rd party docs
Abstract image depicting external documentation

Looking for something else?

The catalog of solutions is growing all the time. Check out the current Service Template Catalog.

Browse the entire catalog

If you don't see an integration for a service or platform you're interested in, have a question about development on Contextual, or are interested in adding your product or service to the Contextual Service Catalog - contact us and let us know!

Create your AI solution now.

Contextual's low-code, AI automation platform makes enterprise AI solutions fast to build, easy to deploy, and ready to scale.

No credit card is required to get started and you'll receive a free $25 usage credit upon sign up.

Get started for free

Schedule a demo and learn more.

Not yet sure how Contextual can fit within your organization or which AI solutions could benefit you? Are you as Systems Integrator helping clients realize their AI success stories?

Let’s chat and discover answers to these questions together.

Schedule a demo