You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,15 +80,17 @@ public boolean shouldShow(BibEntry entry) {
75
80
@Override
76
81
protectedvoidbindToEntry(BibEntryentry) {
77
82
if (!aiPreferences.getEnableChatWithFiles()) {
78
-
setContent(newLabel(Localization.lang("JabRef uses OpenAI to enable \"chatting\" with PDF files. OpenAI is an external service. To enable JabRef chatgting with PDF files, the content of the PDF files need to be shared with OpenAI. As soon as you ask a question, the text content of all PDFs attached to the entry are send to OpenAI. The privacy policy of OpenAI applies. You find it at <https://openai.com/policies/privacy-policy/>.")));
setContent(newLabel(Localization.lang("Please provide a citation key for the entry in order to enable chatting with PDF files.")));
87
+
setContent(newErrorStateComponent(Localization.lang("Error"), Localization.lang("Please provide a citation key for the entry in order to enable chatting with PDF files.")));
setContent(newLabel(Localization.lang("Please provide a unique citation key for the entry in order to enable chatting with PDF files.")));
89
+
setContent(newErrorStateComponent(Localization.lang("Error"), Localization.lang("Please provide a unique citation key for the entry in order to enable chatting with PDF files.")));
setContent(newErrorStateComponent(Localization.lang("Unable to chat"), Localization.lang("Please attach at least one PDF file to enable chatting with PDF files.")));
<TextstrokeType="OUTSIDE"strokeWidth="0.0"text="%JabRef uses OpenAI to enable "chatting" with PDF files. OpenAI is an external service. To enable JabRef chatgting with PDF files, the content of the PDF files need to be shared with OpenAI.">
21
+
<font>
22
+
<Fontsize="14.0" />
23
+
</font>
24
+
</Text>
25
+
<TextlayoutX="20.0"layoutY="77.0"strokeType="OUTSIDE"strokeWidth="0.0"text="%As soon as you ask a question, the text content of all PDFs attached to the entry are send to OpenAI.">
26
+
<font>
27
+
<Fontsize="14.0" />
28
+
</font>
29
+
</Text>
30
+
<TextFlow>
31
+
<children>
32
+
<TextstrokeType="OUTSIDE"strokeWidth="0.0"text="%The privacy policy of OpenAI applies. You find it at">
0 commit comments