How do you do citations?


I've developed a unique approach to citations in my AI-powered question answering system. Here's how it works:

  1. When someone asks a question, the system retrieves the most relevant parts of my content (articles, videos, audio, etc.) to assemble an answer.

  2. As the answer is being generated, citations are added in real-time, linking to the specific sources used to create the response.

  3. These citations serve as entry points to deeper, object-specific experiences. When you click on a citation, instead of just linking out to a separate window or page, you get an expanded view of the content right within the interface.

  4. Each document type (video, audio, webpage, PDF) has a unified but document-specific interface. For example:

    • Videos have an inline player, a transcript scrubber, search functionality, auto-generated topics, and summaries.
    • Audio files have a similar setup, but with an audio player instead of a video screen.
    • Web pages have a reader view.
  5. Within each of these expanded views, you can ask additional questions scoped just to that specific document.

This approach allows users to seamlessly explore the sources behind the answers, dive deeper into specific content, and maintain context without leaving the main interface. It's a way of making the value and purpose of the system more obvious and accessible to users, while also providing a richer, more interactive experience.