OK, running into a problem here. When I create a DecomposeQueryTransform and a TransformQueryEngine, and then query it with a string (as per the examples[0]), I get the error "Invalid Prompt Type". This seems to be because by default the DecomposeQueryTransform initializes itself with a DecomposeQueryTransformPrompt, which by default has
prompt_type=PromptType.CUSTOM
, which is not in the list of prompt types checked in MockLLMPredictor._predict(). What am I doing wrong here? How do I fix this?
[0]
https://gpt-index.readthedocs.io/en/v0.6.0/how_to/query/query_transformations.html#single-step-query-decomposition