GPT-4 has much worse recall compared to Claude-3 though, compare these two haystack tests:
https://github.com/gkamradt/LLMTest_NeedleInAHaystack/raw/ma...
https://cdn.arstechnica.net/wp-content/uploads/2024/03/claud...
https://github.com/gkamradt/LLMTest_NeedleInAHaystack/raw/ma...
https://cdn.arstechnica.net/wp-content/uploads/2024/03/claud...
Then if you want to test for recall of sparse information or multi-hop information, it's useless.
Here's a quick start guide with OpenAI: https://platform.openai.com/docs/quickstart?context=python