Find answers from the community

Updated 2 months ago

OK running into a problem here When I

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
d
u
6 comments
Looks like a bug, created a ticket for it
We've been meaning to get rid of the prompt type stuff
Where might I find / follow this ticket? (Already tried looking through the issue tracker on github -- maybe I misunderstood the issue title?)
we actually have a separate issue board for prioritization haha
it's not on the github repo
Add a reply
Sign up and join the conversation on Discord