How do I use chatgpt model to answer questions from a huge list of articles?
When I use the davinci model it actually answers my questions but when I tried to use chatgpt model it describes me the article where the information is in.
All the articles are saved as separate txt files and loaded with SimpleDirectoryReader if that is important.
index = GPTSimpleVectorIndex.load_from_disk('index.json')
llm_predictor = LLMPredictor(llm=OpenAI(temperature=0, model_name="gpt-3.5-turbo"))
response = index.query(
"How to plan a wedding?",
llm_predictor=llm_predictor
)
"The article discusses how to plan a wedding using Allseated, an all-in-one digital platform for organizing wedding ideas, including creating floor plans, seating charts, and guest lists."