From c6a12493e68d96873add87ae7b75e545fa80a18b Mon Sep 17 00:00:00 2001 From: Ryan Michael Date: Thu, 25 Jan 2024 16:19:41 -0500 Subject: [PATCH] orphan code --- dewy/chunks/models.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/dewy/chunks/models.py b/dewy/chunks/models.py index 3482d69..07df53a 100644 --- a/dewy/chunks/models.py +++ b/dewy/chunks/models.py @@ -58,21 +58,6 @@ class RetrieveRequest(BaseModel): include_summary: bool = False """Whether to include a generated summary.""" - - - -class RetrieveResult(BaseModel): - chunk_id: int - - document_id: int - - score: float - """The similarity score of this chunk.""" - - text: Optional[str] = Field(..., description="Textual description of the chunk.") - - metadata: Union[TextChunk, ImageChunk] = Field(..., discriminator='kind') - class TextResult(BaseModel): chunk_id: int """The ID of the chunk associated with this result"""