4.4 · Lesson

Graph-Enhanced Vector Retriever

To take advantage of the relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. in the graph, you can create a retrieverA component that searches a data source and returns the information relevant to a query. Often used to provide context for a language model. that uses both vector searchFinding the records whose vectors lie closest to a query vector. and graph traversalFollowing relationships from one node to the next to reach other parts of a graph. to find relevant data.

The VectorCypherRetriever allows you to perform vector searches and then traverse the graph to find related nodesA vertex in a graph. In a property graph it can carry labels and properties. or entities.