Comparing version 4.46.0 to 4.46.1
@@ -5,4 +5,4 @@ import * as Core from "./core.js"; | ||
import * as Uploads from "./uploads.js"; | ||
import * as Pagination from 'openai/pagination'; | ||
import * as API from 'openai/resources/index'; | ||
import * as Pagination from "./pagination.js"; | ||
import * as API from "./resources/index.js"; | ||
export interface ClientOptions { | ||
@@ -9,0 +9,0 @@ /** |
@@ -32,4 +32,4 @@ "use strict"; | ||
const Uploads = __importStar(require("./uploads.js")); | ||
const Pagination = __importStar(require("openai/pagination")); | ||
const API = __importStar(require("openai/resources/index")); | ||
const Pagination = __importStar(require("./pagination.js")); | ||
const API = __importStar(require("./resources/index.js")); | ||
/** API Client for interfacing with the OpenAI API. */ | ||
@@ -36,0 +36,0 @@ class OpenAI extends Core.APIClient { |
{ | ||
"name": "openai", | ||
"version": "4.46.0", | ||
"version": "4.46.1", | ||
"description": "The official TypeScript library for the OpenAI API", | ||
@@ -5,0 +5,0 @@ "author": "OpenAI <support@openai.com>", |
@@ -22,3 +22,3 @@ # OpenAI Node API Library | ||
```ts | ||
import OpenAI from 'https://deno.land/x/openai@v4.46.0/mod.ts'; | ||
import OpenAI from 'https://deno.land/x/openai@v4.46.1/mod.ts'; | ||
``` | ||
@@ -25,0 +25,0 @@ |
@@ -1,5 +0,5 @@ | ||
import { APIResource } from 'openai/resource'; | ||
import * as SpeechAPI from 'openai/resources/audio/speech'; | ||
import * as TranscriptionsAPI from 'openai/resources/audio/transcriptions'; | ||
import * as TranslationsAPI from 'openai/resources/audio/translations'; | ||
import { APIResource } from "../../resource.js"; | ||
import * as SpeechAPI from "./speech.js"; | ||
import * as TranscriptionsAPI from "./transcriptions.js"; | ||
import * as TranslationsAPI from "./translations.js"; | ||
export declare class Audio extends APIResource { | ||
@@ -6,0 +6,0 @@ transcriptions: TranscriptionsAPI.Transcriptions; |
@@ -28,6 +28,6 @@ "use strict"; | ||
exports.Audio = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const SpeechAPI = __importStar(require("openai/resources/audio/speech")); | ||
const TranscriptionsAPI = __importStar(require("openai/resources/audio/transcriptions")); | ||
const TranslationsAPI = __importStar(require("openai/resources/audio/translations")); | ||
const resource_1 = require("../../resource.js"); | ||
const SpeechAPI = __importStar(require("./speech.js")); | ||
const TranscriptionsAPI = __importStar(require("./transcriptions.js")); | ||
const TranslationsAPI = __importStar(require("./translations.js")); | ||
class Audio extends resource_1.APIResource { | ||
@@ -34,0 +34,0 @@ constructor() { |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import { type Response } from 'openai/_shims/index'; | ||
import * as SpeechAPI from 'openai/resources/audio/speech'; | ||
import * as Core from "../../core.js"; | ||
import { APIResource } from "../../resource.js"; | ||
import { type Response } from "../../_shims/index.js"; | ||
import * as SpeechAPI from "./speech.js"; | ||
export declare class Speech extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -5,3 +5,3 @@ "use strict"; | ||
exports.Speech = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const resource_1 = require("../../resource.js"); | ||
class Speech extends resource_1.APIResource { | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as TranscriptionsAPI from 'openai/resources/audio/transcriptions'; | ||
import { type Uploadable } from 'openai/core'; | ||
import * as Core from "../../core.js"; | ||
import { APIResource } from "../../resource.js"; | ||
import * as TranscriptionsAPI from "./transcriptions.js"; | ||
import { type Uploadable } from "../../core.js"; | ||
export declare class Transcriptions extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -5,4 +5,4 @@ "use strict"; | ||
exports.Transcriptions = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const resource_1 = require("../../resource.js"); | ||
const core_1 = require("../../core.js"); | ||
class Transcriptions extends resource_1.APIResource { | ||
@@ -9,0 +9,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as TranslationsAPI from 'openai/resources/audio/translations'; | ||
import { type Uploadable } from 'openai/core'; | ||
import * as Core from "../../core.js"; | ||
import { APIResource } from "../../resource.js"; | ||
import * as TranslationsAPI from "./translations.js"; | ||
import { type Uploadable } from "../../core.js"; | ||
export declare class Translations extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -5,4 +5,4 @@ "use strict"; | ||
exports.Translations = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const resource_1 = require("../../resource.js"); | ||
const core_1 = require("../../core.js"); | ||
class Translations extends resource_1.APIResource { | ||
@@ -9,0 +9,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as BatchesAPI from 'openai/resources/batches'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../core.js"; | ||
import { APIResource } from "../resource.js"; | ||
import * as BatchesAPI from "./batches.js"; | ||
import { CursorPage, type CursorPageParams } from "../pagination.js"; | ||
export declare class Batches extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -28,6 +28,6 @@ "use strict"; | ||
exports.BatchesPage = exports.Batches = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const BatchesAPI = __importStar(require("openai/resources/batches")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../resource.js"); | ||
const core_1 = require("../core.js"); | ||
const BatchesAPI = __importStar(require("./batches.js")); | ||
const pagination_1 = require("../pagination.js"); | ||
class Batches extends resource_1.APIResource { | ||
@@ -34,0 +34,0 @@ /** |
@@ -1,10 +0,10 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as AssistantsAPI from 'openai/resources/beta/assistants'; | ||
import * as Shared from 'openai/resources/shared'; | ||
import * as MessagesAPI from 'openai/resources/beta/threads/messages'; | ||
import * as ThreadsAPI from 'openai/resources/beta/threads/threads'; | ||
import * as RunsAPI from 'openai/resources/beta/threads/runs/runs'; | ||
import * as StepsAPI from 'openai/resources/beta/threads/runs/steps'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../core.js"; | ||
import { APIResource } from "../../resource.js"; | ||
import * as AssistantsAPI from "./assistants.js"; | ||
import * as Shared from "../shared.js"; | ||
import * as MessagesAPI from "./threads/messages.js"; | ||
import * as ThreadsAPI from "./threads/threads.js"; | ||
import * as RunsAPI from "./threads/runs/runs.js"; | ||
import * as StepsAPI from "./threads/runs/steps.js"; | ||
import { CursorPage, type CursorPageParams } from "../../pagination.js"; | ||
export declare class Assistants extends APIResource { | ||
@@ -11,0 +11,0 @@ /** |
@@ -28,6 +28,6 @@ "use strict"; | ||
exports.AssistantsPage = exports.Assistants = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const AssistantsAPI = __importStar(require("openai/resources/beta/assistants")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../resource.js"); | ||
const core_1 = require("../../core.js"); | ||
const AssistantsAPI = __importStar(require("./assistants.js")); | ||
const pagination_1 = require("../../pagination.js"); | ||
class Assistants extends resource_1.APIResource { | ||
@@ -34,0 +34,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
import { APIResource } from 'openai/resource'; | ||
import * as AssistantsAPI from 'openai/resources/beta/assistants'; | ||
import * as ChatAPI from 'openai/resources/beta/chat/chat'; | ||
import * as ThreadsAPI from 'openai/resources/beta/threads/threads'; | ||
import * as VectorStoresAPI from 'openai/resources/beta/vector-stores/vector-stores'; | ||
import { APIResource } from "../../resource.js"; | ||
import * as AssistantsAPI from "./assistants.js"; | ||
import * as ChatAPI from "./chat/chat.js"; | ||
import * as ThreadsAPI from "./threads/threads.js"; | ||
import * as VectorStoresAPI from "./vector-stores/vector-stores.js"; | ||
export declare class Beta extends APIResource { | ||
@@ -7,0 +7,0 @@ vectorStores: VectorStoresAPI.VectorStores; |
@@ -28,7 +28,7 @@ "use strict"; | ||
exports.Beta = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const AssistantsAPI = __importStar(require("openai/resources/beta/assistants")); | ||
const ChatAPI = __importStar(require("openai/resources/beta/chat/chat")); | ||
const ThreadsAPI = __importStar(require("openai/resources/beta/threads/threads")); | ||
const VectorStoresAPI = __importStar(require("openai/resources/beta/vector-stores/vector-stores")); | ||
const resource_1 = require("../../resource.js"); | ||
const AssistantsAPI = __importStar(require("./assistants.js")); | ||
const ChatAPI = __importStar(require("./chat/chat.js")); | ||
const ThreadsAPI = __importStar(require("./threads/threads.js")); | ||
const VectorStoresAPI = __importStar(require("./vector-stores/vector-stores.js")); | ||
class Beta extends resource_1.APIResource { | ||
@@ -35,0 +35,0 @@ constructor() { |
@@ -1,3 +0,3 @@ | ||
import { APIResource } from 'openai/resource'; | ||
import * as CompletionsAPI from 'openai/resources/beta/chat/completions'; | ||
import { APIResource } from "../../../resource.js"; | ||
import * as CompletionsAPI from "./completions.js"; | ||
export declare class Chat extends APIResource { | ||
@@ -4,0 +4,0 @@ completions: CompletionsAPI.Completions; |
@@ -28,4 +28,4 @@ "use strict"; | ||
exports.Chat = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const CompletionsAPI = __importStar(require("openai/resources/beta/chat/completions")); | ||
const resource_1 = require("../../../resource.js"); | ||
const CompletionsAPI = __importStar(require("./completions.js")); | ||
class Chat extends resource_1.APIResource { | ||
@@ -32,0 +32,0 @@ constructor() { |
@@ -1,15 +0,15 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from 'openai/lib/ChatCompletionRunner'; | ||
export { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from 'openai/lib/ChatCompletionRunner'; | ||
import { ChatCompletionStreamingRunner, ChatCompletionStreamingFunctionRunnerParams } from 'openai/lib/ChatCompletionStreamingRunner'; | ||
export { ChatCompletionStreamingRunner, ChatCompletionStreamingFunctionRunnerParams, } from 'openai/lib/ChatCompletionStreamingRunner'; | ||
import { BaseFunctionsArgs } from 'openai/lib/RunnableFunction'; | ||
export { RunnableFunction, RunnableFunctions, RunnableFunctionWithParse, RunnableFunctionWithoutParse, ParsingFunction, ParsingToolFunction, } from 'openai/lib/RunnableFunction'; | ||
import { ChatCompletionToolRunnerParams } from 'openai/lib/ChatCompletionRunner'; | ||
export { ChatCompletionToolRunnerParams } from 'openai/lib/ChatCompletionRunner'; | ||
import { ChatCompletionStreamingToolRunnerParams } from 'openai/lib/ChatCompletionStreamingRunner'; | ||
export { ChatCompletionStreamingToolRunnerParams } from 'openai/lib/ChatCompletionStreamingRunner'; | ||
import { ChatCompletionStream, type ChatCompletionStreamParams } from 'openai/lib/ChatCompletionStream'; | ||
export { ChatCompletionStream, type ChatCompletionStreamParams } from 'openai/lib/ChatCompletionStream'; | ||
import * as Core from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from "../../../lib/ChatCompletionRunner.js"; | ||
export { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from "../../../lib/ChatCompletionRunner.js"; | ||
import { ChatCompletionStreamingRunner, ChatCompletionStreamingFunctionRunnerParams } from "../../../lib/ChatCompletionStreamingRunner.js"; | ||
export { ChatCompletionStreamingRunner, ChatCompletionStreamingFunctionRunnerParams, } from "../../../lib/ChatCompletionStreamingRunner.js"; | ||
import { BaseFunctionsArgs } from "../../../lib/RunnableFunction.js"; | ||
export { RunnableFunction, RunnableFunctions, RunnableFunctionWithParse, RunnableFunctionWithoutParse, ParsingFunction, ParsingToolFunction, } from "../../../lib/RunnableFunction.js"; | ||
import { ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner.js"; | ||
export { ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner.js"; | ||
import { ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner.js"; | ||
export { ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner.js"; | ||
import { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream.js"; | ||
export { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream.js"; | ||
export declare class Completions extends APIResource { | ||
@@ -16,0 +16,0 @@ /** |
@@ -5,14 +5,14 @@ "use strict"; | ||
exports.Completions = exports.ChatCompletionStream = exports.ParsingToolFunction = exports.ParsingFunction = exports.ChatCompletionStreamingRunner = exports.ChatCompletionRunner = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const ChatCompletionRunner_1 = require("openai/lib/ChatCompletionRunner"); | ||
var ChatCompletionRunner_2 = require("openai/lib/ChatCompletionRunner"); | ||
const resource_1 = require("../../../resource.js"); | ||
const ChatCompletionRunner_1 = require("../../../lib/ChatCompletionRunner.js"); | ||
var ChatCompletionRunner_2 = require("../../../lib/ChatCompletionRunner.js"); | ||
Object.defineProperty(exports, "ChatCompletionRunner", { enumerable: true, get: function () { return ChatCompletionRunner_2.ChatCompletionRunner; } }); | ||
const ChatCompletionStreamingRunner_1 = require("openai/lib/ChatCompletionStreamingRunner"); | ||
var ChatCompletionStreamingRunner_2 = require("openai/lib/ChatCompletionStreamingRunner"); | ||
const ChatCompletionStreamingRunner_1 = require("../../../lib/ChatCompletionStreamingRunner.js"); | ||
var ChatCompletionStreamingRunner_2 = require("../../../lib/ChatCompletionStreamingRunner.js"); | ||
Object.defineProperty(exports, "ChatCompletionStreamingRunner", { enumerable: true, get: function () { return ChatCompletionStreamingRunner_2.ChatCompletionStreamingRunner; } }); | ||
var RunnableFunction_1 = require("openai/lib/RunnableFunction"); | ||
var RunnableFunction_1 = require("../../../lib/RunnableFunction.js"); | ||
Object.defineProperty(exports, "ParsingFunction", { enumerable: true, get: function () { return RunnableFunction_1.ParsingFunction; } }); | ||
Object.defineProperty(exports, "ParsingToolFunction", { enumerable: true, get: function () { return RunnableFunction_1.ParsingToolFunction; } }); | ||
const ChatCompletionStream_1 = require("openai/lib/ChatCompletionStream"); | ||
var ChatCompletionStream_2 = require("openai/lib/ChatCompletionStream"); | ||
const ChatCompletionStream_1 = require("../../../lib/ChatCompletionStream.js"); | ||
var ChatCompletionStream_2 = require("../../../lib/ChatCompletionStream.js"); | ||
Object.defineProperty(exports, "ChatCompletionStream", { enumerable: true, get: function () { return ChatCompletionStream_2.ChatCompletionStream; } }); | ||
@@ -19,0 +19,0 @@ class Completions extends resource_1.APIResource { |
@@ -1,6 +0,6 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as MessagesAPI from 'openai/resources/beta/threads/messages'; | ||
import * as AssistantsAPI from 'openai/resources/beta/assistants'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import * as MessagesAPI from "./messages.js"; | ||
import * as AssistantsAPI from "../assistants.js"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination.js"; | ||
export declare class Messages extends APIResource { | ||
@@ -7,0 +7,0 @@ /** |
@@ -28,6 +28,6 @@ "use strict"; | ||
exports.MessagesPage = exports.Messages = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const MessagesAPI = __importStar(require("openai/resources/beta/threads/messages")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../../resource.js"); | ||
const core_1 = require("../../../core.js"); | ||
const MessagesAPI = __importStar(require("./messages.js")); | ||
const pagination_1 = require("../../../pagination.js"); | ||
class Messages extends resource_1.APIResource { | ||
@@ -34,0 +34,0 @@ /** |
@@ -1,13 +0,13 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIPromise } from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import { AssistantStream, RunCreateParamsBaseStream } from 'openai/lib/AssistantStream'; | ||
import { RunSubmitToolOutputsParamsStream } from 'openai/lib/AssistantStream'; | ||
import * as RunsAPI from 'openai/resources/beta/threads/runs/runs'; | ||
import * as AssistantsAPI from 'openai/resources/beta/assistants'; | ||
import * as MessagesAPI from 'openai/resources/beta/threads/messages'; | ||
import * as ThreadsAPI from 'openai/resources/beta/threads/threads'; | ||
import * as StepsAPI from 'openai/resources/beta/threads/runs/steps'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import { Stream } from 'openai/streaming'; | ||
import * as Core from "../../../../core.js"; | ||
import { APIPromise } from "../../../../core.js"; | ||
import { APIResource } from "../../../../resource.js"; | ||
import { AssistantStream, RunCreateParamsBaseStream } from "../../../../lib/AssistantStream.js"; | ||
import { RunSubmitToolOutputsParamsStream } from "../../../../lib/AssistantStream.js"; | ||
import * as RunsAPI from "./runs.js"; | ||
import * as AssistantsAPI from "../../assistants.js"; | ||
import * as MessagesAPI from "../messages.js"; | ||
import * as ThreadsAPI from "../threads.js"; | ||
import * as StepsAPI from "./steps.js"; | ||
import { CursorPage, type CursorPageParams } from "../../../../pagination.js"; | ||
import { Stream } from "../../../../streaming.js"; | ||
export declare class Runs extends APIResource { | ||
@@ -14,0 +14,0 @@ steps: StepsAPI.Steps; |
@@ -28,9 +28,9 @@ "use strict"; | ||
exports.RunsPage = exports.Runs = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const AssistantStream_1 = require("openai/lib/AssistantStream"); | ||
const core_2 = require("openai/core"); | ||
const RunsAPI = __importStar(require("openai/resources/beta/threads/runs/runs")); | ||
const StepsAPI = __importStar(require("openai/resources/beta/threads/runs/steps")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../../../resource.js"); | ||
const core_1 = require("../../../../core.js"); | ||
const AssistantStream_1 = require("../../../../lib/AssistantStream.js"); | ||
const core_2 = require("../../../../core.js"); | ||
const RunsAPI = __importStar(require("./runs.js")); | ||
const StepsAPI = __importStar(require("./steps.js")); | ||
const pagination_1 = require("../../../../pagination.js"); | ||
class Runs extends resource_1.APIResource { | ||
@@ -37,0 +37,0 @@ constructor() { |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as StepsAPI from 'openai/resources/beta/threads/runs/steps'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../../../core.js"; | ||
import { APIResource } from "../../../../resource.js"; | ||
import * as StepsAPI from "./steps.js"; | ||
import { CursorPage, type CursorPageParams } from "../../../../pagination.js"; | ||
export declare class Steps extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -28,6 +28,6 @@ "use strict"; | ||
exports.RunStepsPage = exports.Steps = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const StepsAPI = __importStar(require("openai/resources/beta/threads/runs/steps")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../../../resource.js"); | ||
const core_1 = require("../../../../core.js"); | ||
const StepsAPI = __importStar(require("./steps.js")); | ||
const pagination_1 = require("../../../../pagination.js"); | ||
class Steps extends resource_1.APIResource { | ||
@@ -34,0 +34,0 @@ /** |
@@ -1,10 +0,10 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIPromise } from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import { AssistantStream, ThreadCreateAndRunParamsBaseStream } from 'openai/lib/AssistantStream'; | ||
import * as ThreadsAPI from 'openai/resources/beta/threads/threads'; | ||
import * as AssistantsAPI from 'openai/resources/beta/assistants'; | ||
import * as MessagesAPI from 'openai/resources/beta/threads/messages'; | ||
import * as RunsAPI from 'openai/resources/beta/threads/runs/runs'; | ||
import { Stream } from 'openai/streaming'; | ||
import * as Core from "../../../core.js"; | ||
import { APIPromise } from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import { AssistantStream, ThreadCreateAndRunParamsBaseStream } from "../../../lib/AssistantStream.js"; | ||
import * as ThreadsAPI from "./threads.js"; | ||
import * as AssistantsAPI from "../assistants.js"; | ||
import * as MessagesAPI from "./messages.js"; | ||
import * as RunsAPI from "./runs/runs.js"; | ||
import { Stream } from "../../../streaming.js"; | ||
export declare class Threads extends APIResource { | ||
@@ -11,0 +11,0 @@ runs: RunsAPI.Runs; |
@@ -28,7 +28,7 @@ "use strict"; | ||
exports.Threads = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const AssistantStream_1 = require("openai/lib/AssistantStream"); | ||
const MessagesAPI = __importStar(require("openai/resources/beta/threads/messages")); | ||
const RunsAPI = __importStar(require("openai/resources/beta/threads/runs/runs")); | ||
const resource_1 = require("../../../resource.js"); | ||
const core_1 = require("../../../core.js"); | ||
const AssistantStream_1 = require("../../../lib/AssistantStream.js"); | ||
const MessagesAPI = __importStar(require("./messages.js")); | ||
const RunsAPI = __importStar(require("./runs/runs.js")); | ||
class Threads extends resource_1.APIResource { | ||
@@ -35,0 +35,0 @@ constructor() { |
@@ -1,8 +0,8 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import { Uploadable } from 'openai/core'; | ||
import * as FileBatchesAPI from 'openai/resources/beta/vector-stores/file-batches'; | ||
import * as FilesAPI from 'openai/resources/beta/vector-stores/files'; | ||
import { VectorStoreFilesPage } from 'openai/resources/beta/vector-stores/files'; | ||
import { type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import { Uploadable } from "../../../core.js"; | ||
import * as FileBatchesAPI from "./file-batches.js"; | ||
import * as FilesAPI from "./files.js"; | ||
import { VectorStoreFilesPage } from "./files.js"; | ||
import { type CursorPageParams } from "../../../pagination.js"; | ||
export declare class FileBatches extends APIResource { | ||
@@ -9,0 +9,0 @@ /** |
@@ -5,7 +5,7 @@ "use strict"; | ||
exports.VectorStoreFilesPage = exports.FileBatches = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const core_2 = require("openai/core"); | ||
const Util_1 = require("openai/lib/Util"); | ||
const files_1 = require("openai/resources/beta/vector-stores/files"); | ||
const resource_1 = require("../../../resource.js"); | ||
const core_1 = require("../../../core.js"); | ||
const core_2 = require("../../../core.js"); | ||
const Util_1 = require("../../../lib/Util.js"); | ||
const files_1 = require("./files.js"); | ||
Object.defineProperty(exports, "VectorStoreFilesPage", { enumerable: true, get: function () { return files_1.VectorStoreFilesPage; } }); | ||
@@ -12,0 +12,0 @@ class FileBatches extends resource_1.APIResource { |
@@ -1,6 +0,6 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import { Uploadable } from 'openai/core'; | ||
import * as FilesAPI from 'openai/resources/beta/vector-stores/files'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import { Uploadable } from "../../../core.js"; | ||
import * as FilesAPI from "./files.js"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination.js"; | ||
export declare class Files extends APIResource { | ||
@@ -7,0 +7,0 @@ /** |
@@ -28,7 +28,7 @@ "use strict"; | ||
exports.VectorStoreFilesPage = exports.Files = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const core_2 = require("openai/core"); | ||
const FilesAPI = __importStar(require("openai/resources/beta/vector-stores/files")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../../resource.js"); | ||
const core_1 = require("../../../core.js"); | ||
const core_2 = require("../../../core.js"); | ||
const FilesAPI = __importStar(require("./files.js")); | ||
const pagination_1 = require("../../../pagination.js"); | ||
class Files extends resource_1.APIResource { | ||
@@ -35,0 +35,0 @@ /** |
@@ -1,7 +0,7 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as VectorStoresAPI from 'openai/resources/beta/vector-stores/vector-stores'; | ||
import * as FileBatchesAPI from 'openai/resources/beta/vector-stores/file-batches'; | ||
import * as FilesAPI from 'openai/resources/beta/vector-stores/files'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import * as VectorStoresAPI from "./vector-stores.js"; | ||
import * as FileBatchesAPI from "./file-batches.js"; | ||
import * as FilesAPI from "./files.js"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination.js"; | ||
export declare class VectorStores extends APIResource { | ||
@@ -8,0 +8,0 @@ files: FilesAPI.Files; |
@@ -28,8 +28,8 @@ "use strict"; | ||
exports.VectorStoresPage = exports.VectorStores = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const VectorStoresAPI = __importStar(require("openai/resources/beta/vector-stores/vector-stores")); | ||
const FileBatchesAPI = __importStar(require("openai/resources/beta/vector-stores/file-batches")); | ||
const FilesAPI = __importStar(require("openai/resources/beta/vector-stores/files")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../../resource.js"); | ||
const core_1 = require("../../../core.js"); | ||
const VectorStoresAPI = __importStar(require("./vector-stores.js")); | ||
const FileBatchesAPI = __importStar(require("./file-batches.js")); | ||
const FilesAPI = __importStar(require("./files.js")); | ||
const pagination_1 = require("../../../pagination.js"); | ||
class VectorStores extends resource_1.APIResource { | ||
@@ -36,0 +36,0 @@ constructor() { |
@@ -1,4 +0,4 @@ | ||
import { APIResource } from 'openai/resource'; | ||
import * as ChatAPI from 'openai/resources/chat/chat'; | ||
import * as CompletionsAPI from 'openai/resources/chat/completions'; | ||
import { APIResource } from "../../resource.js"; | ||
import * as ChatAPI from "./chat.js"; | ||
import * as CompletionsAPI from "./completions.js"; | ||
export declare class Chat extends APIResource { | ||
@@ -5,0 +5,0 @@ completions: CompletionsAPI.Completions; |
@@ -28,4 +28,4 @@ "use strict"; | ||
exports.Chat = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const CompletionsAPI = __importStar(require("openai/resources/chat/completions")); | ||
const resource_1 = require("../../resource.js"); | ||
const CompletionsAPI = __importStar(require("./completions.js")); | ||
class Chat extends resource_1.APIResource { | ||
@@ -32,0 +32,0 @@ constructor() { |
@@ -1,9 +0,9 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIPromise } from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as ChatCompletionsAPI from 'openai/resources/chat/completions'; | ||
import * as CompletionsAPI from 'openai/resources/completions'; | ||
import * as Shared from 'openai/resources/shared'; | ||
import * as ChatAPI from 'openai/resources/chat/chat'; | ||
import { Stream } from 'openai/streaming'; | ||
import * as Core from "../../core.js"; | ||
import { APIPromise } from "../../core.js"; | ||
import { APIResource } from "../../resource.js"; | ||
import * as ChatCompletionsAPI from "./completions.js"; | ||
import * as CompletionsAPI from "../completions.js"; | ||
import * as Shared from "../shared.js"; | ||
import * as ChatAPI from "./chat.js"; | ||
import { Stream } from "../../streaming.js"; | ||
export declare class Completions extends APIResource { | ||
@@ -10,0 +10,0 @@ /** |
@@ -5,3 +5,3 @@ "use strict"; | ||
exports.Completions = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const resource_1 = require("../../resource.js"); | ||
class Completions extends resource_1.APIResource { | ||
@@ -8,0 +8,0 @@ create(body, options) { |
@@ -1,7 +0,7 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIPromise } from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as CompletionsAPI from 'openai/resources/completions'; | ||
import * as ChatCompletionsAPI from 'openai/resources/chat/completions'; | ||
import { Stream } from 'openai/streaming'; | ||
import * as Core from "../core.js"; | ||
import { APIPromise } from "../core.js"; | ||
import { APIResource } from "../resource.js"; | ||
import * as CompletionsAPI from "./completions.js"; | ||
import * as ChatCompletionsAPI from "./chat/completions.js"; | ||
import { Stream } from "../streaming.js"; | ||
export declare class Completions extends APIResource { | ||
@@ -8,0 +8,0 @@ /** |
@@ -5,3 +5,3 @@ "use strict"; | ||
exports.Completions = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const resource_1 = require("../resource.js"); | ||
class Completions extends resource_1.APIResource { | ||
@@ -8,0 +8,0 @@ create(body, options) { |
@@ -1,4 +0,4 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as EmbeddingsAPI from 'openai/resources/embeddings'; | ||
import * as Core from "../core.js"; | ||
import { APIResource } from "../resource.js"; | ||
import * as EmbeddingsAPI from "./embeddings.js"; | ||
export declare class Embeddings extends APIResource { | ||
@@ -5,0 +5,0 @@ /** |
@@ -5,3 +5,3 @@ "use strict"; | ||
exports.Embeddings = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const resource_1 = require("../resource.js"); | ||
class Embeddings extends resource_1.APIResource { | ||
@@ -8,0 +8,0 @@ /** |
@@ -1,7 +0,7 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import { type Response } from 'openai/_shims/index'; | ||
import * as FilesAPI from 'openai/resources/files'; | ||
import { type Uploadable } from 'openai/core'; | ||
import { Page } from 'openai/pagination'; | ||
import * as Core from "../core.js"; | ||
import { APIResource } from "../resource.js"; | ||
import { type Response } from "../_shims/index.js"; | ||
import * as FilesAPI from "./files.js"; | ||
import { type Uploadable } from "../core.js"; | ||
import { Page } from "../pagination.js"; | ||
export declare class Files extends APIResource { | ||
@@ -8,0 +8,0 @@ /** |
@@ -28,9 +28,9 @@ "use strict"; | ||
exports.FileObjectsPage = exports.Files = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const core_2 = require("openai/core"); | ||
const error_1 = require("openai/error"); | ||
const FilesAPI = __importStar(require("openai/resources/files")); | ||
const core_3 = require("openai/core"); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../resource.js"); | ||
const core_1 = require("../core.js"); | ||
const core_2 = require("../core.js"); | ||
const error_1 = require("../error.js"); | ||
const FilesAPI = __importStar(require("./files.js")); | ||
const core_3 = require("../core.js"); | ||
const pagination_1 = require("../pagination.js"); | ||
class Files extends resource_1.APIResource { | ||
@@ -37,0 +37,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import { APIResource } from 'openai/resource'; | ||
import * as JobsAPI from 'openai/resources/fine-tuning/jobs/jobs'; | ||
import { APIResource } from "../../resource.js"; | ||
import * as JobsAPI from "./jobs/jobs.js"; | ||
export declare class FineTuning extends APIResource { | ||
@@ -4,0 +4,0 @@ jobs: JobsAPI.Jobs; |
@@ -28,4 +28,4 @@ "use strict"; | ||
exports.FineTuning = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const JobsAPI = __importStar(require("openai/resources/fine-tuning/jobs/jobs")); | ||
const resource_1 = require("../../resource.js"); | ||
const JobsAPI = __importStar(require("./jobs/jobs.js")); | ||
class FineTuning extends resource_1.APIResource { | ||
@@ -32,0 +32,0 @@ constructor() { |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as CheckpointsAPI from 'openai/resources/fine-tuning/jobs/checkpoints'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import * as CheckpointsAPI from "./checkpoints.js"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination.js"; | ||
export declare class Checkpoints extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -28,6 +28,6 @@ "use strict"; | ||
exports.FineTuningJobCheckpointsPage = exports.Checkpoints = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const CheckpointsAPI = __importStar(require("openai/resources/fine-tuning/jobs/checkpoints")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../../resource.js"); | ||
const core_1 = require("../../../core.js"); | ||
const CheckpointsAPI = __importStar(require("./checkpoints.js")); | ||
const pagination_1 = require("../../../pagination.js"); | ||
class Checkpoints extends resource_1.APIResource { | ||
@@ -34,0 +34,0 @@ list(fineTuningJobId, query = {}, options) { |
@@ -1,6 +0,6 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as JobsAPI from 'openai/resources/fine-tuning/jobs/jobs'; | ||
import * as CheckpointsAPI from 'openai/resources/fine-tuning/jobs/checkpoints'; | ||
import { CursorPage, type CursorPageParams } from 'openai/pagination'; | ||
import * as Core from "../../../core.js"; | ||
import { APIResource } from "../../../resource.js"; | ||
import * as JobsAPI from "./jobs.js"; | ||
import * as CheckpointsAPI from "./checkpoints.js"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination.js"; | ||
export declare class Jobs extends APIResource { | ||
@@ -7,0 +7,0 @@ checkpoints: CheckpointsAPI.Checkpoints; |
@@ -28,7 +28,7 @@ "use strict"; | ||
exports.FineTuningJobEventsPage = exports.FineTuningJobsPage = exports.Jobs = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const JobsAPI = __importStar(require("openai/resources/fine-tuning/jobs/jobs")); | ||
const CheckpointsAPI = __importStar(require("openai/resources/fine-tuning/jobs/checkpoints")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../../../resource.js"); | ||
const core_1 = require("../../../core.js"); | ||
const JobsAPI = __importStar(require("./jobs.js")); | ||
const CheckpointsAPI = __importStar(require("./checkpoints.js")); | ||
const pagination_1 = require("../../../pagination.js"); | ||
class Jobs extends resource_1.APIResource { | ||
@@ -35,0 +35,0 @@ constructor() { |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as ImagesAPI from 'openai/resources/images'; | ||
import { type Uploadable } from 'openai/core'; | ||
import * as Core from "../core.js"; | ||
import { APIResource } from "../resource.js"; | ||
import * as ImagesAPI from "./images.js"; | ||
import { type Uploadable } from "../core.js"; | ||
export declare class Images extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -5,4 +5,4 @@ "use strict"; | ||
exports.Images = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const core_1 = require("openai/core"); | ||
const resource_1 = require("../resource.js"); | ||
const core_1 = require("../core.js"); | ||
class Images extends resource_1.APIResource { | ||
@@ -9,0 +9,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as ModelsAPI from 'openai/resources/models'; | ||
import { Page } from 'openai/pagination'; | ||
import * as Core from "../core.js"; | ||
import { APIResource } from "../resource.js"; | ||
import * as ModelsAPI from "./models.js"; | ||
import { Page } from "../pagination.js"; | ||
export declare class Models extends APIResource { | ||
@@ -6,0 +6,0 @@ /** |
@@ -28,5 +28,5 @@ "use strict"; | ||
exports.ModelsPage = exports.Models = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const ModelsAPI = __importStar(require("openai/resources/models")); | ||
const pagination_1 = require("openai/pagination"); | ||
const resource_1 = require("../resource.js"); | ||
const ModelsAPI = __importStar(require("./models.js")); | ||
const pagination_1 = require("../pagination.js"); | ||
class Models extends resource_1.APIResource { | ||
@@ -33,0 +33,0 @@ /** |
@@ -1,4 +0,4 @@ | ||
import * as Core from 'openai/core'; | ||
import { APIResource } from 'openai/resource'; | ||
import * as ModerationsAPI from 'openai/resources/moderations'; | ||
import * as Core from "../core.js"; | ||
import { APIResource } from "../resource.js"; | ||
import * as ModerationsAPI from "./moderations.js"; | ||
export declare class Moderations extends APIResource { | ||
@@ -5,0 +5,0 @@ /** |
@@ -5,3 +5,3 @@ "use strict"; | ||
exports.Moderations = void 0; | ||
const resource_1 = require("openai/resource"); | ||
const resource_1 = require("../resource.js"); | ||
class Moderations extends resource_1.APIResource { | ||
@@ -8,0 +8,0 @@ /** |
@@ -7,4 +7,4 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Uploads from './uploads'; | ||
import * as Pagination from "./pagination"; | ||
import * as API from "./resources/index"; | ||
import * as Pagination from './pagination'; | ||
import * as API from './resources/index'; | ||
@@ -11,0 +11,0 @@ export interface ClientOptions { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import { APIResource } from "../../resource"; | ||
import * as SpeechAPI from "./speech"; | ||
import * as TranscriptionsAPI from "./transcriptions"; | ||
import * as TranslationsAPI from "./translations"; | ||
import { APIResource } from '../../resource'; | ||
import * as SpeechAPI from './speech'; | ||
import * as TranscriptionsAPI from './transcriptions'; | ||
import * as TranslationsAPI from './translations'; | ||
@@ -8,0 +8,0 @@ export class Audio extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../core"; | ||
import { APIResource } from "../../resource"; | ||
import { type Response } from "../../_shims/index"; | ||
import * as SpeechAPI from "./speech"; | ||
import * as Core from '../../core'; | ||
import { APIResource } from '../../resource'; | ||
import { type Response } from '../../_shims/index'; | ||
import * as SpeechAPI from './speech'; | ||
@@ -8,0 +8,0 @@ export class Speech extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../core"; | ||
import { APIResource } from "../../resource"; | ||
import * as TranscriptionsAPI from "./transcriptions"; | ||
import { type Uploadable, multipartFormRequestOptions } from "../../core"; | ||
import * as Core from '../../core'; | ||
import { APIResource } from '../../resource'; | ||
import * as TranscriptionsAPI from './transcriptions'; | ||
import { type Uploadable, multipartFormRequestOptions } from '../../core'; | ||
@@ -8,0 +8,0 @@ export class Transcriptions extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../core"; | ||
import { APIResource } from "../../resource"; | ||
import * as TranslationsAPI from "./translations"; | ||
import { type Uploadable, multipartFormRequestOptions } from "../../core"; | ||
import * as Core from '../../core'; | ||
import { APIResource } from '../../resource'; | ||
import * as TranslationsAPI from './translations'; | ||
import { type Uploadable, multipartFormRequestOptions } from '../../core'; | ||
@@ -8,0 +8,0 @@ export class Translations extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../core"; | ||
import { APIResource } from "../resource"; | ||
import { isRequestOptions } from "../core"; | ||
import * as BatchesAPI from "./batches"; | ||
import { CursorPage, type CursorPageParams } from "../pagination"; | ||
import * as Core from '../core'; | ||
import { APIResource } from '../resource'; | ||
import { isRequestOptions } from '../core'; | ||
import * as BatchesAPI from './batches'; | ||
import { CursorPage, type CursorPageParams } from '../pagination'; | ||
@@ -9,0 +9,0 @@ export class Batches extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../core"; | ||
import { APIResource } from "../../resource"; | ||
import { isRequestOptions } from "../../core"; | ||
import * as AssistantsAPI from "./assistants"; | ||
import * as Shared from "../shared"; | ||
import * as MessagesAPI from "./threads/messages"; | ||
import * as ThreadsAPI from "./threads/threads"; | ||
import * as RunsAPI from "./threads/runs/runs"; | ||
import * as StepsAPI from "./threads/runs/steps"; | ||
import { CursorPage, type CursorPageParams } from "../../pagination"; | ||
import * as Core from '../../core'; | ||
import { APIResource } from '../../resource'; | ||
import { isRequestOptions } from '../../core'; | ||
import * as AssistantsAPI from './assistants'; | ||
import * as Shared from '../shared'; | ||
import * as MessagesAPI from './threads/messages'; | ||
import * as ThreadsAPI from './threads/threads'; | ||
import * as RunsAPI from './threads/runs/runs'; | ||
import * as StepsAPI from './threads/runs/steps'; | ||
import { CursorPage, type CursorPageParams } from '../../pagination'; | ||
@@ -14,0 +14,0 @@ export class Assistants extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import { APIResource } from "../../resource"; | ||
import * as AssistantsAPI from "./assistants"; | ||
import * as ChatAPI from "./chat/chat"; | ||
import * as ThreadsAPI from "./threads/threads"; | ||
import * as VectorStoresAPI from "./vector-stores/vector-stores"; | ||
import { APIResource } from '../../resource'; | ||
import * as AssistantsAPI from './assistants'; | ||
import * as ChatAPI from './chat/chat'; | ||
import * as ThreadsAPI from './threads/threads'; | ||
import * as VectorStoresAPI from './vector-stores/vector-stores'; | ||
@@ -9,0 +9,0 @@ export class Beta extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import { APIResource } from "../../../resource"; | ||
import * as CompletionsAPI from "./completions"; | ||
import { APIResource } from '../../../resource'; | ||
import * as CompletionsAPI from './completions'; | ||
@@ -6,0 +6,0 @@ export class Chat extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from "../../../lib/ChatCompletionRunner"; | ||
export { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from "../../../lib/ChatCompletionRunner"; | ||
import * as Core from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from '../../../lib/ChatCompletionRunner'; | ||
export { ChatCompletionRunner, ChatCompletionFunctionRunnerParams } from '../../../lib/ChatCompletionRunner'; | ||
import { | ||
ChatCompletionStreamingRunner, | ||
ChatCompletionStreamingFunctionRunnerParams, | ||
} from "../../../lib/ChatCompletionStreamingRunner"; | ||
} from '../../../lib/ChatCompletionStreamingRunner'; | ||
export { | ||
ChatCompletionStreamingRunner, | ||
ChatCompletionStreamingFunctionRunnerParams, | ||
} from "../../../lib/ChatCompletionStreamingRunner"; | ||
import { BaseFunctionsArgs } from "../../../lib/RunnableFunction"; | ||
} from '../../../lib/ChatCompletionStreamingRunner'; | ||
import { BaseFunctionsArgs } from '../../../lib/RunnableFunction'; | ||
export { | ||
@@ -23,9 +23,9 @@ RunnableFunction, | ||
ParsingToolFunction, | ||
} from "../../../lib/RunnableFunction"; | ||
import { ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner"; | ||
export { ChatCompletionToolRunnerParams } from "../../../lib/ChatCompletionRunner"; | ||
import { ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner"; | ||
export { ChatCompletionStreamingToolRunnerParams } from "../../../lib/ChatCompletionStreamingRunner"; | ||
import { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream"; | ||
export { ChatCompletionStream, type ChatCompletionStreamParams } from "../../../lib/ChatCompletionStream"; | ||
} from '../../../lib/RunnableFunction'; | ||
import { ChatCompletionToolRunnerParams } from '../../../lib/ChatCompletionRunner'; | ||
export { ChatCompletionToolRunnerParams } from '../../../lib/ChatCompletionRunner'; | ||
import { ChatCompletionStreamingToolRunnerParams } from '../../../lib/ChatCompletionStreamingRunner'; | ||
export { ChatCompletionStreamingToolRunnerParams } from '../../../lib/ChatCompletionStreamingRunner'; | ||
import { ChatCompletionStream, type ChatCompletionStreamParams } from '../../../lib/ChatCompletionStream'; | ||
export { ChatCompletionStream, type ChatCompletionStreamParams } from '../../../lib/ChatCompletionStream'; | ||
@@ -32,0 +32,0 @@ export class Completions extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { isRequestOptions } from "../../../core"; | ||
import * as MessagesAPI from "./messages"; | ||
import * as AssistantsAPI from "../assistants"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination"; | ||
import * as Core from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { isRequestOptions } from '../../../core'; | ||
import * as MessagesAPI from './messages'; | ||
import * as AssistantsAPI from '../assistants'; | ||
import { CursorPage, type CursorPageParams } from '../../../pagination'; | ||
@@ -10,0 +10,0 @@ export class Messages extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../../core"; | ||
import { APIPromise } from "../../../../core"; | ||
import { APIResource } from "../../../../resource"; | ||
import { isRequestOptions } from "../../../../core"; | ||
import { AssistantStream, RunCreateParamsBaseStream } from "../../../../lib/AssistantStream"; | ||
import { sleep } from "../../../../core"; | ||
import { RunSubmitToolOutputsParamsStream } from "../../../../lib/AssistantStream"; | ||
import * as RunsAPI from "./runs"; | ||
import * as AssistantsAPI from "../../assistants"; | ||
import * as MessagesAPI from "../messages"; | ||
import * as ThreadsAPI from "../threads"; | ||
import * as StepsAPI from "./steps"; | ||
import { CursorPage, type CursorPageParams } from "../../../../pagination"; | ||
import { Stream } from "../../../../streaming"; | ||
import * as Core from '../../../../core'; | ||
import { APIPromise } from '../../../../core'; | ||
import { APIResource } from '../../../../resource'; | ||
import { isRequestOptions } from '../../../../core'; | ||
import { AssistantStream, RunCreateParamsBaseStream } from '../../../../lib/AssistantStream'; | ||
import { sleep } from '../../../../core'; | ||
import { RunSubmitToolOutputsParamsStream } from '../../../../lib/AssistantStream'; | ||
import * as RunsAPI from './runs'; | ||
import * as AssistantsAPI from '../../assistants'; | ||
import * as MessagesAPI from '../messages'; | ||
import * as ThreadsAPI from '../threads'; | ||
import * as StepsAPI from './steps'; | ||
import { CursorPage, type CursorPageParams } from '../../../../pagination'; | ||
import { Stream } from '../../../../streaming'; | ||
@@ -18,0 +18,0 @@ export class Runs extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../../core"; | ||
import { APIResource } from "../../../../resource"; | ||
import { isRequestOptions } from "../../../../core"; | ||
import * as StepsAPI from "./steps"; | ||
import { CursorPage, type CursorPageParams } from "../../../../pagination"; | ||
import * as Core from '../../../../core'; | ||
import { APIResource } from '../../../../resource'; | ||
import { isRequestOptions } from '../../../../core'; | ||
import * as StepsAPI from './steps'; | ||
import { CursorPage, type CursorPageParams } from '../../../../pagination'; | ||
@@ -9,0 +9,0 @@ export class Steps extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIPromise } from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { isRequestOptions } from "../../../core"; | ||
import { AssistantStream, ThreadCreateAndRunParamsBaseStream } from "../../../lib/AssistantStream"; | ||
import * as ThreadsAPI from "./threads"; | ||
import * as AssistantsAPI from "../assistants"; | ||
import * as MessagesAPI from "./messages"; | ||
import * as RunsAPI from "./runs/runs"; | ||
import { Stream } from "../../../streaming"; | ||
import * as Core from '../../../core'; | ||
import { APIPromise } from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { isRequestOptions } from '../../../core'; | ||
import { AssistantStream, ThreadCreateAndRunParamsBaseStream } from '../../../lib/AssistantStream'; | ||
import * as ThreadsAPI from './threads'; | ||
import * as AssistantsAPI from '../assistants'; | ||
import * as MessagesAPI from './messages'; | ||
import * as RunsAPI from './runs/runs'; | ||
import { Stream } from '../../../streaming'; | ||
@@ -14,0 +14,0 @@ export class Threads extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { isRequestOptions } from "../../../core"; | ||
import { sleep } from "../../../core"; | ||
import { Uploadable } from "../../../core"; | ||
import { allSettledWithThrow } from "../../../lib/Util"; | ||
import * as FileBatchesAPI from "./file-batches"; | ||
import * as FilesAPI from "./files"; | ||
import { VectorStoreFilesPage } from "./files"; | ||
import { type CursorPageParams } from "../../../pagination"; | ||
import * as Core from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { isRequestOptions } from '../../../core'; | ||
import { sleep } from '../../../core'; | ||
import { Uploadable } from '../../../core'; | ||
import { allSettledWithThrow } from '../../../lib/Util'; | ||
import * as FileBatchesAPI from './file-batches'; | ||
import * as FilesAPI from './files'; | ||
import { VectorStoreFilesPage } from './files'; | ||
import { type CursorPageParams } from '../../../pagination'; | ||
@@ -14,0 +14,0 @@ export class FileBatches extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { isRequestOptions } from "../../../core"; | ||
import { sleep, Uploadable } from "../../../core"; | ||
import * as FilesAPI from "./files"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination"; | ||
import * as Core from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { isRequestOptions } from '../../../core'; | ||
import { sleep, Uploadable } from '../../../core'; | ||
import * as FilesAPI from './files'; | ||
import { CursorPage, type CursorPageParams } from '../../../pagination'; | ||
@@ -10,0 +10,0 @@ export class Files extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { isRequestOptions } from "../../../core"; | ||
import * as VectorStoresAPI from "./vector-stores"; | ||
import * as FileBatchesAPI from "./file-batches"; | ||
import * as FilesAPI from "./files"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination"; | ||
import * as Core from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { isRequestOptions } from '../../../core'; | ||
import * as VectorStoresAPI from './vector-stores'; | ||
import * as FileBatchesAPI from './file-batches'; | ||
import * as FilesAPI from './files'; | ||
import { CursorPage, type CursorPageParams } from '../../../pagination'; | ||
@@ -11,0 +11,0 @@ export class VectorStores extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import { APIResource } from "../../resource"; | ||
import * as ChatAPI from "./chat"; | ||
import * as CompletionsAPI from "./completions"; | ||
import { APIResource } from '../../resource'; | ||
import * as ChatAPI from './chat'; | ||
import * as CompletionsAPI from './completions'; | ||
@@ -7,0 +7,0 @@ export class Chat extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../core"; | ||
import { APIPromise } from "../../core"; | ||
import { APIResource } from "../../resource"; | ||
import * as ChatCompletionsAPI from "./completions"; | ||
import * as CompletionsAPI from "../completions"; | ||
import * as Shared from "../shared"; | ||
import * as ChatAPI from "./chat"; | ||
import { Stream } from "../../streaming"; | ||
import * as Core from '../../core'; | ||
import { APIPromise } from '../../core'; | ||
import { APIResource } from '../../resource'; | ||
import * as ChatCompletionsAPI from './completions'; | ||
import * as CompletionsAPI from '../completions'; | ||
import * as Shared from '../shared'; | ||
import * as ChatAPI from './chat'; | ||
import { Stream } from '../../streaming'; | ||
@@ -12,0 +12,0 @@ export class Completions extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../core"; | ||
import { APIPromise } from "../core"; | ||
import { APIResource } from "../resource"; | ||
import * as CompletionsAPI from "./completions"; | ||
import * as ChatCompletionsAPI from "./chat/completions"; | ||
import { Stream } from "../streaming"; | ||
import * as Core from '../core'; | ||
import { APIPromise } from '../core'; | ||
import { APIResource } from '../resource'; | ||
import * as CompletionsAPI from './completions'; | ||
import * as ChatCompletionsAPI from './chat/completions'; | ||
import { Stream } from '../streaming'; | ||
@@ -10,0 +10,0 @@ export class Completions extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../core"; | ||
import { APIResource } from "../resource"; | ||
import * as EmbeddingsAPI from "./embeddings"; | ||
import * as Core from '../core'; | ||
import { APIResource } from '../resource'; | ||
import * as EmbeddingsAPI from './embeddings'; | ||
@@ -7,0 +7,0 @@ export class Embeddings extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../core"; | ||
import { APIResource } from "../resource"; | ||
import { isRequestOptions } from "../core"; | ||
import { type Response } from "../_shims/index"; | ||
import { sleep } from "../core"; | ||
import { APIConnectionTimeoutError } from "../error"; | ||
import * as FilesAPI from "./files"; | ||
import { type Uploadable, multipartFormRequestOptions } from "../core"; | ||
import { Page } from "../pagination"; | ||
import * as Core from '../core'; | ||
import { APIResource } from '../resource'; | ||
import { isRequestOptions } from '../core'; | ||
import { type Response } from '../_shims/index'; | ||
import { sleep } from '../core'; | ||
import { APIConnectionTimeoutError } from '../error'; | ||
import * as FilesAPI from './files'; | ||
import { type Uploadable, multipartFormRequestOptions } from '../core'; | ||
import { Page } from '../pagination'; | ||
@@ -13,0 +13,0 @@ export class Files extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import { APIResource } from "../../resource"; | ||
import * as JobsAPI from "./jobs/jobs"; | ||
import { APIResource } from '../../resource'; | ||
import * as JobsAPI from './jobs/jobs'; | ||
@@ -6,0 +6,0 @@ export class FineTuning extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { isRequestOptions } from "../../../core"; | ||
import * as CheckpointsAPI from "./checkpoints"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination"; | ||
import * as Core from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { isRequestOptions } from '../../../core'; | ||
import * as CheckpointsAPI from './checkpoints'; | ||
import { CursorPage, type CursorPageParams } from '../../../pagination'; | ||
@@ -9,0 +9,0 @@ export class Checkpoints extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../../../core"; | ||
import { APIResource } from "../../../resource"; | ||
import { isRequestOptions } from "../../../core"; | ||
import * as JobsAPI from "./jobs"; | ||
import * as CheckpointsAPI from "./checkpoints"; | ||
import { CursorPage, type CursorPageParams } from "../../../pagination"; | ||
import * as Core from '../../../core'; | ||
import { APIResource } from '../../../resource'; | ||
import { isRequestOptions } from '../../../core'; | ||
import * as JobsAPI from './jobs'; | ||
import * as CheckpointsAPI from './checkpoints'; | ||
import { CursorPage, type CursorPageParams } from '../../../pagination'; | ||
@@ -10,0 +10,0 @@ export class Jobs extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../core"; | ||
import { APIResource } from "../resource"; | ||
import * as ImagesAPI from "./images"; | ||
import { type Uploadable, multipartFormRequestOptions } from "../core"; | ||
import * as Core from '../core'; | ||
import { APIResource } from '../resource'; | ||
import * as ImagesAPI from './images'; | ||
import { type Uploadable, multipartFormRequestOptions } from '../core'; | ||
@@ -8,0 +8,0 @@ export class Images extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../core"; | ||
import { APIResource } from "../resource"; | ||
import * as ModelsAPI from "./models"; | ||
import { Page } from "../pagination"; | ||
import * as Core from '../core'; | ||
import { APIResource } from '../resource'; | ||
import * as ModelsAPI from './models'; | ||
import { Page } from '../pagination'; | ||
@@ -8,0 +8,0 @@ export class Models extends APIResource { |
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
import * as Core from "../core"; | ||
import { APIResource } from "../resource"; | ||
import * as ModerationsAPI from "./moderations"; | ||
import * as Core from '../core'; | ||
import { APIResource } from '../resource'; | ||
import * as ModerationsAPI from './moderations'; | ||
@@ -7,0 +7,0 @@ export class Moderations extends APIResource { |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '4.46.0'; // x-release-please-version | ||
export const VERSION = '4.46.1'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "4.46.0"; | ||
export declare const VERSION = "4.46.1"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '4.46.0'; // x-release-please-version | ||
exports.VERSION = '4.46.1'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2433055