summaryrefslogtreecommitdiff
path: root/rag/generator/prompt.py
diff options
context:
space:
mode:
Diffstat (limited to 'rag/generator/prompt.py')
-rw-r--r--rag/generator/prompt.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/rag/generator/prompt.py b/rag/generator/prompt.py
index ed372c9..059592a 100644
--- a/rag/generator/prompt.py
+++ b/rag/generator/prompt.py
@@ -2,10 +2,7 @@ from dataclasses import dataclass
from typing import List
-try:
- from rag.retriever.vector import Document
-except ModuleNotFoundError:
- from retriever.vector import Document
+from rag.retriever.vector import Document
@dataclass