agenttask

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the agenttask type in the database.
	Label = "agent_task"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldWorkflowID holds the string denoting the workflow_id field in the database.
	FieldWorkflowID = "workflow_id"
	// FieldAgentID holds the string denoting the agent_id field in the database.
	FieldAgentID = "agent_id"
	// FieldAgentType holds the string denoting the agent_type field in the database.
	FieldAgentType = "agent_type"
	// FieldTaskType holds the string denoting the task_type field in the database.
	FieldTaskType = "task_type"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldTraceID holds the string denoting the trace_id field in the database.
	FieldTraceID = "trace_id"
	// FieldSpanID holds the string denoting the span_id field in the database.
	FieldSpanID = "span_id"
	// FieldParentSpanID holds the string denoting the parent_span_id field in the database.
	FieldParentSpanID = "parent_span_id"
	// FieldInput holds the string denoting the input field in the database.
	FieldInput = "input"
	// FieldOutput holds the string denoting the output field in the database.
	FieldOutput = "output"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldLlmCallCount holds the string denoting the llm_call_count field in the database.
	FieldLlmCallCount = "llm_call_count"
	// FieldToolCallCount holds the string denoting the tool_call_count field in the database.
	FieldToolCallCount = "tool_call_count"
	// FieldRetryCount holds the string denoting the retry_count field in the database.
	FieldRetryCount = "retry_count"
	// FieldTokensPrompt holds the string denoting the tokens_prompt field in the database.
	FieldTokensPrompt = "tokens_prompt"
	// FieldTokensCompletion holds the string denoting the tokens_completion field in the database.
	FieldTokensCompletion = "tokens_completion"
	// FieldTokensTotal holds the string denoting the tokens_total field in the database.
	FieldTokensTotal = "tokens_total"
	// FieldCostUsd holds the string denoting the cost_usd field in the database.
	FieldCostUsd = "cost_usd"
	// FieldDurationMs holds the string denoting the duration_ms field in the database.
	FieldDurationMs = "duration_ms"
	// FieldErrorType holds the string denoting the error_type field in the database.
	FieldErrorType = "error_type"
	// FieldErrorMessage holds the string denoting the error_message field in the database.
	FieldErrorMessage = "error_message"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldEndedAt holds the string denoting the ended_at field in the database.
	FieldEndedAt = "ended_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// EdgeWorkflow holds the string denoting the workflow edge name in mutations.
	EdgeWorkflow = "workflow"
	// EdgeToolInvocations holds the string denoting the tool_invocations edge name in mutations.
	EdgeToolInvocations = "tool_invocations"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// Table holds the table name of the agenttask in the database.
	Table = "agent_tasks"
	// WorkflowTable is the table that holds the workflow relation/edge.
	WorkflowTable = "agent_tasks"
	// WorkflowInverseTable is the table name for the Workflow entity.
	// It exists in this package in order to avoid circular dependency with the "workflow" package.
	WorkflowInverseTable = "workflows"
	// WorkflowColumn is the table column denoting the workflow relation/edge.
	WorkflowColumn = "workflow_id"
	// ToolInvocationsTable is the table that holds the tool_invocations relation/edge.
	ToolInvocationsTable = "tool_invocations"
	// ToolInvocationsInverseTable is the table name for the ToolInvocation entity.
	// It exists in this package in order to avoid circular dependency with the "toolinvocation" package.
	ToolInvocationsInverseTable = "tool_invocations"
	// ToolInvocationsColumn is the table column denoting the tool_invocations relation/edge.
	ToolInvocationsColumn = "task_id"
	// EventsTable is the table that holds the events relation/edge.
	EventsTable = "agent_events"
	// EventsInverseTable is the table name for the AgentEvent entity.
	// It exists in this package in order to avoid circular dependency with the "agentevent" package.
	EventsInverseTable = "agent_events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "task_id"
)

Variables

View Source
var (
	// AgentIDValidator is a validator for the "agent_id" field. It is called by the builders before save.
	AgentIDValidator func(string) error
	// TaskTypeValidator is a validator for the "task_type" field. It is called by the builders before save.
	TaskTypeValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// DefaultLlmCallCount holds the default value on creation for the "llm_call_count" field.
	DefaultLlmCallCount int
	// DefaultToolCallCount holds the default value on creation for the "tool_call_count" field.
	DefaultToolCallCount int
	// DefaultRetryCount holds the default value on creation for the "retry_count" field.
	DefaultRetryCount int
	// DefaultTokensPrompt holds the default value on creation for the "tokens_prompt" field.
	DefaultTokensPrompt int
	// DefaultTokensCompletion holds the default value on creation for the "tokens_completion" field.
	DefaultTokensCompletion int
	// DefaultTokensTotal holds the default value on creation for the "tokens_total" field.
	DefaultTokensTotal int
	// DefaultCostUsd holds the default value on creation for the "cost_usd" field.
	DefaultCostUsd float64
	// DefaultStartedAt holds the default value on creation for the "started_at" field.
	DefaultStartedAt func() time.Time
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
)

Columns holds all SQL columns for agenttask fields.

Functions

func AgentID

func AgentID(v string) predicate.AgentTask

AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.

func AgentIDContains

func AgentIDContains(v string) predicate.AgentTask

AgentIDContains applies the Contains predicate on the "agent_id" field.

func AgentIDContainsFold

func AgentIDContainsFold(v string) predicate.AgentTask

AgentIDContainsFold applies the ContainsFold predicate on the "agent_id" field.

func AgentIDEQ

func AgentIDEQ(v string) predicate.AgentTask

AgentIDEQ applies the EQ predicate on the "agent_id" field.

func AgentIDEqualFold

func AgentIDEqualFold(v string) predicate.AgentTask

AgentIDEqualFold applies the EqualFold predicate on the "agent_id" field.

func AgentIDGT

func AgentIDGT(v string) predicate.AgentTask

AgentIDGT applies the GT predicate on the "agent_id" field.

func AgentIDGTE

func AgentIDGTE(v string) predicate.AgentTask

AgentIDGTE applies the GTE predicate on the "agent_id" field.

func AgentIDHasPrefix

func AgentIDHasPrefix(v string) predicate.AgentTask

AgentIDHasPrefix applies the HasPrefix predicate on the "agent_id" field.

func AgentIDHasSuffix

func AgentIDHasSuffix(v string) predicate.AgentTask

AgentIDHasSuffix applies the HasSuffix predicate on the "agent_id" field.

func AgentIDIn

func AgentIDIn(vs ...string) predicate.AgentTask

AgentIDIn applies the In predicate on the "agent_id" field.

func AgentIDLT

func AgentIDLT(v string) predicate.AgentTask

AgentIDLT applies the LT predicate on the "agent_id" field.

func AgentIDLTE

func AgentIDLTE(v string) predicate.AgentTask

AgentIDLTE applies the LTE predicate on the "agent_id" field.

func AgentIDNEQ

func AgentIDNEQ(v string) predicate.AgentTask

AgentIDNEQ applies the NEQ predicate on the "agent_id" field.

func AgentIDNotIn

func AgentIDNotIn(vs ...string) predicate.AgentTask

AgentIDNotIn applies the NotIn predicate on the "agent_id" field.

func AgentType

func AgentType(v string) predicate.AgentTask

AgentType applies equality check predicate on the "agent_type" field. It's identical to AgentTypeEQ.

func AgentTypeContains

func AgentTypeContains(v string) predicate.AgentTask

AgentTypeContains applies the Contains predicate on the "agent_type" field.

func AgentTypeContainsFold

func AgentTypeContainsFold(v string) predicate.AgentTask

AgentTypeContainsFold applies the ContainsFold predicate on the "agent_type" field.

func AgentTypeEQ

func AgentTypeEQ(v string) predicate.AgentTask

AgentTypeEQ applies the EQ predicate on the "agent_type" field.

func AgentTypeEqualFold

func AgentTypeEqualFold(v string) predicate.AgentTask

AgentTypeEqualFold applies the EqualFold predicate on the "agent_type" field.

func AgentTypeGT

func AgentTypeGT(v string) predicate.AgentTask

AgentTypeGT applies the GT predicate on the "agent_type" field.

func AgentTypeGTE

func AgentTypeGTE(v string) predicate.AgentTask

AgentTypeGTE applies the GTE predicate on the "agent_type" field.

func AgentTypeHasPrefix

func AgentTypeHasPrefix(v string) predicate.AgentTask

AgentTypeHasPrefix applies the HasPrefix predicate on the "agent_type" field.

func AgentTypeHasSuffix

func AgentTypeHasSuffix(v string) predicate.AgentTask

AgentTypeHasSuffix applies the HasSuffix predicate on the "agent_type" field.

func AgentTypeIn

func AgentTypeIn(vs ...string) predicate.AgentTask

AgentTypeIn applies the In predicate on the "agent_type" field.

func AgentTypeIsNil

func AgentTypeIsNil() predicate.AgentTask

AgentTypeIsNil applies the IsNil predicate on the "agent_type" field.

func AgentTypeLT

func AgentTypeLT(v string) predicate.AgentTask

AgentTypeLT applies the LT predicate on the "agent_type" field.

func AgentTypeLTE

func AgentTypeLTE(v string) predicate.AgentTask

AgentTypeLTE applies the LTE predicate on the "agent_type" field.

func AgentTypeNEQ

func AgentTypeNEQ(v string) predicate.AgentTask

AgentTypeNEQ applies the NEQ predicate on the "agent_type" field.

func AgentTypeNotIn

func AgentTypeNotIn(vs ...string) predicate.AgentTask

AgentTypeNotIn applies the NotIn predicate on the "agent_type" field.

func AgentTypeNotNil

func AgentTypeNotNil() predicate.AgentTask

AgentTypeNotNil applies the NotNil predicate on the "agent_type" field.

func And

func And(predicates ...predicate.AgentTask) predicate.AgentTask

And groups predicates with the AND operator between them.

func CostUsd

func CostUsd(v float64) predicate.AgentTask

CostUsd applies equality check predicate on the "cost_usd" field. It's identical to CostUsdEQ.

func CostUsdEQ

func CostUsdEQ(v float64) predicate.AgentTask

CostUsdEQ applies the EQ predicate on the "cost_usd" field.

func CostUsdGT

func CostUsdGT(v float64) predicate.AgentTask

CostUsdGT applies the GT predicate on the "cost_usd" field.

func CostUsdGTE

func CostUsdGTE(v float64) predicate.AgentTask

CostUsdGTE applies the GTE predicate on the "cost_usd" field.

func CostUsdIn

func CostUsdIn(vs ...float64) predicate.AgentTask

CostUsdIn applies the In predicate on the "cost_usd" field.

func CostUsdLT

func CostUsdLT(v float64) predicate.AgentTask

CostUsdLT applies the LT predicate on the "cost_usd" field.

func CostUsdLTE

func CostUsdLTE(v float64) predicate.AgentTask

CostUsdLTE applies the LTE predicate on the "cost_usd" field.

func CostUsdNEQ

func CostUsdNEQ(v float64) predicate.AgentTask

CostUsdNEQ applies the NEQ predicate on the "cost_usd" field.

func CostUsdNotIn

func CostUsdNotIn(vs ...float64) predicate.AgentTask

CostUsdNotIn applies the NotIn predicate on the "cost_usd" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AgentTask

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AgentTask

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AgentTask

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AgentTask

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AgentTask

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AgentTask

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AgentTask

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AgentTask

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AgentTask

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DurationMs

func DurationMs(v int64) predicate.AgentTask

DurationMs applies equality check predicate on the "duration_ms" field. It's identical to DurationMsEQ.

func DurationMsEQ

func DurationMsEQ(v int64) predicate.AgentTask

DurationMsEQ applies the EQ predicate on the "duration_ms" field.

func DurationMsGT

func DurationMsGT(v int64) predicate.AgentTask

DurationMsGT applies the GT predicate on the "duration_ms" field.

func DurationMsGTE

func DurationMsGTE(v int64) predicate.AgentTask

DurationMsGTE applies the GTE predicate on the "duration_ms" field.

func DurationMsIn

func DurationMsIn(vs ...int64) predicate.AgentTask

DurationMsIn applies the In predicate on the "duration_ms" field.

func DurationMsIsNil

func DurationMsIsNil() predicate.AgentTask

DurationMsIsNil applies the IsNil predicate on the "duration_ms" field.

func DurationMsLT

func DurationMsLT(v int64) predicate.AgentTask

DurationMsLT applies the LT predicate on the "duration_ms" field.

func DurationMsLTE

func DurationMsLTE(v int64) predicate.AgentTask

DurationMsLTE applies the LTE predicate on the "duration_ms" field.

func DurationMsNEQ

func DurationMsNEQ(v int64) predicate.AgentTask

DurationMsNEQ applies the NEQ predicate on the "duration_ms" field.

func DurationMsNotIn

func DurationMsNotIn(vs ...int64) predicate.AgentTask

DurationMsNotIn applies the NotIn predicate on the "duration_ms" field.

func DurationMsNotNil

func DurationMsNotNil() predicate.AgentTask

DurationMsNotNil applies the NotNil predicate on the "duration_ms" field.

func EndedAt

func EndedAt(v time.Time) predicate.AgentTask

EndedAt applies equality check predicate on the "ended_at" field. It's identical to EndedAtEQ.

func EndedAtEQ

func EndedAtEQ(v time.Time) predicate.AgentTask

EndedAtEQ applies the EQ predicate on the "ended_at" field.

func EndedAtGT

func EndedAtGT(v time.Time) predicate.AgentTask

EndedAtGT applies the GT predicate on the "ended_at" field.

func EndedAtGTE

func EndedAtGTE(v time.Time) predicate.AgentTask

EndedAtGTE applies the GTE predicate on the "ended_at" field.

func EndedAtIn

func EndedAtIn(vs ...time.Time) predicate.AgentTask

EndedAtIn applies the In predicate on the "ended_at" field.

func EndedAtIsNil

func EndedAtIsNil() predicate.AgentTask

EndedAtIsNil applies the IsNil predicate on the "ended_at" field.

func EndedAtLT

func EndedAtLT(v time.Time) predicate.AgentTask

EndedAtLT applies the LT predicate on the "ended_at" field.

func EndedAtLTE

func EndedAtLTE(v time.Time) predicate.AgentTask

EndedAtLTE applies the LTE predicate on the "ended_at" field.

func EndedAtNEQ

func EndedAtNEQ(v time.Time) predicate.AgentTask

EndedAtNEQ applies the NEQ predicate on the "ended_at" field.

func EndedAtNotIn

func EndedAtNotIn(vs ...time.Time) predicate.AgentTask

EndedAtNotIn applies the NotIn predicate on the "ended_at" field.

func EndedAtNotNil

func EndedAtNotNil() predicate.AgentTask

EndedAtNotNil applies the NotNil predicate on the "ended_at" field.

func ErrorMessage

func ErrorMessage(v string) predicate.AgentTask

ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.

func ErrorMessageContains

func ErrorMessageContains(v string) predicate.AgentTask

ErrorMessageContains applies the Contains predicate on the "error_message" field.

func ErrorMessageContainsFold

func ErrorMessageContainsFold(v string) predicate.AgentTask

ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.

func ErrorMessageEQ

func ErrorMessageEQ(v string) predicate.AgentTask

ErrorMessageEQ applies the EQ predicate on the "error_message" field.

func ErrorMessageEqualFold

func ErrorMessageEqualFold(v string) predicate.AgentTask

ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.

func ErrorMessageGT

func ErrorMessageGT(v string) predicate.AgentTask

ErrorMessageGT applies the GT predicate on the "error_message" field.

func ErrorMessageGTE

func ErrorMessageGTE(v string) predicate.AgentTask

ErrorMessageGTE applies the GTE predicate on the "error_message" field.

func ErrorMessageHasPrefix

func ErrorMessageHasPrefix(v string) predicate.AgentTask

ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.

func ErrorMessageHasSuffix

func ErrorMessageHasSuffix(v string) predicate.AgentTask

ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.

func ErrorMessageIn

func ErrorMessageIn(vs ...string) predicate.AgentTask

ErrorMessageIn applies the In predicate on the "error_message" field.

func ErrorMessageIsNil

func ErrorMessageIsNil() predicate.AgentTask

ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.

func ErrorMessageLT

func ErrorMessageLT(v string) predicate.AgentTask

ErrorMessageLT applies the LT predicate on the "error_message" field.

func ErrorMessageLTE

func ErrorMessageLTE(v string) predicate.AgentTask

ErrorMessageLTE applies the LTE predicate on the "error_message" field.

func ErrorMessageNEQ

func ErrorMessageNEQ(v string) predicate.AgentTask

ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.

func ErrorMessageNotIn

func ErrorMessageNotIn(vs ...string) predicate.AgentTask

ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.

func ErrorMessageNotNil

func ErrorMessageNotNil() predicate.AgentTask

ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.

func ErrorType

func ErrorType(v string) predicate.AgentTask

ErrorType applies equality check predicate on the "error_type" field. It's identical to ErrorTypeEQ.

func ErrorTypeContains

func ErrorTypeContains(v string) predicate.AgentTask

ErrorTypeContains applies the Contains predicate on the "error_type" field.

func ErrorTypeContainsFold

func ErrorTypeContainsFold(v string) predicate.AgentTask

ErrorTypeContainsFold applies the ContainsFold predicate on the "error_type" field.

func ErrorTypeEQ

func ErrorTypeEQ(v string) predicate.AgentTask

ErrorTypeEQ applies the EQ predicate on the "error_type" field.

func ErrorTypeEqualFold

func ErrorTypeEqualFold(v string) predicate.AgentTask

ErrorTypeEqualFold applies the EqualFold predicate on the "error_type" field.

func ErrorTypeGT

func ErrorTypeGT(v string) predicate.AgentTask

ErrorTypeGT applies the GT predicate on the "error_type" field.

func ErrorTypeGTE

func ErrorTypeGTE(v string) predicate.AgentTask

ErrorTypeGTE applies the GTE predicate on the "error_type" field.

func ErrorTypeHasPrefix

func ErrorTypeHasPrefix(v string) predicate.AgentTask

ErrorTypeHasPrefix applies the HasPrefix predicate on the "error_type" field.

func ErrorTypeHasSuffix

func ErrorTypeHasSuffix(v string) predicate.AgentTask

ErrorTypeHasSuffix applies the HasSuffix predicate on the "error_type" field.

func ErrorTypeIn

func ErrorTypeIn(vs ...string) predicate.AgentTask

ErrorTypeIn applies the In predicate on the "error_type" field.

func ErrorTypeIsNil

func ErrorTypeIsNil() predicate.AgentTask

ErrorTypeIsNil applies the IsNil predicate on the "error_type" field.

func ErrorTypeLT

func ErrorTypeLT(v string) predicate.AgentTask

ErrorTypeLT applies the LT predicate on the "error_type" field.

func ErrorTypeLTE

func ErrorTypeLTE(v string) predicate.AgentTask

ErrorTypeLTE applies the LTE predicate on the "error_type" field.

func ErrorTypeNEQ

func ErrorTypeNEQ(v string) predicate.AgentTask

ErrorTypeNEQ applies the NEQ predicate on the "error_type" field.

func ErrorTypeNotIn

func ErrorTypeNotIn(vs ...string) predicate.AgentTask

ErrorTypeNotIn applies the NotIn predicate on the "error_type" field.

func ErrorTypeNotNil

func ErrorTypeNotNil() predicate.AgentTask

ErrorTypeNotNil applies the NotNil predicate on the "error_type" field.

func HasEvents

func HasEvents() predicate.AgentTask

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.AgentEvent) predicate.AgentTask

HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).

func HasToolInvocations

func HasToolInvocations() predicate.AgentTask

HasToolInvocations applies the HasEdge predicate on the "tool_invocations" edge.

func HasToolInvocationsWith

func HasToolInvocationsWith(preds ...predicate.ToolInvocation) predicate.AgentTask

HasToolInvocationsWith applies the HasEdge predicate on the "tool_invocations" edge with a given conditions (other predicates).

func HasWorkflow

func HasWorkflow() predicate.AgentTask

HasWorkflow applies the HasEdge predicate on the "workflow" edge.

func HasWorkflowWith

func HasWorkflowWith(preds ...predicate.Workflow) predicate.AgentTask

HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.AgentTask

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.AgentTask

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.AgentTask

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.AgentTask

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.AgentTask

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.AgentTask

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.AgentTask

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.AgentTask

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.AgentTask

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.AgentTask

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.AgentTask

IDNotIn applies the NotIn predicate on the ID field.

func InputIsNil

func InputIsNil() predicate.AgentTask

InputIsNil applies the IsNil predicate on the "input" field.

func InputNotNil

func InputNotNil() predicate.AgentTask

InputNotNil applies the NotNil predicate on the "input" field.

func LlmCallCount

func LlmCallCount(v int) predicate.AgentTask

LlmCallCount applies equality check predicate on the "llm_call_count" field. It's identical to LlmCallCountEQ.

func LlmCallCountEQ

func LlmCallCountEQ(v int) predicate.AgentTask

LlmCallCountEQ applies the EQ predicate on the "llm_call_count" field.

func LlmCallCountGT

func LlmCallCountGT(v int) predicate.AgentTask

LlmCallCountGT applies the GT predicate on the "llm_call_count" field.

func LlmCallCountGTE

func LlmCallCountGTE(v int) predicate.AgentTask

LlmCallCountGTE applies the GTE predicate on the "llm_call_count" field.

func LlmCallCountIn

func LlmCallCountIn(vs ...int) predicate.AgentTask

LlmCallCountIn applies the In predicate on the "llm_call_count" field.

func LlmCallCountLT

func LlmCallCountLT(v int) predicate.AgentTask

LlmCallCountLT applies the LT predicate on the "llm_call_count" field.

func LlmCallCountLTE

func LlmCallCountLTE(v int) predicate.AgentTask

LlmCallCountLTE applies the LTE predicate on the "llm_call_count" field.

func LlmCallCountNEQ

func LlmCallCountNEQ(v int) predicate.AgentTask

LlmCallCountNEQ applies the NEQ predicate on the "llm_call_count" field.

func LlmCallCountNotIn

func LlmCallCountNotIn(vs ...int) predicate.AgentTask

LlmCallCountNotIn applies the NotIn predicate on the "llm_call_count" field.

func MetadataIsNil

func MetadataIsNil() predicate.AgentTask

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.AgentTask

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

func Name(v string) predicate.AgentTask

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.AgentTask

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.AgentTask

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.AgentTask

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.AgentTask

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.AgentTask

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.AgentTask

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.AgentTask

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.AgentTask

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.AgentTask

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.AgentTask

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.AgentTask

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.AgentTask

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.AgentTask

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AgentTask) predicate.AgentTask

Or groups predicates with the OR operator between them.

func OutputIsNil

func OutputIsNil() predicate.AgentTask

OutputIsNil applies the IsNil predicate on the "output" field.

func OutputNotNil

func OutputNotNil() predicate.AgentTask

OutputNotNil applies the NotNil predicate on the "output" field.

func ParentSpanID

func ParentSpanID(v string) predicate.AgentTask

ParentSpanID applies equality check predicate on the "parent_span_id" field. It's identical to ParentSpanIDEQ.

func ParentSpanIDContains

func ParentSpanIDContains(v string) predicate.AgentTask

ParentSpanIDContains applies the Contains predicate on the "parent_span_id" field.

func ParentSpanIDContainsFold

func ParentSpanIDContainsFold(v string) predicate.AgentTask

ParentSpanIDContainsFold applies the ContainsFold predicate on the "parent_span_id" field.

func ParentSpanIDEQ

func ParentSpanIDEQ(v string) predicate.AgentTask

ParentSpanIDEQ applies the EQ predicate on the "parent_span_id" field.

func ParentSpanIDEqualFold

func ParentSpanIDEqualFold(v string) predicate.AgentTask

ParentSpanIDEqualFold applies the EqualFold predicate on the "parent_span_id" field.

func ParentSpanIDGT

func ParentSpanIDGT(v string) predicate.AgentTask

ParentSpanIDGT applies the GT predicate on the "parent_span_id" field.

func ParentSpanIDGTE

func ParentSpanIDGTE(v string) predicate.AgentTask

ParentSpanIDGTE applies the GTE predicate on the "parent_span_id" field.

func ParentSpanIDHasPrefix

func ParentSpanIDHasPrefix(v string) predicate.AgentTask

ParentSpanIDHasPrefix applies the HasPrefix predicate on the "parent_span_id" field.

func ParentSpanIDHasSuffix

func ParentSpanIDHasSuffix(v string) predicate.AgentTask

ParentSpanIDHasSuffix applies the HasSuffix predicate on the "parent_span_id" field.

func ParentSpanIDIn

func ParentSpanIDIn(vs ...string) predicate.AgentTask

ParentSpanIDIn applies the In predicate on the "parent_span_id" field.

func ParentSpanIDIsNil

func ParentSpanIDIsNil() predicate.AgentTask

ParentSpanIDIsNil applies the IsNil predicate on the "parent_span_id" field.

func ParentSpanIDLT

func ParentSpanIDLT(v string) predicate.AgentTask

ParentSpanIDLT applies the LT predicate on the "parent_span_id" field.

func ParentSpanIDLTE

func ParentSpanIDLTE(v string) predicate.AgentTask

ParentSpanIDLTE applies the LTE predicate on the "parent_span_id" field.

func ParentSpanIDNEQ

func ParentSpanIDNEQ(v string) predicate.AgentTask

ParentSpanIDNEQ applies the NEQ predicate on the "parent_span_id" field.

func ParentSpanIDNotIn

func ParentSpanIDNotIn(vs ...string) predicate.AgentTask

ParentSpanIDNotIn applies the NotIn predicate on the "parent_span_id" field.

func ParentSpanIDNotNil

func ParentSpanIDNotNil() predicate.AgentTask

ParentSpanIDNotNil applies the NotNil predicate on the "parent_span_id" field.

func RetryCount

func RetryCount(v int) predicate.AgentTask

RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.

func RetryCountEQ

func RetryCountEQ(v int) predicate.AgentTask

RetryCountEQ applies the EQ predicate on the "retry_count" field.

func RetryCountGT

func RetryCountGT(v int) predicate.AgentTask

RetryCountGT applies the GT predicate on the "retry_count" field.

func RetryCountGTE

func RetryCountGTE(v int) predicate.AgentTask

RetryCountGTE applies the GTE predicate on the "retry_count" field.

func RetryCountIn

func RetryCountIn(vs ...int) predicate.AgentTask

RetryCountIn applies the In predicate on the "retry_count" field.

func RetryCountLT

func RetryCountLT(v int) predicate.AgentTask

RetryCountLT applies the LT predicate on the "retry_count" field.

func RetryCountLTE

func RetryCountLTE(v int) predicate.AgentTask

RetryCountLTE applies the LTE predicate on the "retry_count" field.

func RetryCountNEQ

func RetryCountNEQ(v int) predicate.AgentTask

RetryCountNEQ applies the NEQ predicate on the "retry_count" field.

func RetryCountNotIn

func RetryCountNotIn(vs ...int) predicate.AgentTask

RetryCountNotIn applies the NotIn predicate on the "retry_count" field.

func SpanID

func SpanID(v string) predicate.AgentTask

SpanID applies equality check predicate on the "span_id" field. It's identical to SpanIDEQ.

func SpanIDContains

func SpanIDContains(v string) predicate.AgentTask

SpanIDContains applies the Contains predicate on the "span_id" field.

func SpanIDContainsFold

func SpanIDContainsFold(v string) predicate.AgentTask

SpanIDContainsFold applies the ContainsFold predicate on the "span_id" field.

func SpanIDEQ

func SpanIDEQ(v string) predicate.AgentTask

SpanIDEQ applies the EQ predicate on the "span_id" field.

func SpanIDEqualFold

func SpanIDEqualFold(v string) predicate.AgentTask

SpanIDEqualFold applies the EqualFold predicate on the "span_id" field.

func SpanIDGT

func SpanIDGT(v string) predicate.AgentTask

SpanIDGT applies the GT predicate on the "span_id" field.

func SpanIDGTE

func SpanIDGTE(v string) predicate.AgentTask

SpanIDGTE applies the GTE predicate on the "span_id" field.

func SpanIDHasPrefix

func SpanIDHasPrefix(v string) predicate.AgentTask

SpanIDHasPrefix applies the HasPrefix predicate on the "span_id" field.

func SpanIDHasSuffix

func SpanIDHasSuffix(v string) predicate.AgentTask

SpanIDHasSuffix applies the HasSuffix predicate on the "span_id" field.

func SpanIDIn

func SpanIDIn(vs ...string) predicate.AgentTask

SpanIDIn applies the In predicate on the "span_id" field.

func SpanIDIsNil

func SpanIDIsNil() predicate.AgentTask

SpanIDIsNil applies the IsNil predicate on the "span_id" field.

func SpanIDLT

func SpanIDLT(v string) predicate.AgentTask

SpanIDLT applies the LT predicate on the "span_id" field.

func SpanIDLTE

func SpanIDLTE(v string) predicate.AgentTask

SpanIDLTE applies the LTE predicate on the "span_id" field.

func SpanIDNEQ

func SpanIDNEQ(v string) predicate.AgentTask

SpanIDNEQ applies the NEQ predicate on the "span_id" field.

func SpanIDNotIn

func SpanIDNotIn(vs ...string) predicate.AgentTask

SpanIDNotIn applies the NotIn predicate on the "span_id" field.

func SpanIDNotNil

func SpanIDNotNil() predicate.AgentTask

SpanIDNotNil applies the NotNil predicate on the "span_id" field.

func StartedAt

func StartedAt(v time.Time) predicate.AgentTask

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.AgentTask

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.AgentTask

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.AgentTask

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.AgentTask

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.AgentTask

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.AgentTask

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.AgentTask

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.AgentTask

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func Status

func Status(v string) predicate.AgentTask

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.AgentTask

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.AgentTask

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.AgentTask

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.AgentTask

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.AgentTask

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.AgentTask

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.AgentTask

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.AgentTask

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.AgentTask

StatusIn applies the In predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.AgentTask

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.AgentTask

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.AgentTask

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.AgentTask

StatusNotIn applies the NotIn predicate on the "status" field.

func TaskType

func TaskType(v string) predicate.AgentTask

TaskType applies equality check predicate on the "task_type" field. It's identical to TaskTypeEQ.

func TaskTypeContains

func TaskTypeContains(v string) predicate.AgentTask

TaskTypeContains applies the Contains predicate on the "task_type" field.

func TaskTypeContainsFold

func TaskTypeContainsFold(v string) predicate.AgentTask

TaskTypeContainsFold applies the ContainsFold predicate on the "task_type" field.

func TaskTypeEQ

func TaskTypeEQ(v string) predicate.AgentTask

TaskTypeEQ applies the EQ predicate on the "task_type" field.

func TaskTypeEqualFold

func TaskTypeEqualFold(v string) predicate.AgentTask

TaskTypeEqualFold applies the EqualFold predicate on the "task_type" field.

func TaskTypeGT

func TaskTypeGT(v string) predicate.AgentTask

TaskTypeGT applies the GT predicate on the "task_type" field.

func TaskTypeGTE

func TaskTypeGTE(v string) predicate.AgentTask

TaskTypeGTE applies the GTE predicate on the "task_type" field.

func TaskTypeHasPrefix

func TaskTypeHasPrefix(v string) predicate.AgentTask

TaskTypeHasPrefix applies the HasPrefix predicate on the "task_type" field.

func TaskTypeHasSuffix

func TaskTypeHasSuffix(v string) predicate.AgentTask

TaskTypeHasSuffix applies the HasSuffix predicate on the "task_type" field.

func TaskTypeIn

func TaskTypeIn(vs ...string) predicate.AgentTask

TaskTypeIn applies the In predicate on the "task_type" field.

func TaskTypeLT

func TaskTypeLT(v string) predicate.AgentTask

TaskTypeLT applies the LT predicate on the "task_type" field.

func TaskTypeLTE

func TaskTypeLTE(v string) predicate.AgentTask

TaskTypeLTE applies the LTE predicate on the "task_type" field.

func TaskTypeNEQ

func TaskTypeNEQ(v string) predicate.AgentTask

TaskTypeNEQ applies the NEQ predicate on the "task_type" field.

func TaskTypeNotIn

func TaskTypeNotIn(vs ...string) predicate.AgentTask

TaskTypeNotIn applies the NotIn predicate on the "task_type" field.

func TokensCompletion

func TokensCompletion(v int) predicate.AgentTask

TokensCompletion applies equality check predicate on the "tokens_completion" field. It's identical to TokensCompletionEQ.

func TokensCompletionEQ

func TokensCompletionEQ(v int) predicate.AgentTask

TokensCompletionEQ applies the EQ predicate on the "tokens_completion" field.

func TokensCompletionGT

func TokensCompletionGT(v int) predicate.AgentTask

TokensCompletionGT applies the GT predicate on the "tokens_completion" field.

func TokensCompletionGTE

func TokensCompletionGTE(v int) predicate.AgentTask

TokensCompletionGTE applies the GTE predicate on the "tokens_completion" field.

func TokensCompletionIn

func TokensCompletionIn(vs ...int) predicate.AgentTask

TokensCompletionIn applies the In predicate on the "tokens_completion" field.

func TokensCompletionLT

func TokensCompletionLT(v int) predicate.AgentTask

TokensCompletionLT applies the LT predicate on the "tokens_completion" field.

func TokensCompletionLTE

func TokensCompletionLTE(v int) predicate.AgentTask

TokensCompletionLTE applies the LTE predicate on the "tokens_completion" field.

func TokensCompletionNEQ

func TokensCompletionNEQ(v int) predicate.AgentTask

TokensCompletionNEQ applies the NEQ predicate on the "tokens_completion" field.

func TokensCompletionNotIn

func TokensCompletionNotIn(vs ...int) predicate.AgentTask

TokensCompletionNotIn applies the NotIn predicate on the "tokens_completion" field.

func TokensPrompt

func TokensPrompt(v int) predicate.AgentTask

TokensPrompt applies equality check predicate on the "tokens_prompt" field. It's identical to TokensPromptEQ.

func TokensPromptEQ

func TokensPromptEQ(v int) predicate.AgentTask

TokensPromptEQ applies the EQ predicate on the "tokens_prompt" field.

func TokensPromptGT

func TokensPromptGT(v int) predicate.AgentTask

TokensPromptGT applies the GT predicate on the "tokens_prompt" field.

func TokensPromptGTE

func TokensPromptGTE(v int) predicate.AgentTask

TokensPromptGTE applies the GTE predicate on the "tokens_prompt" field.

func TokensPromptIn

func TokensPromptIn(vs ...int) predicate.AgentTask

TokensPromptIn applies the In predicate on the "tokens_prompt" field.

func TokensPromptLT

func TokensPromptLT(v int) predicate.AgentTask

TokensPromptLT applies the LT predicate on the "tokens_prompt" field.

func TokensPromptLTE

func TokensPromptLTE(v int) predicate.AgentTask

TokensPromptLTE applies the LTE predicate on the "tokens_prompt" field.

func TokensPromptNEQ

func TokensPromptNEQ(v int) predicate.AgentTask

TokensPromptNEQ applies the NEQ predicate on the "tokens_prompt" field.

func TokensPromptNotIn

func TokensPromptNotIn(vs ...int) predicate.AgentTask

TokensPromptNotIn applies the NotIn predicate on the "tokens_prompt" field.

func TokensTotal

func TokensTotal(v int) predicate.AgentTask

TokensTotal applies equality check predicate on the "tokens_total" field. It's identical to TokensTotalEQ.

func TokensTotalEQ

func TokensTotalEQ(v int) predicate.AgentTask

TokensTotalEQ applies the EQ predicate on the "tokens_total" field.

func TokensTotalGT

func TokensTotalGT(v int) predicate.AgentTask

TokensTotalGT applies the GT predicate on the "tokens_total" field.

func TokensTotalGTE

func TokensTotalGTE(v int) predicate.AgentTask

TokensTotalGTE applies the GTE predicate on the "tokens_total" field.

func TokensTotalIn

func TokensTotalIn(vs ...int) predicate.AgentTask

TokensTotalIn applies the In predicate on the "tokens_total" field.

func TokensTotalLT

func TokensTotalLT(v int) predicate.AgentTask

TokensTotalLT applies the LT predicate on the "tokens_total" field.

func TokensTotalLTE

func TokensTotalLTE(v int) predicate.AgentTask

TokensTotalLTE applies the LTE predicate on the "tokens_total" field.

func TokensTotalNEQ

func TokensTotalNEQ(v int) predicate.AgentTask

TokensTotalNEQ applies the NEQ predicate on the "tokens_total" field.

func TokensTotalNotIn

func TokensTotalNotIn(vs ...int) predicate.AgentTask

TokensTotalNotIn applies the NotIn predicate on the "tokens_total" field.

func ToolCallCount

func ToolCallCount(v int) predicate.AgentTask

ToolCallCount applies equality check predicate on the "tool_call_count" field. It's identical to ToolCallCountEQ.

func ToolCallCountEQ

func ToolCallCountEQ(v int) predicate.AgentTask

ToolCallCountEQ applies the EQ predicate on the "tool_call_count" field.

func ToolCallCountGT

func ToolCallCountGT(v int) predicate.AgentTask

ToolCallCountGT applies the GT predicate on the "tool_call_count" field.

func ToolCallCountGTE

func ToolCallCountGTE(v int) predicate.AgentTask

ToolCallCountGTE applies the GTE predicate on the "tool_call_count" field.

func ToolCallCountIn

func ToolCallCountIn(vs ...int) predicate.AgentTask

ToolCallCountIn applies the In predicate on the "tool_call_count" field.

func ToolCallCountLT

func ToolCallCountLT(v int) predicate.AgentTask

ToolCallCountLT applies the LT predicate on the "tool_call_count" field.

func ToolCallCountLTE

func ToolCallCountLTE(v int) predicate.AgentTask

ToolCallCountLTE applies the LTE predicate on the "tool_call_count" field.

func ToolCallCountNEQ

func ToolCallCountNEQ(v int) predicate.AgentTask

ToolCallCountNEQ applies the NEQ predicate on the "tool_call_count" field.

func ToolCallCountNotIn

func ToolCallCountNotIn(vs ...int) predicate.AgentTask

ToolCallCountNotIn applies the NotIn predicate on the "tool_call_count" field.

func TraceID

func TraceID(v string) predicate.AgentTask

TraceID applies equality check predicate on the "trace_id" field. It's identical to TraceIDEQ.

func TraceIDContains

func TraceIDContains(v string) predicate.AgentTask

TraceIDContains applies the Contains predicate on the "trace_id" field.

func TraceIDContainsFold

func TraceIDContainsFold(v string) predicate.AgentTask

TraceIDContainsFold applies the ContainsFold predicate on the "trace_id" field.

func TraceIDEQ

func TraceIDEQ(v string) predicate.AgentTask

TraceIDEQ applies the EQ predicate on the "trace_id" field.

func TraceIDEqualFold

func TraceIDEqualFold(v string) predicate.AgentTask

TraceIDEqualFold applies the EqualFold predicate on the "trace_id" field.

func TraceIDGT

func TraceIDGT(v string) predicate.AgentTask

TraceIDGT applies the GT predicate on the "trace_id" field.

func TraceIDGTE

func TraceIDGTE(v string) predicate.AgentTask

TraceIDGTE applies the GTE predicate on the "trace_id" field.

func TraceIDHasPrefix

func TraceIDHasPrefix(v string) predicate.AgentTask

TraceIDHasPrefix applies the HasPrefix predicate on the "trace_id" field.

func TraceIDHasSuffix

func TraceIDHasSuffix(v string) predicate.AgentTask

TraceIDHasSuffix applies the HasSuffix predicate on the "trace_id" field.

func TraceIDIn

func TraceIDIn(vs ...string) predicate.AgentTask

TraceIDIn applies the In predicate on the "trace_id" field.

func TraceIDIsNil

func TraceIDIsNil() predicate.AgentTask

TraceIDIsNil applies the IsNil predicate on the "trace_id" field.

func TraceIDLT

func TraceIDLT(v string) predicate.AgentTask

TraceIDLT applies the LT predicate on the "trace_id" field.

func TraceIDLTE

func TraceIDLTE(v string) predicate.AgentTask

TraceIDLTE applies the LTE predicate on the "trace_id" field.

func TraceIDNEQ

func TraceIDNEQ(v string) predicate.AgentTask

TraceIDNEQ applies the NEQ predicate on the "trace_id" field.

func TraceIDNotIn

func TraceIDNotIn(vs ...string) predicate.AgentTask

TraceIDNotIn applies the NotIn predicate on the "trace_id" field.

func TraceIDNotNil

func TraceIDNotNil() predicate.AgentTask

TraceIDNotNil applies the NotNil predicate on the "trace_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AgentTask

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AgentTask

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AgentTask

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AgentTask

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AgentTask

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AgentTask

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AgentTask

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AgentTask

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AgentTask

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkflowID

func WorkflowID(v string) predicate.AgentTask

WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.

func WorkflowIDContains

func WorkflowIDContains(v string) predicate.AgentTask

WorkflowIDContains applies the Contains predicate on the "workflow_id" field.

func WorkflowIDContainsFold

func WorkflowIDContainsFold(v string) predicate.AgentTask

WorkflowIDContainsFold applies the ContainsFold predicate on the "workflow_id" field.

func WorkflowIDEQ

func WorkflowIDEQ(v string) predicate.AgentTask

WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.

func WorkflowIDEqualFold

func WorkflowIDEqualFold(v string) predicate.AgentTask

WorkflowIDEqualFold applies the EqualFold predicate on the "workflow_id" field.

func WorkflowIDGT

func WorkflowIDGT(v string) predicate.AgentTask

WorkflowIDGT applies the GT predicate on the "workflow_id" field.

func WorkflowIDGTE

func WorkflowIDGTE(v string) predicate.AgentTask

WorkflowIDGTE applies the GTE predicate on the "workflow_id" field.

func WorkflowIDHasPrefix

func WorkflowIDHasPrefix(v string) predicate.AgentTask

WorkflowIDHasPrefix applies the HasPrefix predicate on the "workflow_id" field.

func WorkflowIDHasSuffix

func WorkflowIDHasSuffix(v string) predicate.AgentTask

WorkflowIDHasSuffix applies the HasSuffix predicate on the "workflow_id" field.

func WorkflowIDIn

func WorkflowIDIn(vs ...string) predicate.AgentTask

WorkflowIDIn applies the In predicate on the "workflow_id" field.

func WorkflowIDIsNil

func WorkflowIDIsNil() predicate.AgentTask

WorkflowIDIsNil applies the IsNil predicate on the "workflow_id" field.

func WorkflowIDLT

func WorkflowIDLT(v string) predicate.AgentTask

WorkflowIDLT applies the LT predicate on the "workflow_id" field.

func WorkflowIDLTE

func WorkflowIDLTE(v string) predicate.AgentTask

WorkflowIDLTE applies the LTE predicate on the "workflow_id" field.

func WorkflowIDNEQ

func WorkflowIDNEQ(v string) predicate.AgentTask

WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.

func WorkflowIDNotIn

func WorkflowIDNotIn(vs ...string) predicate.AgentTask

WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.

func WorkflowIDNotNil

func WorkflowIDNotNil() predicate.AgentTask

WorkflowIDNotNil applies the NotNil predicate on the "workflow_id" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AgentTask queries.

func ByAgentID

func ByAgentID(opts ...sql.OrderTermOption) OrderOption

ByAgentID orders the results by the agent_id field.

func ByAgentType

func ByAgentType(opts ...sql.OrderTermOption) OrderOption

ByAgentType orders the results by the agent_type field.

func ByCostUsd

func ByCostUsd(opts ...sql.OrderTermOption) OrderOption

ByCostUsd orders the results by the cost_usd field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDurationMs

func ByDurationMs(opts ...sql.OrderTermOption) OrderOption

ByDurationMs orders the results by the duration_ms field.

func ByEndedAt

func ByEndedAt(opts ...sql.OrderTermOption) OrderOption

ByEndedAt orders the results by the ended_at field.

func ByErrorMessage

func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption

ByErrorMessage orders the results by the error_message field.

func ByErrorType

func ByErrorType(opts ...sql.OrderTermOption) OrderOption

ByErrorType orders the results by the error_type field.

func ByEvents

func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEvents orders the results by events terms.

func ByEventsCount

func ByEventsCount(opts ...sql.OrderTermOption) OrderOption

ByEventsCount orders the results by events count.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLlmCallCount

func ByLlmCallCount(opts ...sql.OrderTermOption) OrderOption

ByLlmCallCount orders the results by the llm_call_count field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByParentSpanID

func ByParentSpanID(opts ...sql.OrderTermOption) OrderOption

ByParentSpanID orders the results by the parent_span_id field.

func ByRetryCount

func ByRetryCount(opts ...sql.OrderTermOption) OrderOption

ByRetryCount orders the results by the retry_count field.

func BySpanID

func BySpanID(opts ...sql.OrderTermOption) OrderOption

BySpanID orders the results by the span_id field.

func ByStartedAt

func ByStartedAt(opts ...sql.OrderTermOption) OrderOption

ByStartedAt orders the results by the started_at field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByTaskType

func ByTaskType(opts ...sql.OrderTermOption) OrderOption

ByTaskType orders the results by the task_type field.

func ByTokensCompletion

func ByTokensCompletion(opts ...sql.OrderTermOption) OrderOption

ByTokensCompletion orders the results by the tokens_completion field.

func ByTokensPrompt

func ByTokensPrompt(opts ...sql.OrderTermOption) OrderOption

ByTokensPrompt orders the results by the tokens_prompt field.

func ByTokensTotal

func ByTokensTotal(opts ...sql.OrderTermOption) OrderOption

ByTokensTotal orders the results by the tokens_total field.

func ByToolCallCount

func ByToolCallCount(opts ...sql.OrderTermOption) OrderOption

ByToolCallCount orders the results by the tool_call_count field.

func ByToolInvocations

func ByToolInvocations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByToolInvocations orders the results by tool_invocations terms.

func ByToolInvocationsCount

func ByToolInvocationsCount(opts ...sql.OrderTermOption) OrderOption

ByToolInvocationsCount orders the results by tool_invocations count.

func ByTraceID

func ByTraceID(opts ...sql.OrderTermOption) OrderOption

ByTraceID orders the results by the trace_id field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByWorkflowField

func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption

ByWorkflowField orders the results by workflow field.

func ByWorkflowID

func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption

ByWorkflowID orders the results by the workflow_id field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL