mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-17 10:13:29 +00:00
core[patch]: Mark GraphVectorStore as beta (#24195)
* This PR marks graph vectorstore as beta
This commit is contained in:
parent
0a1e475a30
commit
8d82a0d483
@ -12,6 +12,7 @@ from typing import (
|
|||||||
Optional,
|
Optional,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from langchain_core._api import beta
|
||||||
from langchain_core.callbacks import (
|
from langchain_core.callbacks import (
|
||||||
AsyncCallbackManagerForRetrieverRun,
|
AsyncCallbackManagerForRetrieverRun,
|
||||||
CallbackManagerForRetrieverRun,
|
CallbackManagerForRetrieverRun,
|
||||||
@ -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):
|
class GraphVectorStore(VectorStore):
|
||||||
"""A hybrid vector-and-graph graph store.
|
"""A hybrid vector-and-graph graph store.
|
||||||
|
|
||||||
Document chunks support vector-similarity search as well as edges linking
|
Document chunks support vector-similarity search as well as edges linking
|
||||||
chunks based on structural and semantic properties.
|
chunks based on structural and semantic properties.
|
||||||
|
|
||||||
|
.. versionadded:: 0.2.14
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user