What is the population of Geneseo, NY combined with the population of Rochester, NY, divided by string length of the answer to the question 'What is the capital of France?'?
The answer it gave back is 43780.4.Short explanation: Get GPT to translate a question into Javascript that you execute and to use functions like query() to get factual answers and then to do any math using JS.
You can see the log outputs of how it works here, complete with all the prompts:
https://gist.github.com/williamcotton/3e865f33f99627b29676f1...
No comments yet.