chore: forgot to remove NetworkX check in NLPRetriever

This commit is contained in:
Daulet Amirkhanov 2025-08-15 10:56:19 +01:00
parent 50ebcedf37
commit 8d045b942e

View file

@ -122,9 +122,6 @@ class NaturalLanguageRetriever(BaseRetriever):
"""
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)
async def get_completion(self, query: str, context: Optional[Any] = None) -> Any: