Spaces:
Runtime error
Runtime error
add application files
Browse files- model/rag/rag_handler.py +1 -14
model/rag/rag_handler.py
CHANGED
@@ -86,17 +86,4 @@ class RAG:
|
|
86 |
return retrieved_cases
|
87 |
|
88 |
def get_information(self, query: str) -> List[str]:
|
89 |
-
return self.retrieve_relevant_cases(query)
|
90 |
-
from typing import List
|
91 |
-
|
92 |
-
|
93 |
-
class RAG:
|
94 |
-
|
95 |
-
def __init__(self) -> None:
|
96 |
-
pass
|
97 |
-
|
98 |
-
def get_information(self, query: str) -> List[str]:
|
99 |
-
return []
|
100 |
-
|
101 |
-
def query_pre_process(self, query: str):
|
102 |
-
return query
|
|
|
86 |
return retrieved_cases
|
87 |
|
88 |
def get_information(self, query: str) -> List[str]:
|
89 |
+
return self.retrieve_relevant_cases(query)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|