Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update WeaviateRM.md (#1898)

MaxwellSalmon6dcb1fb6c0d6
diff --git a/docs/docs/deep-dive/retrieval_models_clients/WeaviateRM.md b/docs/docs/deep-dive/retrieval_models_clients/WeaviateRM.md
index 0560fb8e1..ef9049cee 100644
--- a/docs/docs/deep-dive/retrieval_models_clients/WeaviateRM.md
+++ b/docs/docs/deep-dive/retrieval_models_clients/WeaviateRM.md
@@ -13,7 +13,7 @@ An example of the WeaviateRM constructor:
```python
WeaviateRM(
- collection_name: str
+ weaviate_collection_name: str
weaviate_client: str,
k: int = 5
)
@@ -44,7 +44,7 @@ from dspy.retrieve.weaviate_rm import WeaviateRM
weaviate_client = weaviate.connect_to_embedded() # you can also use local or WCD
retriever_model = WeaviateRM(
- collection_name="<WEAVIATE_COLLECTION>",
+ weaviate_collection_name="<WEAVIATE_COLLECTION>",
weaviate_client=weaviate_client
)