mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-02 03:26:17 +00:00
[docs]: standardize vectorstores (#24797)
This commit is contained in:
@@ -155,8 +155,8 @@ def create_doc(
|
||||
str,
|
||||
typer.Option(
|
||||
help=(
|
||||
"The type of component. Currently only 'ChatModel', 'DocumentLoader' "
|
||||
"supported."
|
||||
"The type of component. Currently only 'ChatModel', "
|
||||
"'DocumentLoader', 'VectorStore' supported."
|
||||
),
|
||||
),
|
||||
] = "ChatModel",
|
||||
@@ -209,6 +209,10 @@ def create_doc(
|
||||
Path(__file__).parents[1]
|
||||
/ "integration_template/docs/document_loaders.ipynb"
|
||||
)
|
||||
elif component_type == "VectorStore":
|
||||
docs_template = (
|
||||
Path(__file__).parents[1] / "integration_template/docs/vectorstores.ipynb"
|
||||
)
|
||||
shutil.copy(docs_template, destination_path)
|
||||
|
||||
# replacements in file
|
||||
|
Reference in New Issue
Block a user