Commit abf312d
authored
Display context chunks in ask and search results (#149)
* Printing querying time
* Adding source name to chunks
Adding source name as metadata to chunks, then printing the sources when searching
* Printing the context provided to LLM
To check the data transmitted to the LLMs : display the relevance, ID, content, and source of each sent chunk.
* Correcting source as metadata for chunks
* Applying ruff format
* Applying Ruff formatting
* Ruff formatting1 parent ab251ab commit abf312d
2 files changed
+25
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1239 | 1250 | | |
1240 | 1251 | | |
1241 | 1252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
1186 | 1187 | | |
1187 | 1188 | | |
1188 | 1189 | | |
| 1190 | + | |
1189 | 1191 | | |
1190 | 1192 | | |
1191 | 1193 | | |
| |||
1290 | 1292 | | |
1291 | 1293 | | |
1292 | 1294 | | |
1293 | | - | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
1294 | 1299 | | |
1295 | 1300 | | |
1296 | 1301 | | |
| |||
1388 | 1393 | | |
1389 | 1394 | | |
1390 | 1395 | | |
1391 | | - | |
1392 | | - | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
1393 | 1400 | | |
1394 | 1401 | | |
1395 | 1402 | | |
| |||
1511 | 1518 | | |
1512 | 1519 | | |
1513 | 1520 | | |
| 1521 | + | |
1514 | 1522 | | |
1515 | 1523 | | |
1516 | 1524 | | |
| |||
1542 | 1550 | | |
1543 | 1551 | | |
1544 | 1552 | | |
| 1553 | + | |
1545 | 1554 | | |
1546 | 1555 | | |
1547 | 1556 | | |
| |||
1552 | 1561 | | |
1553 | 1562 | | |
1554 | 1563 | | |
| 1564 | + | |
1555 | 1565 | | |
| 1566 | + | |
1556 | 1567 | | |
1557 | 1568 | | |
1558 | 1569 | | |
| |||
0 commit comments