| Modifier and Type | Field and Description |
|---|---|
| private final ChatModel | |
| private final String | |
| private final EprintCleanup | |
| private final ImportFormatPreferences |
| Access | Constructor and Description |
|---|---|
| public | LlmPlainCitationParser(ImportFormatPreferences importFormatPreferences, String citationParsingSystemMessageTemplate, ChatModel chatModel)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | getDescription()
Implements abstract org. Returns the description of the import format. |
| public String | getId()
Implements abstract org. Returns a slug, which identifies this importer. |
| private String | |
| public String | getName()
Implements abstract org. Returns the name of this import format. |
| private List | |
| public List | parseMultiplePlainCitations(String text)
Overrides default org. Note that this is similar to |
| public Optional |
| chatModel | back to summary |
|---|---|
| private final ChatModel chatModel | |
| citationParsingSystemMessageTemplate | back to summary |
|---|---|
| private final String citationParsingSystemMessageTemplate | |
| eprintCleanup | back to summary |
|---|---|
| private final EprintCleanup eprintCleanup | |
| importFormatPreferences | back to summary |
|---|---|
| private final ImportFormatPreferences importFormatPreferences | |
| LlmPlainCitationParser | back to summary |
|---|---|
| public LlmPlainCitationParser(ImportFormatPreferences importFormatPreferences, String citationParsingSystemMessageTemplate, ChatModel chatModel) | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns the description of the import format. The description should specifywhat kind of entries from what sources and based on what specification it is able to importby what criteria it
| |
| getId | back to summary |
|---|---|
| public String getId() Implements abstract org. Doc from org. Returns a slug, which identifies this importer. Used, for example, to identify the importer in CLI. Typically, this name should be short, in English, and should not contain special characters like #, %, etc.
| |
| getLlmResponse | back to summary |
|---|---|
| private String getLlmResponse(String text) | |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns the name of this import format. Typically, this is a string that denotes file type or format. It can also be localized, like "XMP-annotated PDF".
| |
| parseBibEntryString | back to summary |
|---|---|
| private List | |
| parseMultiplePlainCitations | back to summary |
|---|---|
| public List Overrides default org. Doc from org. Note that this is similar to
| |
| parsePlainCitation | back to summary |
|---|---|
| public Optional Implements org.
| |