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
I was wondering if it is possible to pass some parameters to the vector index retrieval query (similar to the one in chains.py:142). The value of these parameters depends on user input. I want to retrieve different sets of indexes depending on the user input.
In my query, I have the following match clause.
MATCH (question) -[:SITE]-> (s:Site {name: $site_name})
$site_name will depend on user input
The text was updated successfully, but these errors were encountered:
At the moment, there is no clean way to pass parameters to the query. What you could do is to instantiate a Neo4jVector object for each site, and then use the appropriate based on the input parameter
But good idea to make it configurable and allow external parameters to be used in the query @tomasonjo esp. if we integrate it into the LangChain parameter passing between chains. Can you make a note of that or GH issue in LC?
I created Neo4j Vector Store connector for Semantic Kernel; I make the retrieval query configurable by providing an overridable query factory and a Dynamic properties dictionary.
The user can update the values in the dictionary at runtime and override the query factory to consume the required keys from the dictionary
Hi,
I was wondering if it is possible to pass some parameters to the vector index retrieval query (similar to the one in chains.py:142). The value of these parameters depends on user input. I want to retrieve different sets of indexes depending on the user input.
In my query, I have the following match clause.
$site_name will depend on user input
The text was updated successfully, but these errors were encountered: