Open CaffeyChen opened 8 months ago
Hi, it looks like a great work. But I got this error. Is there any method to fix it?
I fixed it! change result = completion.choices[0]["message"]["content"] to result = completion.choices[0].message.content
result = completion.choices[0]["message"]["content"]
result = completion.choices[0].message.content
Hi, it looks like a great work. But I got this error. Is there any method to fix it?