GitHub Actions commited on
Commit ·
9f67dd7
1
Parent(s): 163207d
Deploy from GitHub (6de6da7)
Browse files- .gitattributes +1 -1
- pyproject.toml +1 -1
- static/app.js +11 -10
- static/index.html +1 -1
.gitattributes
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
-
data/*.faiss filter=lfs diff=lfs merge=lfs -text
|
| 2 |
data/*.json filter=lfs diff=lfs merge=lfs -text
|
| 3 |
data/*.db filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 1 |
data/*.json filter=lfs diff=lfs merge=lfs -text
|
| 2 |
data/*.db filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
data/*.faiss filter=lfs diff=lfs merge=lfs -text
|
pyproject.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
[project]
|
| 2 |
name = "rag-bible"
|
| 3 |
-
version = "1.2.
|
| 4 |
description = "French Bible RAG system with FAISS + cross-encoder reranking"
|
| 5 |
requires-python = ">=3.12"
|
| 6 |
dependencies = [
|
|
|
|
| 1 |
[project]
|
| 2 |
name = "rag-bible"
|
| 3 |
+
version = "1.2.4"
|
| 4 |
description = "French Bible RAG system with FAISS + cross-encoder reranking"
|
| 5 |
requires-python = ">=3.12"
|
| 6 |
dependencies = [
|
static/app.js
CHANGED
|
@@ -442,16 +442,17 @@ document.addEventListener("DOMContentLoaded", function () {
|
|
| 442 |
// sessionStorage blocked (Safari cross-origin/privacy)
|
| 443 |
}
|
| 444 |
if (!sessionId) {
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
|
| 454 |
-
|
|
|
|
| 455 |
try {
|
| 456 |
sessionStorage.setItem("feedback_session_id", sessionId);
|
| 457 |
} catch (e) {
|
|
|
|
| 442 |
// sessionStorage blocked (Safari cross-origin/privacy)
|
| 443 |
}
|
| 444 |
if (!sessionId) {
|
| 445 |
+
try {
|
| 446 |
+
sessionId = crypto.randomUUID();
|
| 447 |
+
} catch (e) {
|
| 448 |
+
sessionId = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
| 449 |
+
/[xy]/g,
|
| 450 |
+
function (c) {
|
| 451 |
+
var r = (Math.random() * 16) | 0;
|
| 452 |
+
return (c === "x" ? r : (r & 0x3) | 0x8).toString(16);
|
| 453 |
+
}
|
| 454 |
+
);
|
| 455 |
+
}
|
| 456 |
try {
|
| 457 |
sessionStorage.setItem("feedback_session_id", sessionId);
|
| 458 |
} catch (e) {
|
static/index.html
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
<h2 class="sidebar-title">Historique</h2>
|
| 66 |
<div class="history-list"></div>
|
| 67 |
<p class="history-empty">Vos recherches apparaîtront ici</p>
|
| 68 |
-
<p class="sidebar-version">v1.2.
|
| 69 |
</aside>
|
| 70 |
|
| 71 |
<div class="hero-section">
|
|
|
|
| 65 |
<h2 class="sidebar-title">Historique</h2>
|
| 66 |
<div class="history-list"></div>
|
| 67 |
<p class="history-empty">Vos recherches apparaîtront ici</p>
|
| 68 |
+
<p class="sidebar-version">v1.2.4</p>
|
| 69 |
</aside>
|
| 70 |
|
| 71 |
<div class="hero-section">
|