@Teemu when I set a sitemap (multiple URLs) it doesn't work at all.
I haven't found how to set the openai.log = "debug" based in the documentation with the current setup I have. By simple importing and setting to "debug" doesn't seem to work at all. This seems because I use llama_index.llms import OpenAI instead
...
from llama_index.llms import OpenAI
import openai
openai.log = "debug"
app = FastAPI()
loader = SitemapReader()
llm = OpenAI(temperature=0.1, model="gpt-3.5-turbo")
service_context = ServiceContext.from_defaults(llm=llm)