LFQA Inteligent Article Writer

Hello all!

I’d like to build a tool using the /answers module and the OpenAI python client that writes a factually accurate 1500-word article about the benefits of moving to a given city. The script will use that city’s Wikipedia page as the source document.

My roadblock is that I can’t get the answers to be long enough and the answers often have inaccurate information, even though I’m loading in the document correctly.

My main suspicion is that my examples And examples_context Fields aren’t as they should be for the purposes of the tool. How can I make my tool work?