[GH-ISSUE #2610] Return citations for given answers #48050

Closed
opened 2026-04-28 06:34:04 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @SteffenBrinckmann on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2610

Hey,
would it be possible to return citations, too. Just like perplexity does?
Best, Steffen

Originally created by @SteffenBrinckmann on GitHub (Feb 20, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2610 Hey, would it be possible to return citations, too. Just like perplexity does? Best, Steffen
Author
Owner

@easp commented on GitHub (Feb 20, 2024):

Ollama just provides a way to run and query LLMs. LLMs on their own can't provide citations of the information they provide and if they are asked to, they will usually make up citations to sources that don't exist.

Perplexity has another layer between user and LLM which allows the LLM to retrieve information using internet search and then create an answer based on that. This is generally known as Retrieval Augmented Generation, or RAG. At this point, RAG has to be implemented on top of Ollama. I don't know of any ready-made implementations that can provide citations, though.

<!-- gh-comment-id:1954609536 --> @easp commented on GitHub (Feb 20, 2024): Ollama just provides a way to run and query LLMs. LLMs on their own can't provide citations of the information they provide and if they are asked to, they will usually make up citations to sources that don't exist. Perplexity has another layer between user and LLM which allows the LLM to retrieve information using internet search and then create an answer based on that. This is generally known as Retrieval Augmented Generation, or RAG. At this point, RAG has to be implemented on top of Ollama. I don't know of any ready-made implementations that can provide citations, though.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#48050