News for hackers. Stuff that matters.
Re:Citations on the Anthropic API by dragonwriter on Thursday January 23, 2025 @07:25PM (#42809406)
This new feature is restricted to sources you provide in the context window: “With Citations, users can now add source documents to the context window, and when querying the model, Claude automatically cites claims in its output that are inferred from those sources.”
Re:Citations on the Anthropic API by 4ad on Thursday January 23, 2025 @07:27PM (#42809418)
Yeah, I see that now. Completely useless.
Re:Citations on the Anthropic API by simonw on Thursday January 23, 2025 @07:53PM (#42809548)
Why is that useless?

If you want reliable citations, this is an API that can help you implement reliable citations.

Asking a model to return useful citations from its model weights with no assistance from external systems isn't how this stuff works.

Re:Citations on the Anthropic API by robwwilliams on Thursday January 23, 2025 @08:10PM (#42809627)
Ditto: RAGs are currently way too limited. A RAG built using all of PubMed and updated weekly would be a very different story. I would pay good money for that.
Re:Citations on the Anthropic API by 4ad on Thursday January 23, 2025 @08:06PM (#42809605)
If I had the stuff to feed into the LLM context, I wouldn't need the LLM to find the stuff for me because I would already have it.
Re:Citations on the Anthropic API by dllthomas on Thursday January 23, 2025 @08:42PM (#42809794)
"Completely useless" might be too strong. In a context where you're already doing RAG it would help you verify what's produced.

Certainly it's radically less useful than if it could produce citations to the training set, though.

Re:Citations on the Anthropic API by simonw on Thursday January 23, 2025 @09:29PM (#42809997)
Sounds to me like you want a search engine, not an LLM.
Re:Citations on the Anthropic API by dragonwriter on Thursday January 23, 2025 @10:51PM (#42810339)
Typically, you wouldn't manually select the documents in a query, you’d use this as part of a system wrapped around the LLM where a query (possibly itself from the model like other tool invocations) would be sent out to a web api, vectord DB, etc., return documents that would be fed back in to the model as part of a continuation query, and then the model would frame a response citing the relevant sources for elements of the response.
Re:Citations on the Anthropic API by vunderba on Friday January 24, 2025 @01:20PM (#42815760)
Patently untrue. If I have hundreds of PDF research papers totaling thousands of pages - just because I have them doesn't necessarily mean I know where to search. Having an LLM be able to find related pieces across all of these documents and extrapolate is tremendously useful.
Re:Citations on the Anthropic API by 4ad on Friday January 24, 2025 @02:15PM (#42816137)
A thousand pages is something reviewable by hand (albeit slowly) and easily amendable to grep. Anything that trivially fits in computer memory doesn't benefit from approximate search methods. I stand by what I said.
Re:Citations on the Anthropic API by saaaaaam on Friday January 24, 2025 @02:10AM (#42811150)
Not useless at all. This is exactly my primary use of the Anthropic api: feed in a source document and ask for specific outputs that include exact citations from the source I provide.