OpenAI: ChatGPT, DALLE-2, Whisper, 5-in-1 Examples

n8n AI Content Creation Product

Contributed by Sabrina Ramonov 🍄. From the community directory at agents.sabrina.dev, republished with permission and full credit.

Primer workflow for OpenAI models: ChatGPT, DALLE-2, Whisper

This workflow contains 5 examples on how to work with OpenAI API.

1. Transcribe voice into text via Whisper model (disabled, please put your own mp3 file with voice).

2. The old way of using OpenAI conversational model via text-davinci-003.

3. Examples 1.x: Simple ChatGPT calls. Text completion and text edit.

4. Example 2: Provide system and user content into ChatGPT.

5. Examples 3.x: Create system / user / assistance content via Code Node. Prompt chaining technique example.

6. Example 4: Generate code via ChatGPT.

7. Example 5: Return multiple answers. Useful for providing picking the most relevant reply.

IMPORTANT!

Do not run the whole workflow, it's rather slow. Better execute the last node of each branch or simply disconnect branches that are not needed.

Tools used: OpenAI, ChatGPT, OpenAI Whisper

Download the workflow template (JSON)

Original tutorial

Want this running in your business? KOBA42 builds and operates automations like this one.