Find answers from the community

Updated 4 months ago

The docs say that `LLMPredictor` is

At a glance
The docs say that LLMPredictor is deprecated. Does that apply to StructuredLLMPredictor too? Should we still use code like llm_predictor = StructuredLLMPredictor() when writing new code or is it better to set the llm value in the service context?
L
k
2 comments
StructuredLLMPredictor has a purpose still (for now) if you are using an output parser

But this might change in the future πŸ™‚

Otherwise yes, just pass the LLM into the service contex
Thanks @Logan M
Add a reply
Sign up and join the conversation on Discord