From 3cc4cb2488b76ed3c5bc39eb6781ce8f8db8a20b Mon Sep 17 00:00:00 2001 From: Abed Salekin Date: Mon, 13 Apr 2026 12:33:45 -0400 Subject: [PATCH] docs: improve docstring for _ainit_document_table --- src/langchain_google_alloydb_pg/engine.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/langchain_google_alloydb_pg/engine.py b/src/langchain_google_alloydb_pg/engine.py index 840b2f3a..6e46661e 100644 --- a/src/langchain_google_alloydb_pg/engine.py +++ b/src/langchain_google_alloydb_pg/engine.py @@ -436,8 +436,9 @@ async def _ainit_document_table( store_metadata: bool = True, ) -> None: """ - Create a table for saving of langchain documents. - If table already exists, a DuplicateTableError error is thrown. + Initializes a table for storing documents in AlloyDB. + This method creates the required schema for storing text data + and associated metadata used by LangChain. Args: table_name (str): The PgSQL database table name.