Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/langchain_google_alloydb_pg/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add back the Error for duplicated


Args:
table_name (str): The PgSQL database table name.
Expand Down
Loading