mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
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:
parent
5da9f9abcb
commit
ea9c3cc9c9
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user