Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/code-howtos/ai.md
Original file line number Diff line number Diff line change
@@ -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.
Copy link
Member

@ThiloteE ThiloteE Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where exactly is the section "References"? Can we add a link there? Is this supposed to refer to something in the UI of JabRef or something in the code of JabRef or something in the JabRef documentation?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the in a paper

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I linked https://devdocs.jabref.org/glossary/references.html - maybe we can refine that text with screenshots etc.


The general interface is [org.jabref.logic.importer.fileformat.pdf.BibliographyFromPdfImporter].
The class implementing it using AI is [org.jabref.logic.importer.plaincitation.LlmPlainCitationParser].
Loading