Spaces:
Sleeping
Sleeping
Removed aligment + claim verification
Browse files- src/App.js +0 -37
src/App.js
CHANGED
|
@@ -522,9 +522,6 @@ function Message({ message }) {
|
|
| 522 |
[message.text]
|
| 523 |
);
|
| 524 |
|
| 525 |
-
const validation = (message.debug && message.debug.validation) || null;
|
| 526 |
-
const claimValidation = (message.debug && message.debug.claim_validation) || null;
|
| 527 |
-
|
| 528 |
return (
|
| 529 |
<div className={`message ${isUser ? "user" : "assistant"}`}>
|
| 530 |
<div className="bubble">
|
|
@@ -569,40 +566,6 @@ function Message({ message }) {
|
|
| 569 |
}}>
|
| 570 |
<h4 style={{ marginTop: 0, marginBottom: "10px", color: "#1a1a1a" }}>🔍 Prolog Query Analysis</h4>
|
| 571 |
|
| 572 |
-
{validation && (
|
| 573 |
-
<div style={{ marginBottom: "15px" }}>
|
| 574 |
-
<strong style={{ color: "#1a1a1a" }}>Answer ↔ Prolog Alignment (Flexible Mode):</strong>
|
| 575 |
-
<pre style={{
|
| 576 |
-
background: "#fff",
|
| 577 |
-
padding: "8px",
|
| 578 |
-
borderRadius: "4px",
|
| 579 |
-
fontSize: "0.85em",
|
| 580 |
-
overflowX: "auto",
|
| 581 |
-
color: "#1a1a1a",
|
| 582 |
-
marginTop: "6px"
|
| 583 |
-
}}>
|
| 584 |
-
{JSON.stringify(validation, null, 2)}
|
| 585 |
-
</pre>
|
| 586 |
-
</div>
|
| 587 |
-
)}
|
| 588 |
-
|
| 589 |
-
{claimValidation && (
|
| 590 |
-
<div style={{ marginBottom: "15px" }}>
|
| 591 |
-
<strong style={{ color: "#1a1a1a" }}>Claim Validation (Flexible Mode):</strong>
|
| 592 |
-
<pre style={{
|
| 593 |
-
background: "#fff",
|
| 594 |
-
padding: "8px",
|
| 595 |
-
borderRadius: "4px",
|
| 596 |
-
fontSize: "0.85em",
|
| 597 |
-
overflowX: "auto",
|
| 598 |
-
color: "#1a1a1a",
|
| 599 |
-
marginTop: "6px"
|
| 600 |
-
}}>
|
| 601 |
-
{JSON.stringify(claimValidation, null, 2)}
|
| 602 |
-
</pre>
|
| 603 |
-
</div>
|
| 604 |
-
)}
|
| 605 |
-
|
| 606 |
{message.debug.llm_analysis && (
|
| 607 |
<div style={{ marginBottom: "15px" }}>
|
| 608 |
<strong style={{ color: "#1a1a1a" }}>Generated Queries:</strong>
|
|
|
|
| 522 |
[message.text]
|
| 523 |
);
|
| 524 |
|
|
|
|
|
|
|
|
|
|
| 525 |
return (
|
| 526 |
<div className={`message ${isUser ? "user" : "assistant"}`}>
|
| 527 |
<div className="bubble">
|
|
|
|
| 566 |
}}>
|
| 567 |
<h4 style={{ marginTop: 0, marginBottom: "10px", color: "#1a1a1a" }}>🔍 Prolog Query Analysis</h4>
|
| 568 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 569 |
{message.debug.llm_analysis && (
|
| 570 |
<div style={{ marginBottom: "15px" }}>
|
| 571 |
<strong style={{ color: "#1a1a1a" }}>Generated Queries:</strong>
|