chore: forgot to remove NetworkX check in NLPRetriever
This commit is contained in:
parent
50ebcedf37
commit
8d045b942e
1 changed files with 0 additions and 3 deletions
|
|
@ -122,9 +122,6 @@ class NaturalLanguageRetriever(BaseRetriever):
|
||||||
"""
|
"""
|
||||||
graph_engine = await get_graph_engine()
|
graph_engine = await get_graph_engine()
|
||||||
|
|
||||||
if isinstance(graph_engine, (NetworkXAdapter)):
|
|
||||||
raise SearchTypeNotSupported("Natural language search type not supported.")
|
|
||||||
|
|
||||||
return await self._execute_cypher_query(query, graph_engine)
|
return await self._execute_cypher_query(query, graph_engine)
|
||||||
|
|
||||||
async def get_completion(self, query: str, context: Optional[Any] = None) -> Any:
|
async def get_completion(self, query: str, context: Optional[Any] = None) -> Any:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue