The JSON output includes export metadata (provider, model, timestamp), BibTeX entry data, and the conversation messages with role/content pairs.
The JSON schema of the export is handcrafted because there is no well-established export format.
| Modifier and Type | Field and Description |
|---|---|
| private final BibEntryTypesManager | |
| private final FieldPreferences | |
| private static final Logger | |
| private static final JsonMapper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| public String | export(AiMetadata metadata, List<BibEntry> entries, BibDatabaseMode mode, List<ChatMessage> messages)
Implements org.
|
| entryTypesManager | back to summary |
|---|---|
| private final BibEntryTypesManager entryTypesManager | |
| fieldPreferences | back to summary |
|---|---|
| private final FieldPreferences fieldPreferences | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| OBJECT_MAPPER | back to summary |
|---|---|
| private static final JsonMapper OBJECT_MAPPER | |
| AiChatJsonExporter | back to summary |
|---|---|
| public AiChatJsonExporter(BibEntryTypesManager entryTypesManager, FieldPreferences fieldPreferences) | |
| entryToBibtex | back to summary |
|---|---|
| private String entryToBibtex(BibEntry entry, BibDatabaseMode mode) | |
| export | back to summary |
|---|---|
| public String export(AiMetadata metadata, List<BibEntry> entries, BibDatabaseMode mode, List<ChatMessage> messages) Implements org.
| |