Basic Information

appmixer.ai.foundry.SendPrompt

1.0.0

Public

Send a prompt to a Large Language Model and receive a response.

Input Ports

in

FieldTypeDescription
Instructions textarea The system instructions that the model follows. For example 'You are a personal math tutor.'. Defaults to 'You are a helpful assistant.'.
Prompt textarea -
Deployment text Name of the model deployment in your Azure AI Foundry resource (Deployments in the Foundry portal), e.g. gpt-4o-prod. The list offers the models known to the resource; when your deployment name differs from the model name, type the deployment name.
Temperature number A value between 0 and 2 controlling the randomness of the model. Lower values make the output more focused and deterministic, higher values more creative. Leave empty to use the model default.
Max Tokens number The maximum number of tokens the model may generate for the answer. Leave empty to let the model generate until it stops on its own or reaches the context window limit.
Top P number The nucleus sampling threshold, a value between 0 and 1. The model considers only the tokens with the top P probability mass. We recommend altering either Temperature or Top P, but not both. Leave empty to use the model default.
Frequency Penalty number A value 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. Leave empty to use the model default.
Presence Penalty number A value 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. Leave empty to use the model default.

Output Ports

out

FieldTypeDescription
Answer -
Prompt -

Full Metadata