Class SearchRagDocument


  • public class SearchRagDocument
    extends Object
    Individual RAG document information.
    • Constructor Detail

      • SearchRagDocument

        public SearchRagDocument​(String id,
                                 String modelId,
                                 String filename,
                                 OffsetDateTime createdAt,
                                 int totalMatches,
                                 OffsetDateTime lastMatchAt,
                                 String status)
        Creates a new SearchRagDocument instance.
        Parameters:
        id - Unique identifier of the RAG document.
        modelId - Model identifier linked to the RAG document.
        filename - Original filename of the uploaded document.
        createdAt - Date and time of the document creation.
        totalMatches - Number of times this document was used in an inference.
        lastMatchAt - Date and time of the latest matching inference, if any.
        status - Current status of the RAG document.
      • SearchRagDocument

        public SearchRagDocument()
    • Method Detail

      • getId

        public String getId()
        Unique identifier of the RAG document.
      • getModelId

        public String getModelId()
        Model identifier linked to the RAG document.
      • getFilename

        public String getFilename()
        Original filename of the uploaded document.
      • getCreatedAt

        public OffsetDateTime getCreatedAt()
        Date and time of the document creation.
      • getTotalMatches

        public int getTotalMatches()
        Number of times this document was used in an inference.
      • getLastMatchAt

        public OffsetDateTime getLastMatchAt()
        Date and time of the latest matching inference, if any.
      • getStatus

        public String getStatus()
        Current status of the RAG document.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object