Skip to content

Commit 2d26eaf

Browse files
MaxwellSalmonisaacbmiller
authored andcommitted
Update WeaviateRM.md (#1898)
* Update WeaviateRM.md Edited docs to reflect Weaviate client * Update WeaviateRM.md Added the same line somewhere else
1 parent fe463df commit 2d26eaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/deep-dive/retrieval_models_clients/WeaviateRM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ An example of the WeaviateRM constructor:
1313

1414
```python
1515
WeaviateRM(
16-
collection_name: str
16+
weaviate_collection_name: str
1717
weaviate_client: str,
1818
k: int = 5
1919
)
@@ -44,7 +44,7 @@ from dspy.retrieve.weaviate_rm import WeaviateRM
4444
weaviate_client = weaviate.connect_to_embedded() # you can also use local or WCD
4545

4646
retriever_model = WeaviateRM(
47-
collection_name="<WEAVIATE_COLLECTION>",
47+
weaviate_collection_name="<WEAVIATE_COLLECTION>",
4848
weaviate_client=weaviate_client
4949
)
5050

0 commit comments

Comments
 (0)