@workflowai/workflowai
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
import { InitWorkflowAIApiConfig, type TaskSchemaRunGroup, type WorkflowAIApi } from '@workflowai/api'; | ||
import { InitWorkflowAIApiConfig, type TaskGroupReference, type WorkflowAIApi } from '@workflowai/api'; | ||
import { type InputSchema, type OutputSchema, type TaskDefinition, type TaskRunResult, type TaskRunStreamResult, type UseTaskResult } from './Task'; | ||
@@ -7,3 +7,3 @@ export type WorkflowAIConfig = { | ||
export type RunTaskOptions<S extends true | false = false> = { | ||
group: TaskSchemaRunGroup; | ||
group: TaskGroupReference; | ||
stream?: S; | ||
@@ -25,4 +25,6 @@ }; | ||
task_input_hash: string; | ||
task_input_preview?: string | undefined; | ||
task_output: Record<string, never>; | ||
task_output_hash: string; | ||
task_output_preview?: string | undefined; | ||
group: { | ||
@@ -40,2 +42,5 @@ id: string; | ||
training_set_version?: string | null | undefined; | ||
runner_name?: string | null | undefined; | ||
runner_version?: string | null | undefined; | ||
task_schema_id?: number | null | undefined; | ||
}; | ||
@@ -63,2 +68,8 @@ tags: string[]; | ||
labels?: string[] | null | undefined; | ||
llm_completions?: { | ||
messages?: Record<string, never>[] | null | undefined; | ||
response?: string | null | undefined; | ||
cost_in_usd?: number | null | undefined; | ||
}[] | null | undefined; | ||
config_id?: string | null | undefined; | ||
}; | ||
@@ -65,0 +76,0 @@ response: Response; |
@@ -1,2 +0,2 @@ | ||
import { InitWorkflowAIApiConfig, type TaskSchemaRunGroup, type WorkflowAIApi } from '@workflowai/api'; | ||
import { InitWorkflowAIApiConfig, type TaskGroupReference, type WorkflowAIApi } from '@workflowai/api'; | ||
import { type InputSchema, type OutputSchema, type TaskDefinition, type TaskRunResult, type TaskRunStreamResult, type UseTaskResult } from './Task'; | ||
@@ -7,3 +7,3 @@ export type WorkflowAIConfig = { | ||
export type RunTaskOptions<S extends true | false = false> = { | ||
group: TaskSchemaRunGroup; | ||
group: TaskGroupReference; | ||
stream?: S; | ||
@@ -25,4 +25,6 @@ }; | ||
task_input_hash: string; | ||
task_input_preview?: string | undefined; | ||
task_output: Record<string, never>; | ||
task_output_hash: string; | ||
task_output_preview?: string | undefined; | ||
group: { | ||
@@ -40,2 +42,5 @@ id: string; | ||
training_set_version?: string | null | undefined; | ||
runner_name?: string | null | undefined; | ||
runner_version?: string | null | undefined; | ||
task_schema_id?: number | null | undefined; | ||
}; | ||
@@ -63,2 +68,8 @@ tags: string[]; | ||
labels?: string[] | null | undefined; | ||
llm_completions?: { | ||
messages?: Record<string, never>[] | null | undefined; | ||
response?: string | null | undefined; | ||
cost_in_usd?: number | null | undefined; | ||
}[] | null | undefined; | ||
config_id?: string | null | undefined; | ||
}; | ||
@@ -65,0 +76,0 @@ response: Response; |
{ | ||
"name": "@workflowai/workflowai", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "workflowAI client", | ||
@@ -48,5 +48,5 @@ "author": "workflowAI", | ||
"dependencies": { | ||
"@workflowai/api": "^1.2.0", | ||
"@workflowai/api": "^1.3.0", | ||
"@workflowai/schema": "^1.0.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
40585
3.06%655
3.48%Updated