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
* progress restructuring
* useMainChatAPI
* rearranged runQuery to show results faster
* edited styling
* copyright, added LLM warning to query history names
* added linkq status type, refactored LinkQChatMessageType
* linkq status checkpoint
* fixed type issues, added status badge
* can edit API key through UI
* separated settings component
---------
Co-authored-by: Harry Li <harry.li@ll.mit.edu>
<p>This results summary was generated by an LLM that can make mistakes. Refer below to the Results Table from KG for ground-truth data.</p>
76
-
<p>Note that the absence of data does not necessairly mean that there is no data. It is possible that the query did not find what that you are looking for.</p>
77
-
</LLMWarning>
78
-
79
-
<p>{results.summary}</p>
80
-
</div>
81
-
) : <ErrorMessage>There was an error generating a summary.</ErrorMessage>}
82
-
83
-
<hr/>
84
-
85
-
<Titleorder={4}>
86
-
Results Table from KG
87
-
<InfoModaltitle="Results Table from KG">
88
-
<p>These are ground-truth results retrieved from the KG using the query you executed.</p>
89
-
<p>Note that the absence of data does not necessairly mean that there is no data. It is possible that the query did not find what that you are looking for.</p>
90
-
</InfoModal>
91
-
</Title>
92
-
<ResultsTabledata={results.data}/>
93
-
</>
94
-
)
95
-
}
96
-
else{
97
-
return<pid={styles["empty-results-message"]}><b>Run a query to see results!</b></p>
<p>You need to configure the <code>VITE_OPENAI_API_KEY</code> environment variable in your <code>.env.local</code> file.</p>
22
+
<Settings/>
23
+
24
+
<p>You need to configure the <code>VITE_OPENAI_API_KEY</code> environment variable in your <code>.env.local</code> file or update your API key in the settings menu.</p>
<p>This was generated by an LLM that can make mistakes.</p>
158
142
</LLMWarning>
143
+
<br/>
159
144
160
145
<RenderSparqlQuery
161
146
pre={parsedQuery.pre}
@@ -217,11 +202,42 @@ function RenderSparqlQuery({
217
202
</div>
218
203
<pre>{post}</pre>
219
204
<br/>
220
-
<ButtononClick={()=>setInputText("You identified the wrong data. I was actually looking for: ")}style={{marginTop:"0.5rem"}}>You identified the wrong data</Button>
205
+
<ButtononClick={()=>setInputText("You identified the wrong data. I was actually looking for: ")}>You identified the wrong data</Button>
221
206
<br/>
222
-
<ButtononClick={()=>setInputText("You misunderstood my question. I was actually asking about: ")}style={{marginTop:"0.5rem"}}>You misunderstood my question</Button>
207
+
<ButtononClick={()=>setInputText("You misunderstood my question. I was actually asking about: ")}>You misunderstood my question</Button>
223
208
<br/>
224
209
<ButtononClick={()=>setInputText("I want to ask something different: ")}>I want to ask something different</Button>
0 commit comments