Skip to content

Azure OpenAI

Reference


Azure OpenAI is a research organization that aims to develop and direct artificial intelligence (AI) in ways that benefit humanity as a whole.

Categories: [artificial-intelligence]

Version: 1


Connections

Version: 1

Bearer Token

Properties

NameTypeControl TypeDescription
EndpointSTRINGTEXT
TokenSTRINGTEXT

Actions

Ask

Ask anything you want.

Properties

NameTypeControl TypeDescription
ModelSTRINGTEXTDeployment name, written in string.
Messages[{STRING(content), STRING(role)}]ARRAY_BUILDERA list of messages comprising the conversation so far.
Response FormatINTEGERSELECTIn which format do you want the response to be in?
Response SchemaSTRINGTEXT_AREADefine the JSON schema for the response.
Max TokensINTEGERINTEGERThe maximum number of tokens to generate in the chat completion.
Number of Chat Completion ChoicesINTEGERINTEGERHow many chat completion choices to generate for each input message.
TemperatureNUMBERNUMBERControls randomness: Higher values will make the output more random, while lower values like will make it more focused and deterministic.
Frequency PenaltyNUMBERNUMBERNumber between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model’s likelihood to repeat the same line verbatim.
Presence PenaltyNUMBERNUMBERNumber between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model’s likelihood to talk about new topics.
Logit Bias{}OBJECT_BUILDERModify the likelihood of specified tokens appearing in the completion.
Top PNUMBERNUMBERAn alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
Stop[STRING]ARRAY_BUILDERUp to 4 sequences where the API will stop generating further tokens.
Functions[STRING]ARRAY_BUILDEREnter the names of functions you want to use.
UserSTRINGTEXTA unique identifier representing your end-user, which can help admins to monitor and detect abuse.

Create Image

Create an image using text-to-image models

Properties

NameTypeControl TypeDescription
ModelSTRINGSELECTThe model to use for image generation.
Messages[{STRING(content), NUMBER(weight)}]ARRAY_BUILDERA list of messages comprising the conversation so far.
Size{}SELECTThe size of the generated images.
Number of ResponsesINTEGERINTEGERThe number of images to generate. Must be between 1 and 10. For dall-e-3, only n=1 is supported..
Response FormatSTRINGSELECTThe format in which the generated images are returned.
StyleSTRINGSELECTThe style of the generated images. Must be one of vivid or natural. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. This parameter is only supported for dall-e-3.
UserSTRINGTEXTA unique identifier representing your end-user, which can help admins to monitor and detect abuse.

Output

Type: OBJECT

Properties

TypeControl Type
INTEGERINTEGER
[{STRING(url), STRING(b64Json), STRING(revisedPrompt)}]ARRAY_BUILDER

Create Transcriptions

Transcribes audio into the input language.

Properties

NameTypeControl TypeDescription
FileFILE_ENTRYFILE_ENTRYThe audio file object to transcribe, in one of these formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, or webm.
ModelSTRINGSELECTID of the model to use.
LanguageSTRINGSELECTThe language of the input audio.
PromptSTRINGTEXTAn optional text to guide the model’s style or continue a previous audio segment. The prompt should match the audio language.
Response Format{}SELECTThe format of the transcript output
TemperatureNUMBERNUMBERThe sampling temperature, between 0 and 1. Higher values like will make the output more random, while lower values will make it more focused and deterministic.