Add Run Prompt Column

Add a new run prompt column to a dataset that generates LLM responses for each row.

POST https://api.futureagi.com/model-hub/develops/add_run_prompt_column/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Request body

dataset_id string Required

The dataset ID.

name string Required

Name for the column. Must be unique within the dataset.

config object Required

Prompt configuration object.

model string
Language model identifier (e.g., gpt-4o, claude-3-5-sonnet).
messages array
Ordered message objects defining the prompt. Use {{column_name}} to reference dataset columns.
output_format string
Output format. Values: string, audio, json.
temperature number
Sampling temperature (0 to 2). Default: 1.
max_tokens integer
Maximum tokens to generate.
top_p number
Nucleus sampling parameter (0 to 1). Default: 1.
frequency_penalty number
Frequency penalty (-2 to 2). Default: 0.
presence_penalty number
Presence penalty (-2 to 2). Default: 0.
response_format string
Response format constraint (e.g., json_object).
tool_choice string
Tool selection strategy. Values: auto, none, required.
tools array
Tool definitions available to the model.
concurrency integer
Number of concurrent requests for parallel row processing.

Response

200 OK
message string
Confirmation message.

Errors

400 Bad Request Optional
Invalid request parameters.
401 Unauthorized Optional
Invalid or missing API credentials.
404 Not Found Optional
The specified dataset was not found or does not belong to your organization.
500 Internal Server Error Optional
An unexpected error occurred on the server while creating the run prompt column.
GET /
Authentication
REQUEST
 
RESPONSE