Find answers from the community

Updated 2 months ago

Updating llama-index version and using ServiceContext

Hello folks πŸ™‚

i'm finally updating my llama-index version and i see that ServiceContext became deprecated.

I had the code seen on first image

Would that be the correct way to do it now? (second image)

Supposing i dont want to set Settings globally...
Attachments
image.png
image.png
v
1 comment
Add a reply
Sign up and join the conversation on Discord