Fix syntax erros in documentation (#7409)

- Description: Tiny documentation fix. In Python, when defining function
parameters or providing arguments to a function or class constructor, we
do not use the `:` character.
- Issue: N/A
- Dependencies: N/A,
- Tag maintainer: @rlancemartin, @eyurtsev
- Twitter handle: @mogaal
This commit is contained in:
Alejandro Garrido Mota 2023-07-09 00:52:01 +01:00 committed by GitHub
parent 5da9f9abcb
commit ea9c3cc9c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,9 +89,9 @@ class Milvus(VectorStore):
embedding = OpenAIEmbeddings() embedding = OpenAIEmbeddings()
# Connect to a milvus instance on localhost # Connect to a milvus instance on localhost
milvus_store = Milvus( milvus_store = Milvus(
embedding_function: Embeddings, embedding_function = Embeddings,
collection_name = "LangChainCollection", collection_name = "LangChainCollection",
drop_old: True, drop_old = True,
) )
Raises: Raises: