Find answers from the community

Updated 2 years ago

Does anyone know how to solve this error

At a glance

A community member is encountering an error when querying a graph, specifically an "Invalid template" error with the context information "{context_str}". The community member is passing in the query_str as an argument when calling the graph.query() method, but the required input variables do not match. The community member is seeking a solution to this error.

Does anyone know how to solve this error?

Plain Text
Error querying graph: Invalid template: Context information is below. 
---------------------
{context_str
}
------------
...insert prompt here...

variables do not match the required input_variables: ['context_str'
]



I am simply passing in the query_str as args when calling the graph object. For example: response = graph.query(query_str=query_str, query_configs=query_configs)
Add a reply
Sign up and join the conversation on Discord