fix: lightrag settings (#649) #none
* Update lightrag_pipelines.py * Update nano_pipelines.py * fix: lightrag setting prompts --------- Co-authored-by: RoadToNowhereX <37441177+RoadToNowhereX@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
276bf56225
commit
756f46893f
@@ -259,6 +259,7 @@ class LightRAGIndexingPipeline(GraphRAGIndexingPipeline):
|
|||||||
if all(
|
if all(
|
||||||
keyword not in prompt_name.lower() for keyword in blacklist_keywords
|
keyword not in prompt_name.lower() for keyword in blacklist_keywords
|
||||||
)
|
)
|
||||||
|
and isinstance(content, str)
|
||||||
}
|
}
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
|||||||
@@ -255,6 +255,7 @@ class NanoGraphRAGIndexingPipeline(GraphRAGIndexingPipeline):
|
|||||||
if all(
|
if all(
|
||||||
keyword not in prompt_name.lower() for keyword in blacklist_keywords
|
keyword not in prompt_name.lower() for keyword in blacklist_keywords
|
||||||
)
|
)
|
||||||
|
and isinstance(content, str)
|
||||||
}
|
}
|
||||||
except ImportError as e:
|
except ImportError as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user