From fab91bf7aba3a46347220b5bac030181f3617b6e Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Wed, 26 Nov 2025 12:32:27 +0100 Subject: [PATCH 1/3] Add collection of "all" AI features --- docs/code-howtos/ai.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/code-howtos/ai.md diff --git a/docs/code-howtos/ai.md b/docs/code-howtos/ai.md new file mode 100644 index 00000000000..2ed8dcd62ca --- /dev/null +++ b/docs/code-howtos/ai.md @@ -0,0 +1,32 @@ +--- +parent: Code Howtos +--- + +# AI + +The AI feature of JabRef is build on [LangChain4j](https://github.com/langchain4j/langchain4j) and [Deep Java Library](https://djl.ai/). + +## Architectural Decisions + +See [ADR-0037](../decisions/0037-rag-architecture-implementation.md) for the decision regarding the RAG infrastructure. + +## Feature "Chat with PDF(s)" + +This is implemented mainly in the class [org.jabref.logic.ai.chatting.AiChatLogic]. +From there, one will find preferences and other required infrastructure. + +## Feature "Summarize PDF(s)" + +This is implemented in the class [org.jabref.logic.ai.summarization.GenerateSummaryTask]. + +## Feature "BibTeX from Reference Text" + +The general interface is [org.jabref.logic.importer.plaincitation.PlainCitationParser]. +The class implementing it using AI is [org.jabref.logic.importer.plaincitation.LlmPlainCitationParser]. + +## Feature "Reference Extractor" + +Extracts the list of references (Section "References") from the last page of the PDF to a List of BibEntry. + +The general interface is [org.jabref.logic.importer.fileformat.pdf.BibliographyFromPdfImporter]. +The class implementing it using AI is [org.jabref.logic.importer.plaincitation.LlmPlainCitationParser]. From 6c7ab75f09b760ede2d6419bbbacbed569bd5a85 Mon Sep 17 00:00:00 2001 From: ThiloteE <73715071+ThiloteE@users.noreply.github.com> Date: Wed, 26 Nov 2025 12:55:13 +0100 Subject: [PATCH 2/3] Fix typo --- docs/code-howtos/ai.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/code-howtos/ai.md b/docs/code-howtos/ai.md index 2ed8dcd62ca..701bab491f6 100644 --- a/docs/code-howtos/ai.md +++ b/docs/code-howtos/ai.md @@ -4,7 +4,7 @@ parent: Code Howtos # AI -The AI feature of JabRef is build on [LangChain4j](https://github.com/langchain4j/langchain4j) and [Deep Java Library](https://djl.ai/). +The AI feature of JabRef is built on [LangChain4j](https://github.com/langchain4j/langchain4j) and [Deep Java Library](https://djl.ai/). ## Architectural Decisions From 9f1846d5549840ed67692217de9fe2662ec2fb3b Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Fri, 28 Nov 2025 01:30:59 +0100 Subject: [PATCH 3/3] Add link to references glossary entry --- docs/code-howtos/ai.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/code-howtos/ai.md b/docs/code-howtos/ai.md index 701bab491f6..aa4f9c45e1f 100644 --- a/docs/code-howtos/ai.md +++ b/docs/code-howtos/ai.md @@ -26,7 +26,7 @@ The class implementing it using AI is [org.jabref.logic.importer.plaincitation.L ## Feature "Reference Extractor" -Extracts the list of references (Section "References") from the last page of the PDF to a List of BibEntry. +Extracts the list of references (Section ["References"](../glossary/references.md)) from the last page of the PDF to a List of BibEntry. The general interface is [org.jabref.logic.importer.fileformat.pdf.BibliographyFromPdfImporter]. The class implementing it using AI is [org.jabref.logic.importer.plaincitation.LlmPlainCitationParser].