Integration Suite | Export | Posthandler | OpenAI Completion
This posthandler is used for communicating with ChatGPT. It sends the prompts to OpenAI and retrieves the results.
Select the “File” object type in the general settings and “Smart Doc Export” processor plug-in.
For this posthandler, the SDZeCOM Generic Docs Configurator must be licensed.
Field | Description | 
Destination Systems  | Enter the number of target systems required for this context. The fields described below are available per target system.  | 
Limit to Servertype  | Select the server type: 
 Use case: You export to a test target system and a productive target system. Create both systems as destination systems. Select the appropriate server type for each. The export context knows which system it is in: Only the corresponding target system is addressed from the respective environment. This ensures that no exports are made to a productive target system when copying the system to the staging tenant.  | 
Open AI API Key  | Enter the API key that is valid for the account you want to use.  | 
Open AI Model  | Enter the model to be used, e. g. gpt-3.5-turbo.  | 
Write result back  | Select the attribute in which the results are to be written.  | 
Finalizer  | Send result to rest service  |