0

In the docs is this example:

SELECT DISTINCT department.name
FROM department
JOIN employee ON department.id = employee.department_id
JOIN salary_payments ON employee.id = salary_payments.employee_id
WHERE salary_payments.date BETWEEN '2020-06-01' AND '2020-06-30'
GROUP BY department.name
HAVING COUNT(employee.id) > 10;
-- Explanation of the above query in human readable format
-- 

I have tried copying this into the playground with code-davinci-002 but it just spews out the same query over and over again.

ChatGPT/davinci-003 works fine but the actual codex cant handle it's own sample from it's docs.

Is code-davinci-002 capable of writing explanations of code?

Rubén
  • 34,714
  • 9
  • 70
  • 166
Guerrilla
  • 13,375
  • 31
  • 109
  • 210
  • not answering, but I'm having the same issue: I'm not able to receive any code from that specific engine, sometimes it loops on a sentence, sometimes it provided a small piece of answer + an enormous amount of generic documentation text. – Stormsson Feb 02 '23 at 09:03

0 Answers0