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
Request body
dataset_id
The dataset ID.
name
Name for the column. Must be unique within the dataset.
config
Prompt configuration object.
model
Language model identifier (e.g.,
gpt-4o, claude-3-5-sonnet). messages
Ordered message objects defining the prompt. Use
{{column_name}} to reference dataset columns. output_format
Output format. Values:
string, audio, json. temperature
Sampling temperature (
0 to 2). Default: 1. max_tokens
Maximum tokens to generate.
top_p
Nucleus sampling parameter (
0 to 1). Default: 1. frequency_penalty
Frequency penalty (
-2 to 2). Default: 0. presence_penalty
Presence penalty (
-2 to 2). Default: 0. response_format
Response format constraint (e.g.,
json_object). tool_choice
Tool selection strategy. Values:
auto, none, required. tools
Tool definitions available to the model.
concurrency
Number of concurrent requests for parallel row processing.
Response
200 OK message
Confirmation message.
Errors
400
Invalid request parameters.
401
Invalid or missing API credentials.
404
The specified dataset was not found or does not belong to your organization.
500
An unexpected error occurred on the server while creating the run prompt column.