Spaces:
Sleeping
Sleeping
Delete NOTES.md
Browse files
NOTES.md
DELETED
|
@@ -1,40 +0,0 @@
|
|
| 1 |
-
## Update Notes
|
| 2 |
-
|
| 3 |
-
Date: 2026-05-05
|
| 4 |
-
|
| 5 |
-
This update fixes answer-thread linking and adds runtime-only related answers without changing the data schema.
|
| 6 |
-
|
| 7 |
-
### What changed
|
| 8 |
-
|
| 9 |
-
1. Answer linking fix
|
| 10 |
-
- Frontend answer submissions now include the current question text.
|
| 11 |
-
- Backend answer attachment now checks whether the loaded conversation actually belongs to that question.
|
| 12 |
-
- If the user is answering a new question that was only semantically matched, a fresh conversation is created before saving the answer.
|
| 13 |
-
|
| 14 |
-
2. Related answers
|
| 15 |
-
- `ask` now returns a `related` list built from the top semantic matches at runtime.
|
| 16 |
-
- Related answers are read-only in the UI and are shown as contextual help, not as part of the active thread.
|
| 17 |
-
- No database migration or schema change was introduced.
|
| 18 |
-
|
| 19 |
-
3. UI and UX polish
|
| 20 |
-
- Added the app logo from `logo.png` to the top bar and page icon.
|
| 21 |
-
- Related answers are visually separated from the main thread to reduce confusion.
|
| 22 |
-
- The diffusion animation now reveals answer text progressively by token instead of using a single blur-to-clear block.
|
| 23 |
-
|
| 24 |
-
### Behavior after update
|
| 25 |
-
|
| 26 |
-
- Exact match:
|
| 27 |
-
- shows the best answer
|
| 28 |
-
- shows other answers
|
| 29 |
-
- shows related answers
|
| 30 |
-
|
| 31 |
-
- Similar-but-not-same match:
|
| 32 |
-
- can still show existing knowledge
|
| 33 |
-
- does not write into the matched conversation
|
| 34 |
-
- creates a correct new conversation when the user submits an answer
|
| 35 |
-
|
| 36 |
-
### Files changed
|
| 37 |
-
|
| 38 |
-
- `main.py`
|
| 39 |
-
- `index.html`
|
| 40 |
-
- `NOTES.md`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|