code: from llama_index import ServiceContext
  
  from app.context import create_base_context
  from app.engine.constants import CHUNK_OVERLAP, CHUNK_SIZE
  
  
  def create_service_context():
      base = create_base_context()
      return ServiceContext.from_defaults(
          llm=base.llm,
          embed_model=base.embed_model,
          chunk_size=CHUNK_SIZE,
          chunk_overlap=CHUNK_OVERLAP,
      )
  
apis: llama_index.ServiceContext.from_defaults
extract_api: [((186, 207), 'app.context.create_base_context', 'create_base_context', ([], {}), '()\n', (205, 207), False, 'from app.context import create_base_context\n'), ((219, 347), 'llama_index.ServiceContext.from_defaults', 'ServiceContext.from_defaults', ([], {'llm': 'base.llm', 'embed_model': 'base.embed_model', 'chunk_size': 'CHUNK_SIZE', 'chunk_overlap': 'CHUNK_OVERLAP'}), '(llm=base.llm, embed_model=base.embed_model,\n    chunk_size=CHUNK_SIZE, chunk_overlap=CHUNK_OVERLAP)\n', (247, 347), False, 'from llama_index import ServiceContext\n')]