Skip to content

Commit

Permalink
Merge pull request #11 from Milehigh-wrld/Cirruslucent-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cirruslucent authored Mar 22, 2024
2 parents 210f4f9 + 46be778 commit a25b4bc
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions assistant
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import OpenAI from "openai";

const openai = new OpenAI({
organization: 'org-1eSMT7ggOXLuAunPuYw6AnbS',
});
import OpenAI from "openai";

const openai = new OpenAI({
organization: 'org-1eSMT7ggOXLuAunPuYw6AnbS',
});
import OpenAI from "openai";

const openai = new OpenAI({
organization: 'org-1eSMT7ggOXLuAunPuYw6AnbS',
});
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"created": 1677858242,
"model": "gpt-3.5-turbo-0613",
"usage": {
"prompt_tokens": 13,
"completion_tokens": 7,
"total_tokens": 20
},
"choices": [
{
"message": {
"role": "assistant",
"content": "\n\nThis is a test!"
},
"logprobs": null,
"finish_reason": "stop",
"index": 0
}
]
}
https://platform.openai.com/docs/api-reference/streaming

0 comments on commit a25b4bc

Please sign in to comment.