SendChatCompletionRequestResponse - TypeScript SDK

SendChatCompletionRequestResponse type definition

The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Supported Types

models.ChatResponse

1const value: models.ChatResponse = {
2 id: "<id>",
3 choices: [],
4 created: 9184.01,
5 model: "Focus",
6 object: "chat.completion",
7};

EventStream<models.ChatStreamingResponseChunk>