Skip to content

Commit

Permalink
core[patch]: Mark GraphVectorStore as beta (#24195)
Browse files Browse the repository at this point in the history
* This PR marks graph vectorstore as beta
  • Loading branch information
eyurtsev committed Jul 12, 2024
1 parent 0a1e475 commit 8d82a0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/core/langchain_core/graph_vectorstores/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
Optional,
)

from langchain_core._api import beta
from langchain_core.callbacks import (
AsyncCallbackManagerForRetrieverRun,
CallbackManagerForRetrieverRun,
Expand Down Expand Up @@ -130,11 +131,14 @@ def nodes_to_documents(nodes: Iterable[Node]) -> Iterator[Document]:
)


@beta(message="Added in version 0.2.14 of langchain_core. API subject to change.")
class GraphVectorStore(VectorStore):
"""A hybrid vector-and-graph graph store.
Document chunks support vector-similarity search as well as edges linking
chunks based on structural and semantic properties.
.. versionadded:: 0.2.14
"""

@abstractmethod
Expand Down

0 comments on commit 8d82a0d

Please sign in to comment.