Skip to main content

OpenAI

This page contains information about all the OpenAI processors that are available in LLMStack.

Prerequisites

In order to use the OpenAI processors, you need to have an OpenAI API key configured in the settings page (http://localhost:8000/settings). You can get the API key from here.

Processors

ProcessorDescriptionInput ParametersOutputConfigurationDocs
Chat CompletionsAllows you to interact with the OpenAI's ChatGPT APISystem message, List of user messagesReturns a list of message completionsControls the behavior of the assistantLink
Completions APIAllows you to interact with the OpenAI's Completions APIPromptReturns a list of completions the model predicted for the given prompt inputControls the behavior of the modelLink
Image Generation (DallE)Allows you to interact with the OpenAI's Image Creation API (DallE)Text promptReturns a list of images generated by the modelControls the behavior of the modelLink
Image Edit (Dall-E)Allows you to interact with the OpenAI's Image Edit API (Dall-E)Prompt, Image, Optional mask imageReturns a list of images generated by the modelControls the behavior of the modelLink
Image Variation (Dall-E)Allows you to interact with the OpenAI's Image Variation API (Dall-E)Image for variationReturns a list of images generated by the modelControls the behavior of the modelLink
Audio Transcription (Whisper)Allows you to interact with the OpenAI's Transcription Whisper APIAudio file (mp3, mp4, mpeg, mpga, m4a, wav, or webm)Returns a text, which is the transcription of the audio fileConfiguration parameters like language, response format, etc.Link
Audio Translation (Whisper)Allows you to interact with the OpenAI's Translation Whisper APIAudio file (mp3, mp4, mpeg, mpga, m4a, wav, or webm)Returns a text, which is the translation of the audio fileConfiguration parameters like model, response format etc.Link