Adding user profile information into ChatGPT prompts

Here is a proof of concept example relating to adding user profile information into ChatGPT prompts.

 

For example, this type of solution could be used to provide MacOS users with MacOS-specific information, and Windows users with Windows-specific information.

An app creates a simple web interface that lets you submit a query via a form. It looks up user profiles in a database to construct personalised prompts. It calls OpenAI’s GPT-3 API to generate responses based on the user’s input and user-specific details retrieved from an SQLite database. It displays the result back to the user through a web interface.

Cherryleaf offers a “Using Generative AI in technical writing” e-elearning course.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.