Documentation
¶
Index ¶
- Constants
- Variables
- func AgentID(v string) predicate.AgentTask
- func AgentIDContains(v string) predicate.AgentTask
- func AgentIDContainsFold(v string) predicate.AgentTask
- func AgentIDEQ(v string) predicate.AgentTask
- func AgentIDEqualFold(v string) predicate.AgentTask
- func AgentIDGT(v string) predicate.AgentTask
- func AgentIDGTE(v string) predicate.AgentTask
- func AgentIDHasPrefix(v string) predicate.AgentTask
- func AgentIDHasSuffix(v string) predicate.AgentTask
- func AgentIDIn(vs ...string) predicate.AgentTask
- func AgentIDLT(v string) predicate.AgentTask
- func AgentIDLTE(v string) predicate.AgentTask
- func AgentIDNEQ(v string) predicate.AgentTask
- func AgentIDNotIn(vs ...string) predicate.AgentTask
- func AgentType(v string) predicate.AgentTask
- func AgentTypeContains(v string) predicate.AgentTask
- func AgentTypeContainsFold(v string) predicate.AgentTask
- func AgentTypeEQ(v string) predicate.AgentTask
- func AgentTypeEqualFold(v string) predicate.AgentTask
- func AgentTypeGT(v string) predicate.AgentTask
- func AgentTypeGTE(v string) predicate.AgentTask
- func AgentTypeHasPrefix(v string) predicate.AgentTask
- func AgentTypeHasSuffix(v string) predicate.AgentTask
- func AgentTypeIn(vs ...string) predicate.AgentTask
- func AgentTypeIsNil() predicate.AgentTask
- func AgentTypeLT(v string) predicate.AgentTask
- func AgentTypeLTE(v string) predicate.AgentTask
- func AgentTypeNEQ(v string) predicate.AgentTask
- func AgentTypeNotIn(vs ...string) predicate.AgentTask
- func AgentTypeNotNil() predicate.AgentTask
- func And(predicates ...predicate.AgentTask) predicate.AgentTask
- func CostUsd(v float64) predicate.AgentTask
- func CostUsdEQ(v float64) predicate.AgentTask
- func CostUsdGT(v float64) predicate.AgentTask
- func CostUsdGTE(v float64) predicate.AgentTask
- func CostUsdIn(vs ...float64) predicate.AgentTask
- func CostUsdLT(v float64) predicate.AgentTask
- func CostUsdLTE(v float64) predicate.AgentTask
- func CostUsdNEQ(v float64) predicate.AgentTask
- func CostUsdNotIn(vs ...float64) predicate.AgentTask
- func CreatedAt(v time.Time) predicate.AgentTask
- func CreatedAtEQ(v time.Time) predicate.AgentTask
- func CreatedAtGT(v time.Time) predicate.AgentTask
- func CreatedAtGTE(v time.Time) predicate.AgentTask
- func CreatedAtIn(vs ...time.Time) predicate.AgentTask
- func CreatedAtLT(v time.Time) predicate.AgentTask
- func CreatedAtLTE(v time.Time) predicate.AgentTask
- func CreatedAtNEQ(v time.Time) predicate.AgentTask
- func CreatedAtNotIn(vs ...time.Time) predicate.AgentTask
- func DurationMs(v int64) predicate.AgentTask
- func DurationMsEQ(v int64) predicate.AgentTask
- func DurationMsGT(v int64) predicate.AgentTask
- func DurationMsGTE(v int64) predicate.AgentTask
- func DurationMsIn(vs ...int64) predicate.AgentTask
- func DurationMsIsNil() predicate.AgentTask
- func DurationMsLT(v int64) predicate.AgentTask
- func DurationMsLTE(v int64) predicate.AgentTask
- func DurationMsNEQ(v int64) predicate.AgentTask
- func DurationMsNotIn(vs ...int64) predicate.AgentTask
- func DurationMsNotNil() predicate.AgentTask
- func EndedAt(v time.Time) predicate.AgentTask
- func EndedAtEQ(v time.Time) predicate.AgentTask
- func EndedAtGT(v time.Time) predicate.AgentTask
- func EndedAtGTE(v time.Time) predicate.AgentTask
- func EndedAtIn(vs ...time.Time) predicate.AgentTask
- func EndedAtIsNil() predicate.AgentTask
- func EndedAtLT(v time.Time) predicate.AgentTask
- func EndedAtLTE(v time.Time) predicate.AgentTask
- func EndedAtNEQ(v time.Time) predicate.AgentTask
- func EndedAtNotIn(vs ...time.Time) predicate.AgentTask
- func EndedAtNotNil() predicate.AgentTask
- func ErrorMessage(v string) predicate.AgentTask
- func ErrorMessageContains(v string) predicate.AgentTask
- func ErrorMessageContainsFold(v string) predicate.AgentTask
- func ErrorMessageEQ(v string) predicate.AgentTask
- func ErrorMessageEqualFold(v string) predicate.AgentTask
- func ErrorMessageGT(v string) predicate.AgentTask
- func ErrorMessageGTE(v string) predicate.AgentTask
- func ErrorMessageHasPrefix(v string) predicate.AgentTask
- func ErrorMessageHasSuffix(v string) predicate.AgentTask
- func ErrorMessageIn(vs ...string) predicate.AgentTask
- func ErrorMessageIsNil() predicate.AgentTask
- func ErrorMessageLT(v string) predicate.AgentTask
- func ErrorMessageLTE(v string) predicate.AgentTask
- func ErrorMessageNEQ(v string) predicate.AgentTask
- func ErrorMessageNotIn(vs ...string) predicate.AgentTask
- func ErrorMessageNotNil() predicate.AgentTask
- func ErrorType(v string) predicate.AgentTask
- func ErrorTypeContains(v string) predicate.AgentTask
- func ErrorTypeContainsFold(v string) predicate.AgentTask
- func ErrorTypeEQ(v string) predicate.AgentTask
- func ErrorTypeEqualFold(v string) predicate.AgentTask
- func ErrorTypeGT(v string) predicate.AgentTask
- func ErrorTypeGTE(v string) predicate.AgentTask
- func ErrorTypeHasPrefix(v string) predicate.AgentTask
- func ErrorTypeHasSuffix(v string) predicate.AgentTask
- func ErrorTypeIn(vs ...string) predicate.AgentTask
- func ErrorTypeIsNil() predicate.AgentTask
- func ErrorTypeLT(v string) predicate.AgentTask
- func ErrorTypeLTE(v string) predicate.AgentTask
- func ErrorTypeNEQ(v string) predicate.AgentTask
- func ErrorTypeNotIn(vs ...string) predicate.AgentTask
- func ErrorTypeNotNil() predicate.AgentTask
- func HasEvents() predicate.AgentTask
- func HasEventsWith(preds ...predicate.AgentEvent) predicate.AgentTask
- func HasToolInvocations() predicate.AgentTask
- func HasToolInvocationsWith(preds ...predicate.ToolInvocation) predicate.AgentTask
- func HasWorkflow() predicate.AgentTask
- func HasWorkflowWith(preds ...predicate.Workflow) predicate.AgentTask
- func ID(id string) predicate.AgentTask
- func IDContainsFold(id string) predicate.AgentTask
- func IDEQ(id string) predicate.AgentTask
- func IDEqualFold(id string) predicate.AgentTask
- func IDGT(id string) predicate.AgentTask
- func IDGTE(id string) predicate.AgentTask
- func IDIn(ids ...string) predicate.AgentTask
- func IDLT(id string) predicate.AgentTask
- func IDLTE(id string) predicate.AgentTask
- func IDNEQ(id string) predicate.AgentTask
- func IDNotIn(ids ...string) predicate.AgentTask
- func InputIsNil() predicate.AgentTask
- func InputNotNil() predicate.AgentTask
- func LlmCallCount(v int) predicate.AgentTask
- func LlmCallCountEQ(v int) predicate.AgentTask
- func LlmCallCountGT(v int) predicate.AgentTask
- func LlmCallCountGTE(v int) predicate.AgentTask
- func LlmCallCountIn(vs ...int) predicate.AgentTask
- func LlmCallCountLT(v int) predicate.AgentTask
- func LlmCallCountLTE(v int) predicate.AgentTask
- func LlmCallCountNEQ(v int) predicate.AgentTask
- func LlmCallCountNotIn(vs ...int) predicate.AgentTask
- func MetadataIsNil() predicate.AgentTask
- func MetadataNotNil() predicate.AgentTask
- func Name(v string) predicate.AgentTask
- func NameContains(v string) predicate.AgentTask
- func NameContainsFold(v string) predicate.AgentTask
- func NameEQ(v string) predicate.AgentTask
- func NameEqualFold(v string) predicate.AgentTask
- func NameGT(v string) predicate.AgentTask
- func NameGTE(v string) predicate.AgentTask
- func NameHasPrefix(v string) predicate.AgentTask
- func NameHasSuffix(v string) predicate.AgentTask
- func NameIn(vs ...string) predicate.AgentTask
- func NameLT(v string) predicate.AgentTask
- func NameLTE(v string) predicate.AgentTask
- func NameNEQ(v string) predicate.AgentTask
- func NameNotIn(vs ...string) predicate.AgentTask
- func Not(p predicate.AgentTask) predicate.AgentTask
- func Or(predicates ...predicate.AgentTask) predicate.AgentTask
- func OutputIsNil() predicate.AgentTask
- func OutputNotNil() predicate.AgentTask
- func ParentSpanID(v string) predicate.AgentTask
- func ParentSpanIDContains(v string) predicate.AgentTask
- func ParentSpanIDContainsFold(v string) predicate.AgentTask
- func ParentSpanIDEQ(v string) predicate.AgentTask
- func ParentSpanIDEqualFold(v string) predicate.AgentTask
- func ParentSpanIDGT(v string) predicate.AgentTask
- func ParentSpanIDGTE(v string) predicate.AgentTask
- func ParentSpanIDHasPrefix(v string) predicate.AgentTask
- func ParentSpanIDHasSuffix(v string) predicate.AgentTask
- func ParentSpanIDIn(vs ...string) predicate.AgentTask
- func ParentSpanIDIsNil() predicate.AgentTask
- func ParentSpanIDLT(v string) predicate.AgentTask
- func ParentSpanIDLTE(v string) predicate.AgentTask
- func ParentSpanIDNEQ(v string) predicate.AgentTask
- func ParentSpanIDNotIn(vs ...string) predicate.AgentTask
- func ParentSpanIDNotNil() predicate.AgentTask
- func RetryCount(v int) predicate.AgentTask
- func RetryCountEQ(v int) predicate.AgentTask
- func RetryCountGT(v int) predicate.AgentTask
- func RetryCountGTE(v int) predicate.AgentTask
- func RetryCountIn(vs ...int) predicate.AgentTask
- func RetryCountLT(v int) predicate.AgentTask
- func RetryCountLTE(v int) predicate.AgentTask
- func RetryCountNEQ(v int) predicate.AgentTask
- func RetryCountNotIn(vs ...int) predicate.AgentTask
- func SpanID(v string) predicate.AgentTask
- func SpanIDContains(v string) predicate.AgentTask
- func SpanIDContainsFold(v string) predicate.AgentTask
- func SpanIDEQ(v string) predicate.AgentTask
- func SpanIDEqualFold(v string) predicate.AgentTask
- func SpanIDGT(v string) predicate.AgentTask
- func SpanIDGTE(v string) predicate.AgentTask
- func SpanIDHasPrefix(v string) predicate.AgentTask
- func SpanIDHasSuffix(v string) predicate.AgentTask
- func SpanIDIn(vs ...string) predicate.AgentTask
- func SpanIDIsNil() predicate.AgentTask
- func SpanIDLT(v string) predicate.AgentTask
- func SpanIDLTE(v string) predicate.AgentTask
- func SpanIDNEQ(v string) predicate.AgentTask
- func SpanIDNotIn(vs ...string) predicate.AgentTask
- func SpanIDNotNil() predicate.AgentTask
- func StartedAt(v time.Time) predicate.AgentTask
- func StartedAtEQ(v time.Time) predicate.AgentTask
- func StartedAtGT(v time.Time) predicate.AgentTask
- func StartedAtGTE(v time.Time) predicate.AgentTask
- func StartedAtIn(vs ...time.Time) predicate.AgentTask
- func StartedAtLT(v time.Time) predicate.AgentTask
- func StartedAtLTE(v time.Time) predicate.AgentTask
- func StartedAtNEQ(v time.Time) predicate.AgentTask
- func StartedAtNotIn(vs ...time.Time) predicate.AgentTask
- func Status(v string) predicate.AgentTask
- func StatusContains(v string) predicate.AgentTask
- func StatusContainsFold(v string) predicate.AgentTask
- func StatusEQ(v string) predicate.AgentTask
- func StatusEqualFold(v string) predicate.AgentTask
- func StatusGT(v string) predicate.AgentTask
- func StatusGTE(v string) predicate.AgentTask
- func StatusHasPrefix(v string) predicate.AgentTask
- func StatusHasSuffix(v string) predicate.AgentTask
- func StatusIn(vs ...string) predicate.AgentTask
- func StatusLT(v string) predicate.AgentTask
- func StatusLTE(v string) predicate.AgentTask
- func StatusNEQ(v string) predicate.AgentTask
- func StatusNotIn(vs ...string) predicate.AgentTask
- func TaskType(v string) predicate.AgentTask
- func TaskTypeContains(v string) predicate.AgentTask
- func TaskTypeContainsFold(v string) predicate.AgentTask
- func TaskTypeEQ(v string) predicate.AgentTask
- func TaskTypeEqualFold(v string) predicate.AgentTask
- func TaskTypeGT(v string) predicate.AgentTask
- func TaskTypeGTE(v string) predicate.AgentTask
- func TaskTypeHasPrefix(v string) predicate.AgentTask
- func TaskTypeHasSuffix(v string) predicate.AgentTask
- func TaskTypeIn(vs ...string) predicate.AgentTask
- func TaskTypeLT(v string) predicate.AgentTask
- func TaskTypeLTE(v string) predicate.AgentTask
- func TaskTypeNEQ(v string) predicate.AgentTask
- func TaskTypeNotIn(vs ...string) predicate.AgentTask
- func TokensCompletion(v int) predicate.AgentTask
- func TokensCompletionEQ(v int) predicate.AgentTask
- func TokensCompletionGT(v int) predicate.AgentTask
- func TokensCompletionGTE(v int) predicate.AgentTask
- func TokensCompletionIn(vs ...int) predicate.AgentTask
- func TokensCompletionLT(v int) predicate.AgentTask
- func TokensCompletionLTE(v int) predicate.AgentTask
- func TokensCompletionNEQ(v int) predicate.AgentTask
- func TokensCompletionNotIn(vs ...int) predicate.AgentTask
- func TokensPrompt(v int) predicate.AgentTask
- func TokensPromptEQ(v int) predicate.AgentTask
- func TokensPromptGT(v int) predicate.AgentTask
- func TokensPromptGTE(v int) predicate.AgentTask
- func TokensPromptIn(vs ...int) predicate.AgentTask
- func TokensPromptLT(v int) predicate.AgentTask
- func TokensPromptLTE(v int) predicate.AgentTask
- func TokensPromptNEQ(v int) predicate.AgentTask
- func TokensPromptNotIn(vs ...int) predicate.AgentTask
- func TokensTotal(v int) predicate.AgentTask
- func TokensTotalEQ(v int) predicate.AgentTask
- func TokensTotalGT(v int) predicate.AgentTask
- func TokensTotalGTE(v int) predicate.AgentTask
- func TokensTotalIn(vs ...int) predicate.AgentTask
- func TokensTotalLT(v int) predicate.AgentTask
- func TokensTotalLTE(v int) predicate.AgentTask
- func TokensTotalNEQ(v int) predicate.AgentTask
- func TokensTotalNotIn(vs ...int) predicate.AgentTask
- func ToolCallCount(v int) predicate.AgentTask
- func ToolCallCountEQ(v int) predicate.AgentTask
- func ToolCallCountGT(v int) predicate.AgentTask
- func ToolCallCountGTE(v int) predicate.AgentTask
- func ToolCallCountIn(vs ...int) predicate.AgentTask
- func ToolCallCountLT(v int) predicate.AgentTask
- func ToolCallCountLTE(v int) predicate.AgentTask
- func ToolCallCountNEQ(v int) predicate.AgentTask
- func ToolCallCountNotIn(vs ...int) predicate.AgentTask
- func TraceID(v string) predicate.AgentTask
- func TraceIDContains(v string) predicate.AgentTask
- func TraceIDContainsFold(v string) predicate.AgentTask
- func TraceIDEQ(v string) predicate.AgentTask
- func TraceIDEqualFold(v string) predicate.AgentTask
- func TraceIDGT(v string) predicate.AgentTask
- func TraceIDGTE(v string) predicate.AgentTask
- func TraceIDHasPrefix(v string) predicate.AgentTask
- func TraceIDHasSuffix(v string) predicate.AgentTask
- func TraceIDIn(vs ...string) predicate.AgentTask
- func TraceIDIsNil() predicate.AgentTask
- func TraceIDLT(v string) predicate.AgentTask
- func TraceIDLTE(v string) predicate.AgentTask
- func TraceIDNEQ(v string) predicate.AgentTask
- func TraceIDNotIn(vs ...string) predicate.AgentTask
- func TraceIDNotNil() predicate.AgentTask
- func UpdatedAt(v time.Time) predicate.AgentTask
- func UpdatedAtEQ(v time.Time) predicate.AgentTask
- func UpdatedAtGT(v time.Time) predicate.AgentTask
- func UpdatedAtGTE(v time.Time) predicate.AgentTask
- func UpdatedAtIn(vs ...time.Time) predicate.AgentTask
- func UpdatedAtLT(v time.Time) predicate.AgentTask
- func UpdatedAtLTE(v time.Time) predicate.AgentTask
- func UpdatedAtNEQ(v time.Time) predicate.AgentTask
- func UpdatedAtNotIn(vs ...time.Time) predicate.AgentTask
- func ValidColumn(column string) bool
- func WorkflowID(v string) predicate.AgentTask
- func WorkflowIDContains(v string) predicate.AgentTask
- func WorkflowIDContainsFold(v string) predicate.AgentTask
- func WorkflowIDEQ(v string) predicate.AgentTask
- func WorkflowIDEqualFold(v string) predicate.AgentTask
- func WorkflowIDGT(v string) predicate.AgentTask
- func WorkflowIDGTE(v string) predicate.AgentTask
- func WorkflowIDHasPrefix(v string) predicate.AgentTask
- func WorkflowIDHasSuffix(v string) predicate.AgentTask
- func WorkflowIDIn(vs ...string) predicate.AgentTask
- func WorkflowIDIsNil() predicate.AgentTask
- func WorkflowIDLT(v string) predicate.AgentTask
- func WorkflowIDLTE(v string) predicate.AgentTask
- func WorkflowIDNEQ(v string) predicate.AgentTask
- func WorkflowIDNotIn(vs ...string) predicate.AgentTask
- func WorkflowIDNotNil() predicate.AgentTask
- type OrderOption
- func ByAgentID(opts ...sql.OrderTermOption) OrderOption
- func ByAgentType(opts ...sql.OrderTermOption) OrderOption
- func ByCostUsd(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDurationMs(opts ...sql.OrderTermOption) OrderOption
- func ByEndedAt(opts ...sql.OrderTermOption) OrderOption
- func ByErrorMessage(opts ...sql.OrderTermOption) OrderOption
- func ByErrorType(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLlmCallCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByParentSpanID(opts ...sql.OrderTermOption) OrderOption
- func ByRetryCount(opts ...sql.OrderTermOption) OrderOption
- func BySpanID(opts ...sql.OrderTermOption) OrderOption
- func ByStartedAt(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTaskType(opts ...sql.OrderTermOption) OrderOption
- func ByTokensCompletion(opts ...sql.OrderTermOption) OrderOption
- func ByTokensPrompt(opts ...sql.OrderTermOption) OrderOption
- func ByTokensTotal(opts ...sql.OrderTermOption) OrderOption
- func ByToolCallCount(opts ...sql.OrderTermOption) OrderOption
- func ByToolInvocations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByToolInvocationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTraceID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldWorkflowID, FieldAgentID, FieldAgentType, FieldTaskType, FieldName, FieldStatus, FieldTraceID, FieldSpanID, FieldParentSpanID, FieldInput, FieldOutput, FieldMetadata, FieldLlmCallCount, FieldToolCallCount, FieldRetryCount, FieldTokensPrompt, FieldTokensCompletion, FieldTokensTotal, FieldCostUsd, FieldDurationMs, FieldErrorType, FieldErrorMessage, FieldStartedAt, FieldEndedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for agenttask fields.
Functions ¶
func AgentID ¶
AgentID applies equality check predicate on the "agent_id" field. It's identical to AgentIDEQ.
func AgentIDContains ¶
AgentIDContains applies the Contains predicate on the "agent_id" field.
func AgentIDContainsFold ¶
AgentIDContainsFold applies the ContainsFold predicate on the "agent_id" field.
func AgentIDEqualFold ¶
AgentIDEqualFold applies the EqualFold predicate on the "agent_id" field.
func AgentIDGTE ¶
AgentIDGTE applies the GTE predicate on the "agent_id" field.
func AgentIDHasPrefix ¶
AgentIDHasPrefix applies the HasPrefix predicate on the "agent_id" field.
func AgentIDHasSuffix ¶
AgentIDHasSuffix applies the HasSuffix predicate on the "agent_id" field.
func AgentIDLTE ¶
AgentIDLTE applies the LTE predicate on the "agent_id" field.
func AgentIDNEQ ¶
AgentIDNEQ applies the NEQ predicate on the "agent_id" field.
func AgentIDNotIn ¶
AgentIDNotIn applies the NotIn predicate on the "agent_id" field.
func AgentType ¶
AgentType applies equality check predicate on the "agent_type" field. It's identical to AgentTypeEQ.
func AgentTypeContains ¶
AgentTypeContains applies the Contains predicate on the "agent_type" field.
func AgentTypeContainsFold ¶
AgentTypeContainsFold applies the ContainsFold predicate on the "agent_type" field.
func AgentTypeEQ ¶
AgentTypeEQ applies the EQ predicate on the "agent_type" field.
func AgentTypeEqualFold ¶
AgentTypeEqualFold applies the EqualFold predicate on the "agent_type" field.
func AgentTypeGT ¶
AgentTypeGT applies the GT predicate on the "agent_type" field.
func AgentTypeGTE ¶
AgentTypeGTE applies the GTE predicate on the "agent_type" field.
func AgentTypeHasPrefix ¶
AgentTypeHasPrefix applies the HasPrefix predicate on the "agent_type" field.
func AgentTypeHasSuffix ¶
AgentTypeHasSuffix applies the HasSuffix predicate on the "agent_type" field.
func AgentTypeIn ¶
AgentTypeIn applies the In predicate on the "agent_type" field.
func AgentTypeIsNil ¶
AgentTypeIsNil applies the IsNil predicate on the "agent_type" field.
func AgentTypeLT ¶
AgentTypeLT applies the LT predicate on the "agent_type" field.
func AgentTypeLTE ¶
AgentTypeLTE applies the LTE predicate on the "agent_type" field.
func AgentTypeNEQ ¶
AgentTypeNEQ applies the NEQ predicate on the "agent_type" field.
func AgentTypeNotIn ¶
AgentTypeNotIn applies the NotIn predicate on the "agent_type" field.
func AgentTypeNotNil ¶
AgentTypeNotNil applies the NotNil predicate on the "agent_type" field.
func CostUsd ¶
CostUsd applies equality check predicate on the "cost_usd" field. It's identical to CostUsdEQ.
func CostUsdGTE ¶
CostUsdGTE applies the GTE predicate on the "cost_usd" field.
func CostUsdLTE ¶
CostUsdLTE applies the LTE predicate on the "cost_usd" field.
func CostUsdNEQ ¶
CostUsdNEQ applies the NEQ predicate on the "cost_usd" field.
func CostUsdNotIn ¶
CostUsdNotIn applies the NotIn predicate on the "cost_usd" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DurationMs ¶
DurationMs applies equality check predicate on the "duration_ms" field. It's identical to DurationMsEQ.
func DurationMsEQ ¶
DurationMsEQ applies the EQ predicate on the "duration_ms" field.
func DurationMsGT ¶
DurationMsGT applies the GT predicate on the "duration_ms" field.
func DurationMsGTE ¶
DurationMsGTE applies the GTE predicate on the "duration_ms" field.
func DurationMsIn ¶
DurationMsIn applies the In predicate on the "duration_ms" field.
func DurationMsIsNil ¶
DurationMsIsNil applies the IsNil predicate on the "duration_ms" field.
func DurationMsLT ¶
DurationMsLT applies the LT predicate on the "duration_ms" field.
func DurationMsLTE ¶
DurationMsLTE applies the LTE predicate on the "duration_ms" field.
func DurationMsNEQ ¶
DurationMsNEQ applies the NEQ predicate on the "duration_ms" field.
func DurationMsNotIn ¶
DurationMsNotIn applies the NotIn predicate on the "duration_ms" field.
func DurationMsNotNil ¶
DurationMsNotNil applies the NotNil predicate on the "duration_ms" field.
func EndedAt ¶
EndedAt applies equality check predicate on the "ended_at" field. It's identical to EndedAtEQ.
func EndedAtGTE ¶
EndedAtGTE applies the GTE predicate on the "ended_at" field.
func EndedAtIsNil ¶
EndedAtIsNil applies the IsNil predicate on the "ended_at" field.
func EndedAtLTE ¶
EndedAtLTE applies the LTE predicate on the "ended_at" field.
func EndedAtNEQ ¶
EndedAtNEQ applies the NEQ predicate on the "ended_at" field.
func EndedAtNotIn ¶
EndedAtNotIn applies the NotIn predicate on the "ended_at" field.
func EndedAtNotNil ¶
EndedAtNotNil applies the NotNil predicate on the "ended_at" field.
func ErrorMessage ¶
ErrorMessage applies equality check predicate on the "error_message" field. It's identical to ErrorMessageEQ.
func ErrorMessageContains ¶
ErrorMessageContains applies the Contains predicate on the "error_message" field.
func ErrorMessageContainsFold ¶
ErrorMessageContainsFold applies the ContainsFold predicate on the "error_message" field.
func ErrorMessageEQ ¶
ErrorMessageEQ applies the EQ predicate on the "error_message" field.
func ErrorMessageEqualFold ¶
ErrorMessageEqualFold applies the EqualFold predicate on the "error_message" field.
func ErrorMessageGT ¶
ErrorMessageGT applies the GT predicate on the "error_message" field.
func ErrorMessageGTE ¶
ErrorMessageGTE applies the GTE predicate on the "error_message" field.
func ErrorMessageHasPrefix ¶
ErrorMessageHasPrefix applies the HasPrefix predicate on the "error_message" field.
func ErrorMessageHasSuffix ¶
ErrorMessageHasSuffix applies the HasSuffix predicate on the "error_message" field.
func ErrorMessageIn ¶
ErrorMessageIn applies the In predicate on the "error_message" field.
func ErrorMessageIsNil ¶
ErrorMessageIsNil applies the IsNil predicate on the "error_message" field.
func ErrorMessageLT ¶
ErrorMessageLT applies the LT predicate on the "error_message" field.
func ErrorMessageLTE ¶
ErrorMessageLTE applies the LTE predicate on the "error_message" field.
func ErrorMessageNEQ ¶
ErrorMessageNEQ applies the NEQ predicate on the "error_message" field.
func ErrorMessageNotIn ¶
ErrorMessageNotIn applies the NotIn predicate on the "error_message" field.
func ErrorMessageNotNil ¶
ErrorMessageNotNil applies the NotNil predicate on the "error_message" field.
func ErrorType ¶
ErrorType applies equality check predicate on the "error_type" field. It's identical to ErrorTypeEQ.
func ErrorTypeContains ¶
ErrorTypeContains applies the Contains predicate on the "error_type" field.
func ErrorTypeContainsFold ¶
ErrorTypeContainsFold applies the ContainsFold predicate on the "error_type" field.
func ErrorTypeEQ ¶
ErrorTypeEQ applies the EQ predicate on the "error_type" field.
func ErrorTypeEqualFold ¶
ErrorTypeEqualFold applies the EqualFold predicate on the "error_type" field.
func ErrorTypeGT ¶
ErrorTypeGT applies the GT predicate on the "error_type" field.
func ErrorTypeGTE ¶
ErrorTypeGTE applies the GTE predicate on the "error_type" field.
func ErrorTypeHasPrefix ¶
ErrorTypeHasPrefix applies the HasPrefix predicate on the "error_type" field.
func ErrorTypeHasSuffix ¶
ErrorTypeHasSuffix applies the HasSuffix predicate on the "error_type" field.
func ErrorTypeIn ¶
ErrorTypeIn applies the In predicate on the "error_type" field.
func ErrorTypeIsNil ¶
ErrorTypeIsNil applies the IsNil predicate on the "error_type" field.
func ErrorTypeLT ¶
ErrorTypeLT applies the LT predicate on the "error_type" field.
func ErrorTypeLTE ¶
ErrorTypeLTE applies the LTE predicate on the "error_type" field.
func ErrorTypeNEQ ¶
ErrorTypeNEQ applies the NEQ predicate on the "error_type" field.
func ErrorTypeNotIn ¶
ErrorTypeNotIn applies the NotIn predicate on the "error_type" field.
func ErrorTypeNotNil ¶
ErrorTypeNotNil applies the NotNil predicate on the "error_type" field.
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 ¶
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 ¶
HasWorkflow applies the HasEdge predicate on the "workflow" edge.
func HasWorkflowWith ¶
HasWorkflowWith applies the HasEdge predicate on the "workflow" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func InputIsNil ¶
InputIsNil applies the IsNil predicate on the "input" field.
func InputNotNil ¶
InputNotNil applies the NotNil predicate on the "input" field.
func LlmCallCount ¶
LlmCallCount applies equality check predicate on the "llm_call_count" field. It's identical to LlmCallCountEQ.
func LlmCallCountEQ ¶
LlmCallCountEQ applies the EQ predicate on the "llm_call_count" field.
func LlmCallCountGT ¶
LlmCallCountGT applies the GT predicate on the "llm_call_count" field.
func LlmCallCountGTE ¶
LlmCallCountGTE applies the GTE predicate on the "llm_call_count" field.
func LlmCallCountIn ¶
LlmCallCountIn applies the In predicate on the "llm_call_count" field.
func LlmCallCountLT ¶
LlmCallCountLT applies the LT predicate on the "llm_call_count" field.
func LlmCallCountLTE ¶
LlmCallCountLTE applies the LTE predicate on the "llm_call_count" field.
func LlmCallCountNEQ ¶
LlmCallCountNEQ applies the NEQ predicate on the "llm_call_count" field.
func LlmCallCountNotIn ¶
LlmCallCountNotIn applies the NotIn predicate on the "llm_call_count" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OutputIsNil ¶
OutputIsNil applies the IsNil predicate on the "output" field.
func OutputNotNil ¶
OutputNotNil applies the NotNil predicate on the "output" field.
func ParentSpanID ¶
ParentSpanID applies equality check predicate on the "parent_span_id" field. It's identical to ParentSpanIDEQ.
func ParentSpanIDContains ¶
ParentSpanIDContains applies the Contains predicate on the "parent_span_id" field.
func ParentSpanIDContainsFold ¶
ParentSpanIDContainsFold applies the ContainsFold predicate on the "parent_span_id" field.
func ParentSpanIDEQ ¶
ParentSpanIDEQ applies the EQ predicate on the "parent_span_id" field.
func ParentSpanIDEqualFold ¶
ParentSpanIDEqualFold applies the EqualFold predicate on the "parent_span_id" field.
func ParentSpanIDGT ¶
ParentSpanIDGT applies the GT predicate on the "parent_span_id" field.
func ParentSpanIDGTE ¶
ParentSpanIDGTE applies the GTE predicate on the "parent_span_id" field.
func ParentSpanIDHasPrefix ¶
ParentSpanIDHasPrefix applies the HasPrefix predicate on the "parent_span_id" field.
func ParentSpanIDHasSuffix ¶
ParentSpanIDHasSuffix applies the HasSuffix predicate on the "parent_span_id" field.
func ParentSpanIDIn ¶
ParentSpanIDIn applies the In predicate on the "parent_span_id" field.
func ParentSpanIDIsNil ¶
ParentSpanIDIsNil applies the IsNil predicate on the "parent_span_id" field.
func ParentSpanIDLT ¶
ParentSpanIDLT applies the LT predicate on the "parent_span_id" field.
func ParentSpanIDLTE ¶
ParentSpanIDLTE applies the LTE predicate on the "parent_span_id" field.
func ParentSpanIDNEQ ¶
ParentSpanIDNEQ applies the NEQ predicate on the "parent_span_id" field.
func ParentSpanIDNotIn ¶
ParentSpanIDNotIn applies the NotIn predicate on the "parent_span_id" field.
func ParentSpanIDNotNil ¶
ParentSpanIDNotNil applies the NotNil predicate on the "parent_span_id" field.
func RetryCount ¶
RetryCount applies equality check predicate on the "retry_count" field. It's identical to RetryCountEQ.
func RetryCountEQ ¶
RetryCountEQ applies the EQ predicate on the "retry_count" field.
func RetryCountGT ¶
RetryCountGT applies the GT predicate on the "retry_count" field.
func RetryCountGTE ¶
RetryCountGTE applies the GTE predicate on the "retry_count" field.
func RetryCountIn ¶
RetryCountIn applies the In predicate on the "retry_count" field.
func RetryCountLT ¶
RetryCountLT applies the LT predicate on the "retry_count" field.
func RetryCountLTE ¶
RetryCountLTE applies the LTE predicate on the "retry_count" field.
func RetryCountNEQ ¶
RetryCountNEQ applies the NEQ predicate on the "retry_count" field.
func RetryCountNotIn ¶
RetryCountNotIn applies the NotIn predicate on the "retry_count" field.
func SpanID ¶
SpanID applies equality check predicate on the "span_id" field. It's identical to SpanIDEQ.
func SpanIDContains ¶
SpanIDContains applies the Contains predicate on the "span_id" field.
func SpanIDContainsFold ¶
SpanIDContainsFold applies the ContainsFold predicate on the "span_id" field.
func SpanIDEqualFold ¶
SpanIDEqualFold applies the EqualFold predicate on the "span_id" field.
func SpanIDHasPrefix ¶
SpanIDHasPrefix applies the HasPrefix predicate on the "span_id" field.
func SpanIDHasSuffix ¶
SpanIDHasSuffix applies the HasSuffix predicate on the "span_id" field.
func SpanIDIsNil ¶
SpanIDIsNil applies the IsNil predicate on the "span_id" field.
func SpanIDNotIn ¶
SpanIDNotIn applies the NotIn predicate on the "span_id" field.
func SpanIDNotNil ¶
SpanIDNotNil applies the NotNil predicate on the "span_id" field.
func StartedAt ¶
StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.
func StartedAtEQ ¶
StartedAtEQ applies the EQ predicate on the "started_at" field.
func StartedAtGT ¶
StartedAtGT applies the GT predicate on the "started_at" field.
func StartedAtGTE ¶
StartedAtGTE applies the GTE predicate on the "started_at" field.
func StartedAtIn ¶
StartedAtIn applies the In predicate on the "started_at" field.
func StartedAtLT ¶
StartedAtLT applies the LT predicate on the "started_at" field.
func StartedAtLTE ¶
StartedAtLTE applies the LTE predicate on the "started_at" field.
func StartedAtNEQ ¶
StartedAtNEQ applies the NEQ predicate on the "started_at" field.
func StartedAtNotIn ¶
StartedAtNotIn applies the NotIn predicate on the "started_at" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func TaskType ¶
TaskType applies equality check predicate on the "task_type" field. It's identical to TaskTypeEQ.
func TaskTypeContains ¶
TaskTypeContains applies the Contains predicate on the "task_type" field.
func TaskTypeContainsFold ¶
TaskTypeContainsFold applies the ContainsFold predicate on the "task_type" field.
func TaskTypeEQ ¶
TaskTypeEQ applies the EQ predicate on the "task_type" field.
func TaskTypeEqualFold ¶
TaskTypeEqualFold applies the EqualFold predicate on the "task_type" field.
func TaskTypeGT ¶
TaskTypeGT applies the GT predicate on the "task_type" field.
func TaskTypeGTE ¶
TaskTypeGTE applies the GTE predicate on the "task_type" field.
func TaskTypeHasPrefix ¶
TaskTypeHasPrefix applies the HasPrefix predicate on the "task_type" field.
func TaskTypeHasSuffix ¶
TaskTypeHasSuffix applies the HasSuffix predicate on the "task_type" field.
func TaskTypeIn ¶
TaskTypeIn applies the In predicate on the "task_type" field.
func TaskTypeLT ¶
TaskTypeLT applies the LT predicate on the "task_type" field.
func TaskTypeLTE ¶
TaskTypeLTE applies the LTE predicate on the "task_type" field.
func TaskTypeNEQ ¶
TaskTypeNEQ applies the NEQ predicate on the "task_type" field.
func TaskTypeNotIn ¶
TaskTypeNotIn applies the NotIn predicate on the "task_type" field.
func TokensCompletion ¶
TokensCompletion applies equality check predicate on the "tokens_completion" field. It's identical to TokensCompletionEQ.
func TokensCompletionEQ ¶
TokensCompletionEQ applies the EQ predicate on the "tokens_completion" field.
func TokensCompletionGT ¶
TokensCompletionGT applies the GT predicate on the "tokens_completion" field.
func TokensCompletionGTE ¶
TokensCompletionGTE applies the GTE predicate on the "tokens_completion" field.
func TokensCompletionIn ¶
TokensCompletionIn applies the In predicate on the "tokens_completion" field.
func TokensCompletionLT ¶
TokensCompletionLT applies the LT predicate on the "tokens_completion" field.
func TokensCompletionLTE ¶
TokensCompletionLTE applies the LTE predicate on the "tokens_completion" field.
func TokensCompletionNEQ ¶
TokensCompletionNEQ applies the NEQ predicate on the "tokens_completion" field.
func TokensCompletionNotIn ¶
TokensCompletionNotIn applies the NotIn predicate on the "tokens_completion" field.
func TokensPrompt ¶
TokensPrompt applies equality check predicate on the "tokens_prompt" field. It's identical to TokensPromptEQ.
func TokensPromptEQ ¶
TokensPromptEQ applies the EQ predicate on the "tokens_prompt" field.
func TokensPromptGT ¶
TokensPromptGT applies the GT predicate on the "tokens_prompt" field.
func TokensPromptGTE ¶
TokensPromptGTE applies the GTE predicate on the "tokens_prompt" field.
func TokensPromptIn ¶
TokensPromptIn applies the In predicate on the "tokens_prompt" field.
func TokensPromptLT ¶
TokensPromptLT applies the LT predicate on the "tokens_prompt" field.
func TokensPromptLTE ¶
TokensPromptLTE applies the LTE predicate on the "tokens_prompt" field.
func TokensPromptNEQ ¶
TokensPromptNEQ applies the NEQ predicate on the "tokens_prompt" field.
func TokensPromptNotIn ¶
TokensPromptNotIn applies the NotIn predicate on the "tokens_prompt" field.
func TokensTotal ¶
TokensTotal applies equality check predicate on the "tokens_total" field. It's identical to TokensTotalEQ.
func TokensTotalEQ ¶
TokensTotalEQ applies the EQ predicate on the "tokens_total" field.
func TokensTotalGT ¶
TokensTotalGT applies the GT predicate on the "tokens_total" field.
func TokensTotalGTE ¶
TokensTotalGTE applies the GTE predicate on the "tokens_total" field.
func TokensTotalIn ¶
TokensTotalIn applies the In predicate on the "tokens_total" field.
func TokensTotalLT ¶
TokensTotalLT applies the LT predicate on the "tokens_total" field.
func TokensTotalLTE ¶
TokensTotalLTE applies the LTE predicate on the "tokens_total" field.
func TokensTotalNEQ ¶
TokensTotalNEQ applies the NEQ predicate on the "tokens_total" field.
func TokensTotalNotIn ¶
TokensTotalNotIn applies the NotIn predicate on the "tokens_total" field.
func ToolCallCount ¶
ToolCallCount applies equality check predicate on the "tool_call_count" field. It's identical to ToolCallCountEQ.
func ToolCallCountEQ ¶
ToolCallCountEQ applies the EQ predicate on the "tool_call_count" field.
func ToolCallCountGT ¶
ToolCallCountGT applies the GT predicate on the "tool_call_count" field.
func ToolCallCountGTE ¶
ToolCallCountGTE applies the GTE predicate on the "tool_call_count" field.
func ToolCallCountIn ¶
ToolCallCountIn applies the In predicate on the "tool_call_count" field.
func ToolCallCountLT ¶
ToolCallCountLT applies the LT predicate on the "tool_call_count" field.
func ToolCallCountLTE ¶
ToolCallCountLTE applies the LTE predicate on the "tool_call_count" field.
func ToolCallCountNEQ ¶
ToolCallCountNEQ applies the NEQ predicate on the "tool_call_count" field.
func ToolCallCountNotIn ¶
ToolCallCountNotIn applies the NotIn predicate on the "tool_call_count" field.
func TraceID ¶
TraceID applies equality check predicate on the "trace_id" field. It's identical to TraceIDEQ.
func TraceIDContains ¶
TraceIDContains applies the Contains predicate on the "trace_id" field.
func TraceIDContainsFold ¶
TraceIDContainsFold applies the ContainsFold predicate on the "trace_id" field.
func TraceIDEqualFold ¶
TraceIDEqualFold applies the EqualFold predicate on the "trace_id" field.
func TraceIDGTE ¶
TraceIDGTE applies the GTE predicate on the "trace_id" field.
func TraceIDHasPrefix ¶
TraceIDHasPrefix applies the HasPrefix predicate on the "trace_id" field.
func TraceIDHasSuffix ¶
TraceIDHasSuffix applies the HasSuffix predicate on the "trace_id" field.
func TraceIDIsNil ¶
TraceIDIsNil applies the IsNil predicate on the "trace_id" field.
func TraceIDLTE ¶
TraceIDLTE applies the LTE predicate on the "trace_id" field.
func TraceIDNEQ ¶
TraceIDNEQ applies the NEQ predicate on the "trace_id" field.
func TraceIDNotIn ¶
TraceIDNotIn applies the NotIn predicate on the "trace_id" field.
func TraceIDNotNil ¶
TraceIDNotNil applies the NotNil predicate on the "trace_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkflowID ¶
WorkflowID applies equality check predicate on the "workflow_id" field. It's identical to WorkflowIDEQ.
func WorkflowIDContains ¶
WorkflowIDContains applies the Contains predicate on the "workflow_id" field.
func WorkflowIDContainsFold ¶
WorkflowIDContainsFold applies the ContainsFold predicate on the "workflow_id" field.
func WorkflowIDEQ ¶
WorkflowIDEQ applies the EQ predicate on the "workflow_id" field.
func WorkflowIDEqualFold ¶
WorkflowIDEqualFold applies the EqualFold predicate on the "workflow_id" field.
func WorkflowIDGT ¶
WorkflowIDGT applies the GT predicate on the "workflow_id" field.
func WorkflowIDGTE ¶
WorkflowIDGTE applies the GTE predicate on the "workflow_id" field.
func WorkflowIDHasPrefix ¶
WorkflowIDHasPrefix applies the HasPrefix predicate on the "workflow_id" field.
func WorkflowIDHasSuffix ¶
WorkflowIDHasSuffix applies the HasSuffix predicate on the "workflow_id" field.
func WorkflowIDIn ¶
WorkflowIDIn applies the In predicate on the "workflow_id" field.
func WorkflowIDIsNil ¶
WorkflowIDIsNil applies the IsNil predicate on the "workflow_id" field.
func WorkflowIDLT ¶
WorkflowIDLT applies the LT predicate on the "workflow_id" field.
func WorkflowIDLTE ¶
WorkflowIDLTE applies the LTE predicate on the "workflow_id" field.
func WorkflowIDNEQ ¶
WorkflowIDNEQ applies the NEQ predicate on the "workflow_id" field.
func WorkflowIDNotIn ¶
WorkflowIDNotIn applies the NotIn predicate on the "workflow_id" field.
func WorkflowIDNotNil ¶
WorkflowIDNotNil applies the NotNil predicate on the "workflow_id" field.
Types ¶
type OrderOption ¶
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.