| Name | Type | Description |
|---|---|---|
query* | str | The query string. |
k | int | Default: 4The number of Documents to return from the initial search. Defaults to 4. Applies to each of the query strings. |
depth | int | Default: 1The maximum depth of edges to traverse. Defaults to 1. |
filter | dict[str, Any] | None | Default: None |
**kwargs | Any | Default: {} |
Retrieve documents from traversing this graph store.
First, k nodes are retrieved using a search for each query string.
Then, additional nodes are discovered up to the given depth from those
starting nodes.
Returns: Collection of retrieved documents.
Optional metadata to filter the results.
Additional keyword arguments.