rover.chat

python chatgpt-api-example.py
{
  "choices": [
    {
      "finish_reason": "stop",
      "index": 0,
      "logprobs": null,
      "text": "

The best way to treat a runny nose and sore throat is to rest, drink plenty of fluids, and use over-the-counter medications such as ibuprofen or acetaminophen to reduce pain and fever. A saline nasal spray or drops can help to reduce congestion. A humidifier can also help to soothe a sore throat. If symptoms persist, it is best to consult a doctor."
    }
  ],
  "created": 1675530775,
  "id": "cmpl-6gGNr8iwOugKvx8aPlwCCytoSkRxc",
  "model": "text-davinci-003",
  "object": "text_completion",
  "usage": {
    "completion_tokens": 84,
    "prompt_tokens": 15,
    "total_tokens": 99
  }
}