Verified Owner
Top Description Fields Constructors Methods
org.jabref.logic.ai.summarization.exporters

public Class AiSummaryJsonExporter

extends Object
implements AiSummaryExporter
Class Inheritance
All Implemented Interfaces
org.jabref.logic.ai.summarization.exporters.AiSummaryExporter
Imports
java.util.List, org.jabref.logic.ai.chatting.exporters.AiChatJsonExporter, org.jabref.logic.bibtex.FieldPreferences, org.jabref.model.ai.AiMetadata, org.jabref.model.ai.chatting.ChatMessage, org.jabref.model.ai.summarization.AiSummary, org.jabref.model.database.BibDatabaseMode, org.jabref.model.entry.BibEntry, .BibEntryTypesManager

Exports an AI summary to JSON format.

Internally constructs a single-message dummy chat containing the summary content and delegates to AiChatJsonExporter.

Field Summary

Modifier and TypeField and Description
private final AiChatJsonExporter

Constructor Summary

AccessConstructor and Description
public
AiSummaryJsonExporter(BibEntryTypesManager entryTypesManager, FieldPreferences fieldPreferences)

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

chatExporterback to summary
private final AiChatJsonExporter chatExporter

Constructor Detail

AiSummaryJsonExporterback to summary
public AiSummaryJsonExporter(BibEntryTypesManager entryTypesManager, FieldPreferences fieldPreferences)

Method Detail

exportback to summary
public String export(AiMetadata metadata, BibEntry entry, BibDatabaseMode mode, AiSummary summary)

Implements org.jabref.logic.ai.summarization.exporters.AiSummaryExporter.export.

Annotations
@Override