Verified Owner
Top Fields Constructors Methods
org.jabref.gui.ai.chat

public Class AiGroupChatViewModel

extends AbstractViewModel
Class Inheritance
Imports
java.util.List, javafx.beans.property.BooleanProperty, .ListProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleListProperty, .SimpleObjectProperty, javafx.collections.FXCollections, org.jabref.gui.AbstractViewModel, org.jabref.gui.groups.GroupNodeViewModel, org.jabref.gui.util.BindingsHelper, org.jabref.logic.ai.AiService, org.jabref.logic.ai.chatting.InMemoryChatHistoryCache, org.jabref.logic.ai.preferences.AiPreferences, org.jabref.model.ai.chatting.ChatMessage, org.jabref.model.ai.identifiers.FullBibEntry, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry

Field Summary

Modifier and TypeField and Description
private final AiPreferences
private final ListProperty<ChatMessage>
private final InMemoryChatHistoryCache
private final ObjectProperty<BibDatabaseContext>
private final BooleanProperty
private final ListProperty<FullBibEntry>
private final ObjectProperty<GroupNodeViewModel>

Constructor Summary

AccessConstructor and Description
public
AiGroupChatViewModel(AiPreferences aiPreferences, AiService aiService)

Method Summary

Modifier and TypeMethod and Description
public ListProperty<ChatMessage>
public ObjectProperty<BibDatabaseContext>
public BooleanProperty
public ListProperty<FullBibEntry>
public ObjectProperty<GroupNodeViewModel>
private void

Field Detail

aiPreferencesback to summary
private final AiPreferences aiPreferences
chatHistoryback to summary
private final ListProperty<ChatMessage> chatHistory
chatHistoryCacheback to summary
private final InMemoryChatHistoryCache chatHistoryCache
databaseContextback to summary
private final ObjectProperty<BibDatabaseContext> databaseContext
enabledback to summary
private final BooleanProperty enabled
entriesback to summary
private final ListProperty<FullBibEntry> entries
groupNodeback to summary
private final ObjectProperty<GroupNodeViewModel> groupNode

Constructor Detail

AiGroupChatViewModelback to summary
public AiGroupChatViewModel(AiPreferences aiPreferences, AiService aiService)

Method Detail

chatHistoryPropertyback to summary
public ListProperty<ChatMessage> chatHistoryProperty()
databaseContextPropertyback to summary
public ObjectProperty<BibDatabaseContext> databaseContextProperty()
enabledPropertyback to summary
public BooleanProperty enabledProperty()
entriesPropertyback to summary
public ListProperty<FullBibEntry> entriesProperty()
groupNodePropertyback to summary
public ObjectProperty<GroupNodeViewModel> groupNodeProperty()
loadGroupChatback to summary
private void loadGroupChat()