diff --git a/graphiti_core/driver/kuzu_driver.py b/graphiti_core/driver/kuzu_driver.py index 8b8f3bb1..a99a0147 100644 --- a/graphiti_core/driver/kuzu_driver.py +++ b/graphiti_core/driver/kuzu_driver.py @@ -160,7 +160,7 @@ class KuzuDriver(GraphDriver): # Only load the `fts` extension if it's not already loaded, otherwise throw an error. result, _, _ = await self.execute_query('CALL SHOW_LOADED_EXTENSIONS() RETURN *;') - if len(result) == 0: + if not any('fts' in str(ext).lower() for ext in result): fulltext_indices.insert( 0, """