Reliable Citations in API

Recently Claude added a citations API which makes using them for RAG use cases a lot more appealing. Currently, any way of using citations with OpenAI’s API has been unsuccessful. A lot of it is unreliable.

I’m wondering if anyone has a solution or thinks this is something OpenAI will add in the near future. Usually I s*** on Claude’s API but this is the one time I need OpenAI to add something I find rather important to many companies.

2 Likes

Hi @khosraw and welcome to the community!

Oddly enough, I recently learned there is citations feature within the Assistants API as part of message annotations! So if you use Assistants API, it’s there already. Not sure if there will be a more general solution over chat completions API.

1 Like

Yes, do know about that, although even the Assistants API’s citation feature isn’t always accurate in what it cites, on top of the fact that I can’t attach plain text and label it as a resource to be cited. The normal chat completions API likely doesn’t have any citations at all.

1 Like