MCPcopy Create free account

hub / github.com/1openwindow/azure-openai-node / functions

Functions75 in github.com/1openwindow/azure-openai-node

↓ 29 callersFunctionOpenAIApiFp
(configuration?: Configuration)
api.ts:3000
↓ 29 callersFunctionassertParamExists
(functionName: string, paramName: string, paramValue: unknown)
common.ts:33
↓ 28 callersFunctioncreateRequestFunction
(axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration)
common.ts:146
↓ 28 callersFunctionsetSearchParams
(url: URL, ...objects: any[])
common.ts:114
↓ 28 callersFunctiontoPathString
(url: URL)
common.ts:138
↓ 10 callersFunctionserializeDataIfNeeded
(value: any, requestOptions: any, configuration?: Configuration)
common.ts:124
↓ 2 callersMethodcancelFineTune
* * @summary Immediately cancel a fine-tune job. * @param {string} fineTuneId The ID of the fine-tune job to cancel * @param {*} [op
api.ts:3665
↓ 2 callersMethodcreateAnswer
* * @summary Answers the specified question using the provided documents and examples. The endpoint first [searches](/docs/api-reference/search
api.ts:3678
↓ 2 callersMethodcreateChatCompletion
* * @summary Creates a completion for the chat message * @param {CreateChatCompletionRequest} createChatCompletionRequest * @param {*
api.ts:3690
↓ 2 callersMethodcreateClassification
* * @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the lab
api.ts:3703
↓ 2 callersMethodcreateCompletion
* * @summary Creates a completion for the provided prompt and parameters * @param {CreateCompletionRequest} createCompletionRequest *
api.ts:3715
↓ 2 callersMethodcreateEdit
* * @summary Creates a new edit for the provided input, instruction, and parameters. * @param {CreateEditRequest} createEditRequest *
api.ts:3727
↓ 2 callersMethodcreateEmbedding
* * @summary Creates an embedding vector representing the input text. * @param {CreateEmbeddingRequest} createEmbeddingRequest * @par
api.ts:3739
↓ 2 callersMethodcreateFile
* * @summary Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded
api.ts:3752
↓ 2 callersMethodcreateFineTune
* * @summary Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job
api.ts:3764
↓ 2 callersMethodcreateImage
* * @summary Creates an image given a prompt. * @param {CreateImageRequest} createImageRequest * @param {*} [options] Override http r
api.ts:3776
↓ 2 callersMethodcreateImageEdit
* * @summary Creates an edited or extended image given an original image and a prompt. * @param {File} image The image to edit. Must be a v
api.ts:3794
↓ 2 callersMethodcreateImageVariation
* * @summary Creates a variation of a given image. * @param {File} image The image to use as the basis for the variation(s). Must be a vali
api.ts:3810
↓ 2 callersMethodcreateModeration
* * @summary Classifies if text violates OpenAI\'s Content Policy * @param {CreateModerationRequest} createModerationRequest * @param
api.ts:3822
↓ 2 callersMethodcreateSearch
* * @summary The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if
api.ts:3836
↓ 2 callersMethodcreateTranscription
* * @summary Transcribes audio into the input language. * @param {File} file The audio file to transcribe, in one of these formats: mp3, mp
api.ts:3853
↓ 2 callersMethodcreateTranslation
* * @summary Translates audio into into English. * @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg,
api.ts:3869
↓ 2 callersMethoddeleteFile
* * @summary Delete a file. * @param {string} fileId The ID of the file to use for this request * @param {*} [options] Override http r
api.ts:3881
↓ 2 callersMethoddeleteModel
* * @summary Delete a fine-tuned model. You must have the Owner role in your organization. * @param {string} model The model to delete
api.ts:3893
↓ 2 callersMethoddownloadFile
* * @summary Returns the contents of the specified file * @param {string} fileId The ID of the file to use for this request * @param {
api.ts:3905
↓ 2 callersMethodlistEngines
* * @summary Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and availabil
api.ts:3917
↓ 2 callersMethodlistFiles
* * @summary Returns a list of files that belong to the user\'s organization. * @param {*} [options] Override http request option. * @
api.ts:3928
↓ 2 callersMethodlistFineTuneEvents
* * @summary Get fine-grained status updates for a fine-tune job. * @param {string} fineTuneId The ID of the fine-tune job to get events f
api.ts:3941
↓ 2 callersMethodlistFineTunes
* * @summary List your organization\'s fine-tuning jobs * @param {*} [options] Override http request option. * @throws {RequiredError
api.ts:3952
↓ 2 callersMethodlistModels
* * @summary Lists the currently available models, and provides basic information about each one such as the owner and availability. * @par
api.ts:3963
↓ 2 callersMethodretrieveEngine
* * @summary Retrieves a model instance, providing basic information about it such as the owner and availability. * @param {string} engineI
api.ts:3976
↓ 2 callersMethodretrieveFile
* * @summary Returns information about a specific file. * @param {string} fileId The ID of the file to use for this request * @param {
api.ts:3988
↓ 2 callersMethodretrieveFineTune
* * @summary Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guides/fine-tuning) * @param {string} fineTuneId The
api.ts:4000
↓ 2 callersMethodretrieveModel
* * @summary Retrieves a model instance, providing basic information about the model such as the owner and permissioning. * @param {string}
api.ts:4012
↓ 1 callersFunctionOpenAIApiAxiosParamCreator
(configuration?: Configuration)
api.ts:1864
↓ 1 callersFunctioncreatePrompt
(systemMessage: string, messages: { sender: string, text: string }[])
common.ts:157
↓ 1 callersMethodisJsonMime
* Check if the given MIME is a JSON MIME. * JSON MIME examples: * application/json * application/json; charset=UTF8 * APPLIC
configuration.ts:144
↓ 1 callersFunctionsetFlattenedQueryParams
(urlSearchParams: URLSearchParams, parameter: any, key: string = "")
common.ts:88
FunctionOpenAIApiFactory
(configuration?: Configuration, basePath?: string, axios?: AxiosInstance)
api.ts:3341
FunctioncancelFineTune
* * @summary Immediately cancel a fine-tune job. * @param {string} fineTuneId The ID of the fine-tune job to cancel * @p
api.ts:3010
Methodconstructor
(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globa
base.ts:53
Methodconstructor
(public field: string, msg?: string)
base.ts:68
Methodconstructor
(param: ConfigurationParameters = {})
configuration.ts:98
FunctioncreateAnswer
* * @summary Answers the specified question using the provided documents and examples. The endpoint first [searches](/docs/api-reference/se
api.ts:3022
FunctioncreateChatCompletion
* * @summary Creates a completion for the chat message * @param {CreateChatCompletionRequest} createChatCompletionRequest
api.ts:3033
FunctioncreateClassification
* * @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the
api.ts:3045
FunctioncreateCompletion
* * @summary Creates a completion for the provided prompt and parameters * @param {CreateCompletionRequest} createCompletionRequest
api.ts:3056
FunctioncreateEdit
* * @summary Creates a new edit for the provided input, instruction, and parameters. * @param {CreateEditRequest} createEditRequest
api.ts:3067
FunctioncreateEmbedding
* * @summary Creates an embedding vector representing the input text. * @param {CreateEmbeddingRequest} createEmbeddingRequest
api.ts:3078
FunctioncreateFile
* * @summary Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uplo
api.ts:3090
FunctioncreateFineTune
* * @summary Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including
api.ts:3101
FunctioncreateImage
* * @summary Creates an image given a prompt. * @param {CreateImageRequest} createImageRequest * @param {*} [options] Ove
api.ts:3112
FunctioncreateImageEdit
* * @summary Creates an edited or extended image given an original image and a prompt. * @param {File} image The image to edit. Mus
api.ts:3129
FunctioncreateImageVariation
* * @summary Creates a variation of a given image. * @param {File} image The image to use as the basis for the variation(s). Must b
api.ts:3144
FunctioncreateModeration
* * @summary Classifies if text violates OpenAI\'s Content Policy * @param {CreateModerationRequest} createModerationRequest
api.ts:3155
FunctioncreateSearch
* * @summary The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the AP
api.ts:3168
FunctioncreateTranscription
* * @summary Transcribes audio into the input language. * @param {File} file The audio file to transcribe, in one of these formats:
api.ts:3184
FunctioncreateTranslation
* * @summary Translates audio into into English. * @param {File} file The audio file to translate, in one of these formats: mp3, mp
api.ts:3199
FunctiondeleteFile
* * @summary Delete a file. * @param {string} fileId The ID of the file to use for this request * @param {*} [options] Ove
api.ts:3210
FunctiondeleteModel
* * @summary Delete a fine-tuned model. You must have the Owner role in your organization. * @param {string} model The model to del
api.ts:3221
FunctiondownloadFile
* * @summary Returns the contents of the specified file * @param {string} fileId The ID of the file to use for this request
api.ts:3232
FunctionlistEngines
* * @summary Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and avail
api.ts:3243
FunctionlistFiles
* * @summary Returns a list of files that belong to the user\'s organization. * @param {*} [options] Override http request option.
api.ts:3253
FunctionlistFineTuneEvents
* * @summary Get fine-grained status updates for a fine-tune job. * @param {string} fineTuneId The ID of the fine-tune job to get
api.ts:3265
FunctionlistFineTunes
* * @summary List your organization\'s fine-tuning jobs * @param {*} [options] Override http request option. * @throws {R
api.ts:3275
FunctionlistModels
* * @summary Lists the currently available models, and provides basic information about each one such as the owner and availability.
api.ts:3285
FunctionmessageToAzurePrompt
(messages: Array<ChatCompletionRequestMessage>)
common.ts:166
FunctionretrieveEngine
* * @summary Retrieves a model instance, providing basic information about it such as the owner and availability. * @param {string}
api.ts:3297
FunctionretrieveFile
* * @summary Returns information about a specific file. * @param {string} fileId The ID of the file to use for this request
api.ts:3308
FunctionretrieveFineTune
* * @summary Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guides/fine-tuning) * @param {string} fineTu
api.ts:3319
FunctionretrieveModel
* * @summary Retrieves a model instance, providing basic information about the model such as the owner and permissioning. * @param
api.ts:3330
FunctionsetApiKeyToObject
(object: any, keyParamName: string, configuration?: Configuration)
common.ts:43
FunctionsetBasicAuthToObject
(object: any, configuration?: Configuration)
common.ts:56
FunctionsetBearerAuthToObject
(object: any, configuration?: Configuration)
common.ts:66
FunctionsetOAuthToObject
(object: any, name: string, scopes: string[], configuration?: Configuration)
common.ts:79