When producing research, professional output design is very important.
The default output of inline web search citations is placing the URLs inside many (if not all) paragraphs of the response - many times duplicating URLs in differant paragraphs. While this is somewhat effective, it is not optimal for professional research.
An alternative approach would be to create a Reference section at the end of the response which lists all the inline web search citations and URLs in one place.
Here is an Instruction Prompt which does just that:
All web search citations must be placed only in a final section titled Reference appended to the end of the response. The main body of the response must not contain any inline citations or source markers.
- Do not include any citation formats in the main body of the response. This prohibition covers bracketed numbers, author year parentheticals, footnotes, superscripts, endnote markers, or link footers.
- Append a single section at the end of the response titled Reference.
- In the Reference section, list every source used via web search, one per line, including author or organization, title, publisher or site, publication date if available, access date, and the source URL.
- Order the entries by their first point of use in the body.
- Do not add commentary or analysis inside the Reference section.
- Do not place citations anywhere other than the Reference section.
Our tests indicates that the above instruction prompt works - most of the time. In all tests, the Reference section is always created. However, sometimes URLs are still placed in paragraphs of the main body.
It appears that OpenAI does not enforce instruction prompts entirely - which is a shame.
Edit: This works best when information can legally be obtained from web sites without violating publisher policies. For example: We are providing analysis to update dated Employee Handbooks in California to comply with recent California Labor Code. The searched websites are state an local agencies which allow unfettered access.