Skip to content

The agent engineering platform.

community: list valid values for LanceDB constructor's `mode` argument (#28296)

Pat Patterson2ee37a1c7bf5
diff --git a/libs/community/langchain_community/vectorstores/lancedb.py b/libs/community/langchain_community/vectorstores/lancedb.py
index d790fa169c..bcde354e88 100644
--- a/libs/community/langchain_community/vectorstores/lancedb.py
+++ b/libs/community/langchain_community/vectorstores/lancedb.py
@@ -43,7 +43,8 @@ class LanceDB(VectorStore):
table_name: Name of the table to use. Defaults to ``vectorstore``.
api_key: API key to use for LanceDB cloud database.
region: Region to use for LanceDB cloud database.
- mode: Mode to use for adding data to the table. Defaults to ``overwrite``.
+ mode: Mode to use for adding data to the table. Valid values are
+ ``append`` and ``overwrite``. Defaults to ``overwrite``.