You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
retriever.retrieve("Where does Elias Thorne's sibling live?")
84
+
82
85
```
83
86
84
-
Use `SpannerGraphVectorContextRetriever` to perform vector search on embeddings that are stored in the nodes in a SpannerGraphStore. If expand\_by\_hops is provided, the nodes and edges at a distance upto the expand\_by\_hops from the nodes found in the vector search will also be returned.
87
+
Use `SpannerGraphCustomRetriever` to query your SpannerPropertyGraphStore with a hybrid approach, combining natural language to GQL translation with vector search capabilities.
85
88
86
89
```python
87
-
from langchain_google_spanner import SpannerGraphStore, SpannerGraphVectorContextRetriever
88
-
from langchain_google_vertexai import ChatVertexAI, VertexAIEmbeddings
90
+
from llama_index_spanner import SpannerPropertyGraphStore, SpannerGraphCustomRetriever
91
+
from llama_index.llms.google_genai import GoogleGenAI
92
+
from llama_index.embeddings.google_genai import GoogleGenAIEmbedding
0 commit comments