[PR #4096] fixed inconsistent variable naming #3639

Closed
opened 2026-02-20 17:48:55 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/4096

State: closed
Merged: Yes


Summary

This pull request fixes an inconsistency in the vector store index configuration.

According to the documentation, the expected format for a vector store index is:

{
  "store": {
    "index": {
      "embed": "openai:text-embeddings-3-small",
      "dims": 1536,
      "fields": ["text", "summary"]
    }
  }
}

However, in the Postgres vector store implementation, the parameter was named text-fields instead of fields. This PR renames the parameter to fields to align with the documented format and maintain consistency across vector store backends.

Rationale

  • Improves consistency with the documented interface.
  • Reduces potential confusion and improves interoperability.

Let me know if any additional changes are needed!

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/4096 **State:** closed **Merged:** Yes --- ## Summary This pull request fixes an inconsistency in the vector store index configuration. According to the documentation, the expected format for a vector store index is: ``` { "store": { "index": { "embed": "openai:text-embeddings-3-small", "dims": 1536, "fields": ["text", "summary"] } } } ``` However, in the Postgres vector store implementation, the parameter was named `text-fields` instead of `fields`. This PR renames the parameter to `fields` to align with the documented format and maintain consistency across vector store backends. ## Rationale - Improves consistency with the documented interface. - Reduces potential confusion and improves interoperability. Let me know if any additional changes are needed!
yindo added the pull-request label 2026-02-20 17:48:55 -05:00
yindo closed this issue 2026-02-20 17:48:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#3639