UNPKG

ts-chatgpt-api

Version:

ChatGPT API is a powerful tool developed on TypeScript that allows developers to easily integrate natural language processing capabilities into their applications. As a large language model trained by OpenAI, ChatGPT is capable of understanding and gener

11 lines (9 loc) 277 B
import {ChatGptUsage} from './chat-gpt-usage'; import {ChatGptResponseMessage} from './chat-gpt-response-message'; export type ChatGptSuccessResponse = { id: string, object: string, created: number, usage: ChatGptUsage, choices: ChatGptResponseMessage[] }