code: """Common settings for RAG model"""
  
  from llama_index.core import Settings
  from llama_index.llms.openai import OpenAI
  from llama_index.embeddings.openai import OpenAIEmbedding
  
  from app.logger.logger import custom_logger
  
  def settings():
      """Set the settings for RAG."""
  
      Settings.llm = OpenAI(model="gpt-3.5-turbo-1106", temperature=0.0)
      Settings.embed_model = OpenAIEmbedding(
          model="text-embedding-3-small", embed_batch_size=100
      )
      Settings.context_window = 16000
      Settings.num_output = 2048
  
      custom_logger.info("Settings are set")
  
apis: llama_index.llms.openai.OpenAI llama_index.embeddings.openai.OpenAIEmbedding
extract_api: [((294, 345), 'llama_index.llms.openai.OpenAI', 'OpenAI', ([], {'model': '"""gpt-3.5-turbo-1106"""', 'temperature': '(0.0)'}), "(model='gpt-3.5-turbo-1106', temperature=0.0)\n", (300, 345), False, 'from llama_index.llms.openai import OpenAI\n'), ((373, 442), 'llama_index.embeddings.openai.OpenAIEmbedding', 'OpenAIEmbedding', ([], {'model': '"""text-embedding-3-small"""', 'embed_batch_size': '(100)'}), "(model='text-embedding-3-small', embed_batch_size=100)\n", (388, 442), False, 'from llama_index.embeddings.openai import OpenAIEmbedding\n'), ((529, 567), 'app.logger.logger.custom_logger.info', 'custom_logger.info', (['"""Settings are set"""'], {}), "('Settings are set')\n", (547, 567), False, 'from app.logger.logger import custom_logger\n')]