@@ -1196,7 +1196,7 @@ def copy(
11961196 The method allows changing only the parameters that ensure the copy is
11971197 functional and does not trigger side-effects:
11981198 for example, one cannot create a copy acting on a new collection.
1199- In those cases, one should create a new instance of `` AstraDBVectorStore` `
1199+ In those cases, one should create a new instance of `AstraDBVectorStore`
12001200 from scratch.
12011201
12021202 Args:
@@ -3873,12 +3873,12 @@ def from_texts(
38733873 ids: ids to associate to the texts.
38743874 **kwargs: you can pass any argument that you would
38753875 to :meth:`~add_texts` and/or to the
3876- `` AstraDBVectorStore` ` constructor (see these methods for
3876+ `AstraDBVectorStore` constructor (see these methods for
38773877 details). These arguments will be
38783878 routed to the respective methods as they are.
38793879
38803880 Returns:
3881- an `` AstraDBVectorStore` ` vectorstore.
3881+ an `AstraDBVectorStore` vectorstore.
38823882 """
38833883 add_texts_inspection = inspect .getfullargspec (AstraDBVectorStore .add_texts )
38843884 method_args = (
@@ -3916,12 +3916,12 @@ async def afrom_texts(
39163916 metadatas: metadata dicts for the texts.
39173917 ids: ids to associate to the texts.
39183918 **kwargs: you can pass any argument that you would
3919- to :meth:`~aadd_texts` and/or to the `` AstraDBVectorStore` `
3919+ to :meth:`~aadd_texts` and/or to the `AstraDBVectorStore`
39203920 constructor (see these methods for details). These arguments
39213921 will be routed to the respective methods as they are.
39223922
39233923 Returns:
3924- an `` AstraDBVectorStore` ` vectorstore.
3924+ an `AstraDBVectorStore` vectorstore.
39253925 """
39263926 aadd_texts_inspection = inspect .getfullargspec (AstraDBVectorStore .aadd_texts )
39273927 method_args = (
@@ -3955,17 +3955,16 @@ def from_documents(
39553955 Utility method that defers to :meth:`from_texts` (see that one).
39563956
39573957 Args:
3958- texts: the texts to insert.
39593958 documents: a list of `Document` objects for insertion in the store.
39603959 embedding: the embedding function to use in the store.
39613960 **kwargs: you can pass any argument that you would
39623961 to :meth:`~add_texts` and/or to the
3963- `` AstraDBVectorStore` ` constructor (see these methods for
3962+ `AstraDBVectorStore` constructor (see these methods for
39643963 details). These arguments will be
39653964 routed to the respective methods as they are.
39663965
39673966 Returns:
3968- an `` AstraDBVectorStore` ` vectorstore.
3967+ an `AstraDBVectorStore` vectorstore.
39693968 """
39703969 texts = [d .page_content for d in documents ]
39713970 metadatas = [d .metadata for d in documents ]
@@ -4004,11 +4003,17 @@ async def afrom_documents(
40044003
40054004 Utility method that defers to :meth:`afrom_texts` (see that one).
40064005
4007- Args: see :meth:`afrom_texts`, except here you have to supply ``documents``
4008- in place of ``texts`` and ``metadatas``.
4006+ Args:
4007+ documents: a list of `Document` objects for insertion in the store.
4008+ embedding: the embedding function to use in the store.
4009+ **kwargs: you can pass any argument that you would
4010+ to :meth:`~aadd_texts` and/or to the
4011+ `AstraDBVectorStore` constructor (see these methods for
4012+ details). These arguments will be
4013+ routed to the respective methods as they are.
40094014
40104015 Returns:
4011- an `` AstraDBVectorStore` ` vectorstore.
4016+ an `AstraDBVectorStore` vectorstore.
40124017 """
40134018 texts = [d .page_content for d in documents ]
40144019 metadatas = [d .metadata for d in documents ]
0 commit comments