mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-26 21:39:43 +02:00
retrieved_context: package surface
This commit is contained in:
parent
1f5da25ef5
commit
9ffbba8d8c
1 changed files with 16 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
"""Retrieved knowledge-base evidence rendered as the ``<retrieved_context>`` block.
|
||||
|
||||
Turns retrieved chunks into the model-facing block and registers each passage
|
||||
into the citation registry so ``[n]`` resolves back to a real chunk.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from .models import RetrievedDocument, RetrievedPassage
|
||||
from .renderer import render_retrieved_context
|
||||
|
||||
__all__ = [
|
||||
"RetrievedDocument",
|
||||
"RetrievedPassage",
|
||||
"render_retrieved_context",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue