diff --git a/src/index.ts b/src/index.ts index e8013a515..4965cd4f7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -220,6 +220,14 @@ export namespace OpenAI { export import Chat = API.Chat; + export import ChatCompletion = API.ChatCompletion; + export import ChatCompletionChunk = API.ChatCompletionChunk; + export import ChatCompletionMessage = API.ChatCompletionMessage; + export import ChatCompletionMessageParam = API.ChatCompletionMessageParam; + export import ChatCompletionCreateParams = API.ChatCompletionCreateParams; + export import ChatCompletionCreateParamsNonStreaming = API.ChatCompletionCreateParamsNonStreaming; + export import ChatCompletionCreateParamsStreaming = API.ChatCompletionCreateParamsStreaming; + export import Edits = API.Edits; export import Edit = API.Edit; export import EditCreateParams = API.EditCreateParams; diff --git a/src/resources/index.ts b/src/resources/index.ts index 0d9ab9935..ced5114fa 100644 --- a/src/resources/index.ts +++ b/src/resources/index.ts @@ -1,7 +1,7 @@ // File generated from our OpenAPI spec by Stainless. +export * from './chat'; export { Audio } from './audio/audio'; -export { Chat } from './chat/chat'; export { Completion, CompletionChoice,