SYSTEM NOTICE

Auto translation by AI. Be sure, accuracy, nuances and authorial intent may not be fully reflected.
見出し画像

How to add references in Gemini 3

In my previous article, I introduced a prompt that asks for a "comprehensive explanation based on systematic reviews and meta-analyses, following the GRADE system."

When I actually send this to Gemini, the response returned looks perfect at first glance, but unfortunately, it does not provide "references (sources)" by default.

Gemini is by no means disconnected from the internet. The standard interface also has a mechanism for RAG (Retrieval-Augmented Generation), which searches the web in the background and integrates that information into the response.

The greatest advantage of using AI for search tasks should be the ability to immediately verify the backing of information, but in the default behavior of standard Gemini, sources are not provided, making it nothing more than "plausible-sounding text."

So, I try asking it to "include links to the sources." Then, Gemini sometimes starts trying to answer using only its internal memory without performing a search. The titles and authors are correct, but the URLs do not exist. This is what is known as a hallucination. Despite having excellent search capabilities, it fails to "provide evidence" at the very last step.

Actually, in the developer environment (Google AI Studio), you can explicitly specify to "ground with Google Search." If you turn this on, the AI is forced to perform a web search and even provides the sources. However, this setting cannot be found in the "standard Gemini."

If there is no setting, I have no choice but to instruct it with words. When you want to search for clinical purposes in Gemini 3, it seems effective to include instructions that force it to "search without relying on memory" and to "base it on unique IDs (PMID/DOI)" when citing references. I get the impression that asking it to "write" or "output" URLs/PMIDs increases the risk of hallucinations. Please try the following prompt.

Provide a comprehensive explanation drawing on systematic reviews and meta-analyses (SR/MA), and list recommendations according to the GRADE system.

[Citation Requirements]
Format: Vancouver style.
Verification: Use the browser tool to verify each reference.
Links: Include the PubMed ID (PMID) and a direct, clickable link to the PubMed entry or DOI for every citation.
Accuracy: Ensure the title, author, and year match the provided link exactly.

Related



いいなと思ったら応援しよう!