[GH-ISSUE #2038] [langchain]: Small typo in PGVectorStore code snippet #258

Closed
opened 2026-02-17 17:19:30 -05:00 by yindo · 0 comments
Owner

Originally created by @ZachariahRosenberg on GitHub (Dec 28, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/2038

Type of issue

issue / bug

Language

Python

Description

Slight mistake in PGVectoreStore snippet

https://github.com/langchain-ai/docs/blob/d215eddc919af6f5c833daf568276e0de7edb6ad/src/snippets/vectorstore-tabs-py.mdx?plain=1#L165

vector_store = PGVectorStore.create_sync(
        engine=pg_engine,
        table_name='test_table',
        embedding_service=embedding # <-- should be embeddings
    )

Just correct embedding -> embeddings.

Issue affects tutorial, semantic search#vector_stores selecting store example "PGVectorStore"

Originally created by @ZachariahRosenberg on GitHub (Dec 28, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/2038 ### Type of issue issue / bug ### Language Python ### Description Slight mistake in PGVectoreStore snippet https://github.com/langchain-ai/docs/blob/d215eddc919af6f5c833daf568276e0de7edb6ad/src/snippets/vectorstore-tabs-py.mdx?plain=1#L165 ``` vector_store = PGVectorStore.create_sync( engine=pg_engine, table_name='test_table', embedding_service=embedding # <-- should be embeddings ) ``` Just correct `embedding` -> `embeddings`. Issue affects tutorial, [semantic search#vector_stores](https://docs.langchain.com/oss/python/langchain/knowledge-base#3-vector-stores) selecting store example "PGVectorStore"
yindo added the langchainexternal labels 2026-02-17 17:19:30 -05:00
yindo closed this issue 2026-02-17 17:19:30 -05:00
yindo changed title from [langchain]: Small typo in PGVectorStore code snippet to [GH-ISSUE #2038] [langchain]: Small typo in PGVectorStore code snippet 2026-06-05 17:25:55 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#258