Find answers from the community

Updated 2 years ago

jerryjliu98 9313 Logan M 8260 hwchase17

@jerryjliu0 @Logan M @hwchase17 what is the difference between declaring llm_predictor while defining the index like this:
VectorIndex = GPTSimpleVectorIndex(documents, llm_predictor=llm_predictor)
and while querying the index
response = index.query(question,llm_predictor=llm_predictor)
j
1 comment
good question. this is due to some UX's that we're trying to deprecate. the "official" way should just be the second index.query(..., llm_predictor=llm_predictor)
Add a reply
Sign up and join the conversation on Discord