Find answers from the community

Updated 2 years ago

Does index query still accept llm

At a glance
Does index.query() still accept llm_predictor as a parameter? I was doing the Langchain Output Parsing example, but I got the following error:
TypeError: BaseGPTIndexQuery.init() got an unexpected keyword argument 'llm_predictor'
b
L
s
4 comments
I think it is now all donve via service_context
thanks guys! sorry I'm just too new to this
No worries! 😎
Add a reply
Sign up and join the conversation on Discord