fix: batch run description, output, and beta badge (#8304)
* remove data to dataframe and message to data * fix batch run component
This commit is contained in:
parent
fd73cdcd7e
commit
f1775440a5
2 changed files with 6 additions and 7 deletions
|
|
@ -15,9 +15,8 @@ if TYPE_CHECKING:
|
||||||
|
|
||||||
class BatchRunComponent(Component):
|
class BatchRunComponent(Component):
|
||||||
display_name = "Batch Run"
|
display_name = "Batch Run"
|
||||||
description = "Runs an LLM over each row of a DataFrame's column. If no column is set, the entire row is passed."
|
description = "Runs an LLM on each row of a DataFrame column. If no column is specified, all columns are used."
|
||||||
icon = "List"
|
icon = "List"
|
||||||
beta = True
|
|
||||||
|
|
||||||
inputs = [
|
inputs = [
|
||||||
HandleInput(
|
HandleInput(
|
||||||
|
|
@ -69,7 +68,7 @@ class BatchRunComponent(Component):
|
||||||
|
|
||||||
outputs = [
|
outputs = [
|
||||||
Output(
|
Output(
|
||||||
display_name="DataFrame",
|
display_name="LLM Results",
|
||||||
name="batch_results",
|
name="batch_results",
|
||||||
method="run_batch",
|
method="run_batch",
|
||||||
info="A DataFrame with all original columns plus the model's response column.",
|
info="A DataFrame with all original columns plus the model's response column.",
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue