| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final AiPreferences | |
| private final ListProperty | |
| private final ObjectProperty | |
| private List | |
| private final DialogService | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final EmbeddingModelCache | |
| private final dev.langchain4j.store.embedding.EmbeddingStore | |
| private final ListProperty | |
| private static final String | |
| private static final String | |
| private static final String | |
| private final FilePreferences | |
| private final ListProperty | |
| private final TreeMap | |
| private final ListProperty | |
| private org.jabref.logic.util.BackgroundTask | |
| private final ObjectProperty | |
| private final IngestedDocumentsRepository | |
| private final IngestionTaskAggregator | |
| private static final Logger | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final StringProperty | |
| private final TaskExecutor | |
| private final TreeMap | |
| private final StringProperty |
| Access | Constructor and Description |
|---|---|
| public | AiChatViewModel(AiPreferences aiPreferences, FilePreferences filePreferences, DialogService dialogService, IngestionTaskAggregator ingestionTaskAggregator, IngestedDocumentsRepository ingestedDocumentsRepository, dev.langchain4j.store.embedding.EmbeddingStore<dev.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public ListProperty | |
| public ObjectProperty | |
| private boolean | |
| private void | |
| public void | |
| public ListProperty | |
| public ListProperty | |
| public ListProperty | |
| public void | |
| public void | |
| public ObjectProperty | |
| private void | |
| public void | |
| public void | |
| private void | |
| private void | |
| private void | |
| public void | |
| public ObjectProperty |
| aiPreferences | back to summary |
|---|---|
| private final AiPreferences aiPreferences | |
| chatHistory | back to summary |
|---|---|
| private final ListProperty<ChatMessage> chatHistory | |
| chatModel | back to summary |
|---|---|
| private final ObjectProperty<ChatModel> chatModel | |
| currentEntriesSnapshot | back to summary |
|---|---|
| private List<FullBibEntry> currentEntriesSnapshot | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| documentSplitter | back to summary |
|---|---|
| private final ObjectProperty<DocumentSplitter> documentSplitter | |
| embeddingModel | back to summary |
|---|---|
| private final ObjectProperty<AsyncEmbeddingModel> embeddingModel | |
| embeddingModelCache | back to summary |
|---|---|
| private final EmbeddingModelCache embeddingModelCache | |
| embeddingStore | back to summary |
|---|---|
| private final dev.langchain4j.store.embedding.EmbeddingStore<dev. | |
| entries | back to summary |
|---|---|
| private final ListProperty<FullBibEntry> entries | |
| EXAMPLE_QUESTION_1 | back to summary |
|---|---|
| private static final String EXAMPLE_QUESTION_1 | |
| EXAMPLE_QUESTION_2 | back to summary |
|---|---|
| private static final String EXAMPLE_QUESTION_2 | |
| EXAMPLE_QUESTION_3 | back to summary |
|---|---|
| private static final String EXAMPLE_QUESTION_3 | |
| filePreferences | back to summary |
|---|---|
| private final FilePreferences filePreferences | |
| followUpQuestions | back to summary |
|---|---|
| private final ListProperty<String> followUpQuestions | |
| followUpQuestionsCache | back to summary |
|---|---|
| private final TreeMap<List<FullBibEntry>, List<String>> followUpQuestionsCache | |
| generateEmbeddingsTasks | back to summary |
|---|---|
| private final ListProperty<GenerateEmbeddingsTask> generateEmbeddingsTasks | |
| generateFollowUpQuestionsTask | back to summary |
|---|---|
| private org.jabref.logic.util.BackgroundTask<List<String>> generateFollowUpQuestionsTask | |
| generateRagResponseTask | back to summary |
|---|---|
| private final ObjectProperty<GenerateRagResponseTask> generateRagResponseTask | |
| ingestedDocumentsRepository | back to summary |
|---|---|
| private final IngestedDocumentsRepository ingestedDocumentsRepository | |
| ingestionTaskAggregator | back to summary |
|---|---|
| private final IngestionTaskAggregator ingestionTaskAggregator | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| responseEngine | back to summary |
|---|---|
| private final ObjectProperty<ResponseEngine> responseEngine | |
| state | back to summary |
|---|---|
| private final ObjectProperty<AiChatViewModel. | |
| systemMessageTemplate | back to summary |
|---|---|
| private final StringProperty systemMessageTemplate | |
| taskExecutor | back to summary |
|---|---|
| private final TaskExecutor taskExecutor | |
| tasksMap | back to summary |
|---|---|
| private final TreeMap<List<FullBibEntry>, GenerateRagResponseTask> tasksMap | |
| userMessageTemplate | back to summary |
|---|---|
| private final StringProperty userMessageTemplate | |
| AiChatViewModel | back to summary |
|---|---|
| public AiChatViewModel(AiPreferences aiPreferences, FilePreferences filePreferences, DialogService dialogService, IngestionTaskAggregator ingestionTaskAggregator, IngestedDocumentsRepository ingestedDocumentsRepository, dev.langchain4j.store.embedding.EmbeddingStore<dev. | |
| cancel | back to summary |
|---|---|
| public void cancel() | |
| changeEmbeddingTasks | back to summary |
|---|---|
| private void changeEmbeddingTasks() | |
| chatHistoryProperty | back to summary |
|---|---|
| public ListProperty | |
| chatModelProperty | back to summary |
|---|---|
| public ObjectProperty | |
| checkIngested | back to summary |
|---|---|
| private boolean checkIngested(FullBibEntry fullBibEntry, LinkedFile linkedFile) | |
| clearGenerateRagResponseTask | back to summary |
|---|---|
| private void clearGenerateRagResponseTask() | |
| delete | back to summary |
|---|---|
| public void delete(String id) | |
| entriesProperty | back to summary |
|---|---|
| public ListProperty | |
| followUpQuestionsProperty | back to summary |
|---|---|
| public ListProperty | |
| generateEmbeddingsTasksProperty | back to summary |
|---|---|
| public ListProperty | |
| regenerate | back to summary |
|---|---|
| public void regenerate(String id) | |
| regenerate | back to summary |
|---|---|
| public void regenerate() | |
| responseEngineProperty | back to summary |
|---|---|
| public ObjectProperty | |
| scheduleFollowUpQuestionsGeneration | back to summary |
|---|---|
| private void scheduleFollowUpQuestionsGeneration(String userMessage, String aiResponse) | |
| sendFollowUpMessage | back to summary |
|---|---|
| public void sendFollowUpMessage(String question) | |
| sendMessage | back to summary |
|---|---|
| public void sendMessage(String userMessage) | |
| setupBindings | back to summary |
|---|---|
| private void setupBindings() | |
| setupListeners | back to summary |
|---|---|
| private void setupListeners() | |
| setupValues | back to summary |
|---|---|
| private void setupValues() | |
| showInfo | back to summary |
|---|---|
| public void showInfo() | |
| stateProperty | back to summary |
|---|---|
| public ObjectProperty | |
| Modifier and Type | Field and Description |
|---|---|
| public static final AiChatViewModel. | |
| public static final AiChatViewModel. | |
| public static final AiChatViewModel. | |
| public static final AiChatViewModel. | |
| public static final AiChatViewModel. | |
| public static final AiChatViewModel. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static AiChatViewModel. | |
| public static AiChatViewModel. |
| AI_TURNED_OFF | back to summary |
|---|---|
| public static final AiChatViewModel. | |
| ERROR | back to summary |
|---|---|
| public static final AiChatViewModel. | |
| IDLE | back to summary |
|---|---|
| public static final AiChatViewModel. | |
| NO_FILES | back to summary |
|---|---|
| public static final AiChatViewModel. | |
| RESTART_NEEDED | back to summary |
|---|---|
| public static final AiChatViewModel. | |
| WAITING_FOR_MESSAGE | back to summary |
|---|---|
| public static final AiChatViewModel. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static AiChatViewModel. | |
| values | back to summary |
|---|---|
| public static AiChatViewModel. | |