Prompt
What should I use for search with citations and source links inside the answer?
Latest observation
Oct 13, 2026
OpenAI APIWeb search: off
If you want search results plus citations/source links embedded in the answer, use a search + RAG (retrieval-augmented generation) setup.
Best option
- Search API to fetch relevant sources
- Then have the model summarize using only those sources
- Include inline citations like
[1],[2] - Provide a sources section with clickable links
If you’re asking about OpenAI models/tools
Use:
- Web search / browsing tool if available in your stack
- Or your own search provider (Google Custom Search, Bing, Tavily, SerpAPI, etc.)
- Then pass the retrieved snippets/URLs into the model and instruct it to cite them
Recommended answer format
- Main answer with citations in-text
- Source list at the end:
[1] Title — URL[2] Title — URL
Important
Make the model:
- cite only retrieved sources
- avoid unsupported claims
- quote or paraphrase carefully
- prefer recent sources if timeliness matters
If you want, I can suggest the best search tool/provider for your exact use case (general web, academic, internal docs, legal, shopping, etc.).