feat: notion directory loader (#382)
This commit is contained in:
commit
bb8d0d90d4
2 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ documentloaders:
|
||||||
- IMSDbLoader
|
- IMSDbLoader
|
||||||
- GitbookLoader
|
- GitbookLoader
|
||||||
- ReadTheDocsLoader
|
- ReadTheDocsLoader
|
||||||
|
- NotionDirectoryLoader
|
||||||
embeddings:
|
embeddings:
|
||||||
- OpenAIEmbeddings
|
- OpenAIEmbeddings
|
||||||
- HuggingFaceEmbeddings
|
- HuggingFaceEmbeddings
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ class DocumentLoaderCreator(LangChainTypeCreator):
|
||||||
"value": "",
|
"value": "",
|
||||||
"display_name": "Web Page",
|
"display_name": "Web Page",
|
||||||
}
|
}
|
||||||
elif name in {"ReadTheDocsLoader"}:
|
elif name in {"ReadTheDocsLoader", "NotionDirectoryLoader"}:
|
||||||
signature["template"]["path"] = {
|
signature["template"]["path"] = {
|
||||||
"type": "str",
|
"type": "str",
|
||||||
"required": True,
|
"required": True,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue