How to Use ChatGPT in Strapi to Dynamically Generate Descriptions Based on Prompts

Hi Strapi Community,
I’m looking to integrate ChatGPT with my Strapi application to generate descriptions based on a base prompt. I haven’t set up the OpenAI API yet, but I want to create a prompt that generates a description and automatically fills it into a specific field in my Strapi collection.
Could anyone guide me on how to properly set this up? Specifically, I need help with:

  • Setting up the OpenAI API in my Strapi project.
  • genrate propt baes on me pre difined propt from propt table and generates description, and saves it to the collection.

This topic has been created from a Discord post (1283037324338528288) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

<@&812004048591913010>

Hi <@818865614638415933> ,

You can visit our blog with the AI tag showing you blog posts related to ChatGPT and OpenAI. There, you will find useful projects on how ChatGPT was integrated into Strapi. Good luck!

https://strapi.io/blog/tag/ai