Train GPT for Work with your files
Currently, only GPT for Excel and GPT for Sheets support this method.
OpenAI Assistants can be used as models in GPT for Work to tailor your results based on specific instructions and data.
This guide shows how to generate product descriptions using customer reviews and marketing briefs uploaded to an Assistant.
Create and set up an Assistant
To create and set up an Assistant to use your files as context for generating responses:
On the OpenAI platform, click Create to create an Assistant.
Upload the files that you want the Assistant to use as context when generating responses:
Enable File search and click Files.
In the file attachment screen, select the files and click Attach.
You have created an Assistant and set it up to use your files as context for generating responses.
We recommend trying executions in the OpenAI Playground to understand the cost before using it massively.
Prompt an Assistant from GPT for Work
Prerequisite
To prompt an Assistant from GPT for Work:
In GPT for Excel or GPT for Sheets, select the Assistant in the model switcher.
On the Bulk tools tab, click Custom prompt.
Enter the following prompt:
Write a description for this product: {{A}}
In Put results in column, select B.
Click Run rows.
The Assistant searches for information in the files uploaded and uses it to generate content in the selected column. The Instructions as well as Temperature and Top P settings defined during the Assistant creation are taken into account in GPT for Work.