Find answers from the community

Updated 3 months ago

Settings vs ServiceContext

is there any reason to use both Settings, and ServiceContext?
W
D
2 comments
You don't have to use both.
Service context is deprecated and settings is the new way to add your global requirements at one place.

Today you can work with any part of llama-index even by directly passing the required items like llm, embed_model if you don't want to define settings too
That's what I thought, thanks for confirming
Add a reply
Sign up and join the conversation on Discord