You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// HandleResponseBody parses response body to update information such as number of completion tokens.
41
+
// Example response
42
+
/*
43
+
{
44
+
"id": "cmpl-573498d260f2423f9e42817bbba3743a",
45
+
"object": "text_completion",
46
+
"created": 1732563765,
47
+
"model": "meta-llama/Llama-2-7b-hf",
48
+
"choices": [
49
+
{
50
+
"index": 0,
51
+
"text": " Chronicle\nThe San Francisco Chronicle has a new book review section, and it's a good one. The reviews are short, but they're well-written and well-informed. The Chronicle's book review section is a good place to start if you're looking for a good book review.\nThe Chronicle's book review section is a good place to start if you're looking for a good book review. The Chronicle's book review section",
"text": " Chronicle\nThe San Francisco Chronicle has a new book review section, and it's a good one. The reviews are short, but they're well-written and well-informed. The Chronicle's book review section is a good place to start if you're looking for a good book review.\nThe Chronicle's book review section is a good place to start if you're looking for a good book review. The Chronicle's book review section",
0 commit comments