request

package
v0.0.0-...-ca5b39a Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the request type in the database.
	Label = "request"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldAPIKeyID holds the string denoting the api_key_id field in the database.
	FieldAPIKeyID = "api_key_id"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// FieldTraceID holds the string denoting the trace_id field in the database.
	FieldTraceID = "trace_id"
	// FieldDataStorageID holds the string denoting the data_storage_id field in the database.
	FieldDataStorageID = "data_storage_id"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldModelID holds the string denoting the model_id field in the database.
	FieldModelID = "model_id"
	// FieldReasoningEffort holds the string denoting the reasoning_effort field in the database.
	FieldReasoningEffort = "reasoning_effort"
	// FieldFormat holds the string denoting the format field in the database.
	FieldFormat = "format"
	// FieldRequestHeaders holds the string denoting the request_headers field in the database.
	FieldRequestHeaders = "request_headers"
	// FieldRequestBody holds the string denoting the request_body field in the database.
	FieldRequestBody = "request_body"
	// FieldRequestBodyAvailability holds the string denoting the request_body_availability field in the database.
	FieldRequestBodyAvailability = "request_body_availability"
	// FieldResponseBody holds the string denoting the response_body field in the database.
	FieldResponseBody = "response_body"
	// FieldResponseBodyAvailability holds the string denoting the response_body_availability field in the database.
	FieldResponseBodyAvailability = "response_body_availability"
	// FieldResponseChunks holds the string denoting the response_chunks field in the database.
	FieldResponseChunks = "response_chunks"
	// FieldResponseChunksAvailability holds the string denoting the response_chunks_availability field in the database.
	FieldResponseChunksAvailability = "response_chunks_availability"
	// FieldChannelID holds the string denoting the channel_id field in the database.
	FieldChannelID = "channel_id"
	// FieldTestOriginType holds the string denoting the test_origin_type field in the database.
	FieldTestOriginType = "test_origin_type"
	// FieldTestOriginID holds the string denoting the test_origin_id field in the database.
	FieldTestOriginID = "test_origin_id"
	// FieldTestOriginLabel holds the string denoting the test_origin_label field in the database.
	FieldTestOriginLabel = "test_origin_label"
	// FieldExternalID holds the string denoting the external_id field in the database.
	FieldExternalID = "external_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldStream holds the string denoting the stream field in the database.
	FieldStream = "stream"
	// FieldClientIP holds the string denoting the client_ip field in the database.
	FieldClientIP = "client_ip"
	// FieldMetricsLatencyMs holds the string denoting the metrics_latency_ms field in the database.
	FieldMetricsLatencyMs = "metrics_latency_ms"
	// FieldMetricsFirstTokenLatencyMs holds the string denoting the metrics_first_token_latency_ms field in the database.
	FieldMetricsFirstTokenLatencyMs = "metrics_first_token_latency_ms"
	// FieldMetricsReasoningDurationMs holds the string denoting the metrics_reasoning_duration_ms field in the database.
	FieldMetricsReasoningDurationMs = "metrics_reasoning_duration_ms"
	// FieldContentSaved holds the string denoting the content_saved field in the database.
	FieldContentSaved = "content_saved"
	// FieldContentStorageID holds the string denoting the content_storage_id field in the database.
	FieldContentStorageID = "content_storage_id"
	// FieldContentStorageKey holds the string denoting the content_storage_key field in the database.
	FieldContentStorageKey = "content_storage_key"
	// FieldContentSavedAt holds the string denoting the content_saved_at field in the database.
	FieldContentSavedAt = "content_saved_at"
	// EdgeAPIKey holds the string denoting the api_key edge name in mutations.
	EdgeAPIKey = "api_key"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeTrace holds the string denoting the trace edge name in mutations.
	EdgeTrace = "trace"
	// EdgeDataStorage holds the string denoting the data_storage edge name in mutations.
	EdgeDataStorage = "data_storage"
	// EdgeExecutions holds the string denoting the executions edge name in mutations.
	EdgeExecutions = "executions"
	// EdgeChannel holds the string denoting the channel edge name in mutations.
	EdgeChannel = "channel"
	// EdgeUsageLogs holds the string denoting the usage_logs edge name in mutations.
	EdgeUsageLogs = "usage_logs"
	// Table holds the table name of the request in the database.
	Table = "requests"
	// APIKeyTable is the table that holds the api_key relation/edge.
	APIKeyTable = "requests"
	// APIKeyInverseTable is the table name for the APIKey entity.
	// It exists in this package in order to avoid circular dependency with the "apikey" package.
	APIKeyInverseTable = "api_keys"
	// APIKeyColumn is the table column denoting the api_key relation/edge.
	APIKeyColumn = "api_key_id"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "requests"
	// ProjectInverseTable is the table name for the Project entity.
	// It exists in this package in order to avoid circular dependency with the "project" package.
	ProjectInverseTable = "projects"
	// ProjectColumn is the table column denoting the project relation/edge.
	ProjectColumn = "project_id"
	// TraceTable is the table that holds the trace relation/edge.
	TraceTable = "requests"
	// TraceInverseTable is the table name for the Trace entity.
	// It exists in this package in order to avoid circular dependency with the "trace" package.
	TraceInverseTable = "traces"
	// TraceColumn is the table column denoting the trace relation/edge.
	TraceColumn = "trace_id"
	// DataStorageTable is the table that holds the data_storage relation/edge.
	DataStorageTable = "requests"
	// DataStorageInverseTable is the table name for the DataStorage entity.
	// It exists in this package in order to avoid circular dependency with the "datastorage" package.
	DataStorageInverseTable = "data_storages"
	// DataStorageColumn is the table column denoting the data_storage relation/edge.
	DataStorageColumn = "data_storage_id"
	// ExecutionsTable is the table that holds the executions relation/edge.
	ExecutionsTable = "request_executions"
	// ExecutionsInverseTable is the table name for the RequestExecution entity.
	// It exists in this package in order to avoid circular dependency with the "requestexecution" package.
	ExecutionsInverseTable = "request_executions"
	// ExecutionsColumn is the table column denoting the executions relation/edge.
	ExecutionsColumn = "request_id"
	// ChannelTable is the table that holds the channel relation/edge.
	ChannelTable = "requests"
	// ChannelInverseTable is the table name for the Channel entity.
	// It exists in this package in order to avoid circular dependency with the "channel" package.
	ChannelInverseTable = "channels"
	// ChannelColumn is the table column denoting the channel relation/edge.
	ChannelColumn = "channel_id"
	// UsageLogsTable is the table that holds the usage_logs relation/edge.
	UsageLogsTable = "usage_logs"
	// UsageLogsInverseTable is the table name for the UsageLog entity.
	// It exists in this package in order to avoid circular dependency with the "usagelog" package.
	UsageLogsInverseTable = "usage_logs"
	// UsageLogsColumn is the table column denoting the usage_logs relation/edge.
	UsageLogsColumn = "request_id"
)
View Source
const DefaultRequestBodyAvailability = RequestBodyAvailabilityUnknown

RequestBodyAvailabilityUnknown is the default value of the RequestBodyAvailability enum.

View Source
const DefaultResponseBodyAvailability = ResponseBodyAvailabilityUnknown

ResponseBodyAvailabilityUnknown is the default value of the ResponseBodyAvailability enum.

View Source
const DefaultResponseChunksAvailability = ResponseChunksAvailabilityUnknown

ResponseChunksAvailabilityUnknown is the default value of the ResponseChunksAvailability enum.

View Source
const DefaultSource = SourceAPI

SourceAPI is the default value of the Source enum.

Variables

View Source
var (
	Hooks  [1]ent.Hook
	Policy ent.Policy
	// 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
	// DefaultProjectID holds the default value on creation for the "project_id" field.
	DefaultProjectID int
	// DefaultFormat holds the default value on creation for the "format" field.
	DefaultFormat string
	// TestOriginLabelValidator is a validator for the "test_origin_label" field. It is called by the builders before save.
	TestOriginLabelValidator func(string) error
	// ExternalIDValidator is a validator for the "external_id" field. It is called by the builders before save.
	ExternalIDValidator func(string) error
	// DefaultStream holds the default value on creation for the "stream" field.
	DefaultStream bool
	// DefaultClientIP holds the default value on creation for the "client_ip" field.
	DefaultClientIP string
	// DefaultContentSaved holds the default value on creation for the "content_saved" field.
	DefaultContentSaved bool
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/mutallipp/llm-proxy/internal/ent/runtime"

Columns holds all SQL columns for request fields.

Functions

func APIKeyID

func APIKeyID(v int) predicate.Request

APIKeyID applies equality check predicate on the "api_key_id" field. It's identical to APIKeyIDEQ.

func APIKeyIDEQ

func APIKeyIDEQ(v int) predicate.Request

APIKeyIDEQ applies the EQ predicate on the "api_key_id" field.

func APIKeyIDIn

func APIKeyIDIn(vs ...int) predicate.Request

APIKeyIDIn applies the In predicate on the "api_key_id" field.

func APIKeyIDIsNil

func APIKeyIDIsNil() predicate.Request

APIKeyIDIsNil applies the IsNil predicate on the "api_key_id" field.

func APIKeyIDNEQ

func APIKeyIDNEQ(v int) predicate.Request

APIKeyIDNEQ applies the NEQ predicate on the "api_key_id" field.

func APIKeyIDNotIn

func APIKeyIDNotIn(vs ...int) predicate.Request

APIKeyIDNotIn applies the NotIn predicate on the "api_key_id" field.

func APIKeyIDNotNil

func APIKeyIDNotNil() predicate.Request

APIKeyIDNotNil applies the NotNil predicate on the "api_key_id" field.

func And

func And(predicates ...predicate.Request) predicate.Request

And groups predicates with the AND operator between them.

func ChannelID

func ChannelID(v int) predicate.Request

ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.

func ChannelIDEQ

func ChannelIDEQ(v int) predicate.Request

ChannelIDEQ applies the EQ predicate on the "channel_id" field.

func ChannelIDIn

func ChannelIDIn(vs ...int) predicate.Request

ChannelIDIn applies the In predicate on the "channel_id" field.

func ChannelIDIsNil

func ChannelIDIsNil() predicate.Request

ChannelIDIsNil applies the IsNil predicate on the "channel_id" field.

func ChannelIDNEQ

func ChannelIDNEQ(v int) predicate.Request

ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.

func ChannelIDNotIn

func ChannelIDNotIn(vs ...int) predicate.Request

ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.

func ChannelIDNotNil

func ChannelIDNotNil() predicate.Request

ChannelIDNotNil applies the NotNil predicate on the "channel_id" field.

func ClientIP

func ClientIP(v string) predicate.Request

ClientIP applies equality check predicate on the "client_ip" field. It's identical to ClientIPEQ.

func ClientIPContains

func ClientIPContains(v string) predicate.Request

ClientIPContains applies the Contains predicate on the "client_ip" field.

func ClientIPContainsFold

func ClientIPContainsFold(v string) predicate.Request

ClientIPContainsFold applies the ContainsFold predicate on the "client_ip" field.

func ClientIPEQ

func ClientIPEQ(v string) predicate.Request

ClientIPEQ applies the EQ predicate on the "client_ip" field.

func ClientIPEqualFold

func ClientIPEqualFold(v string) predicate.Request

ClientIPEqualFold applies the EqualFold predicate on the "client_ip" field.

func ClientIPGT

func ClientIPGT(v string) predicate.Request

ClientIPGT applies the GT predicate on the "client_ip" field.

func ClientIPGTE

func ClientIPGTE(v string) predicate.Request

ClientIPGTE applies the GTE predicate on the "client_ip" field.

func ClientIPHasPrefix

func ClientIPHasPrefix(v string) predicate.Request

ClientIPHasPrefix applies the HasPrefix predicate on the "client_ip" field.

func ClientIPHasSuffix

func ClientIPHasSuffix(v string) predicate.Request

ClientIPHasSuffix applies the HasSuffix predicate on the "client_ip" field.

func ClientIPIn

func ClientIPIn(vs ...string) predicate.Request

ClientIPIn applies the In predicate on the "client_ip" field.

func ClientIPLT

func ClientIPLT(v string) predicate.Request

ClientIPLT applies the LT predicate on the "client_ip" field.

func ClientIPLTE

func ClientIPLTE(v string) predicate.Request

ClientIPLTE applies the LTE predicate on the "client_ip" field.

func ClientIPNEQ

func ClientIPNEQ(v string) predicate.Request

ClientIPNEQ applies the NEQ predicate on the "client_ip" field.

func ClientIPNotIn

func ClientIPNotIn(vs ...string) predicate.Request

ClientIPNotIn applies the NotIn predicate on the "client_ip" field.

func ContentSaved

func ContentSaved(v bool) predicate.Request

ContentSaved applies equality check predicate on the "content_saved" field. It's identical to ContentSavedEQ.

func ContentSavedAt

func ContentSavedAt(v time.Time) predicate.Request

ContentSavedAt applies equality check predicate on the "content_saved_at" field. It's identical to ContentSavedAtEQ.

func ContentSavedAtEQ

func ContentSavedAtEQ(v time.Time) predicate.Request

ContentSavedAtEQ applies the EQ predicate on the "content_saved_at" field.

func ContentSavedAtGT

func ContentSavedAtGT(v time.Time) predicate.Request

ContentSavedAtGT applies the GT predicate on the "content_saved_at" field.

func ContentSavedAtGTE

func ContentSavedAtGTE(v time.Time) predicate.Request

ContentSavedAtGTE applies the GTE predicate on the "content_saved_at" field.

func ContentSavedAtIn

func ContentSavedAtIn(vs ...time.Time) predicate.Request

ContentSavedAtIn applies the In predicate on the "content_saved_at" field.

func ContentSavedAtIsNil

func ContentSavedAtIsNil() predicate.Request

ContentSavedAtIsNil applies the IsNil predicate on the "content_saved_at" field.

func ContentSavedAtLT

func ContentSavedAtLT(v time.Time) predicate.Request

ContentSavedAtLT applies the LT predicate on the "content_saved_at" field.

func ContentSavedAtLTE

func ContentSavedAtLTE(v time.Time) predicate.Request

ContentSavedAtLTE applies the LTE predicate on the "content_saved_at" field.

func ContentSavedAtNEQ

func ContentSavedAtNEQ(v time.Time) predicate.Request

ContentSavedAtNEQ applies the NEQ predicate on the "content_saved_at" field.

func ContentSavedAtNotIn

func ContentSavedAtNotIn(vs ...time.Time) predicate.Request

ContentSavedAtNotIn applies the NotIn predicate on the "content_saved_at" field.

func ContentSavedAtNotNil

func ContentSavedAtNotNil() predicate.Request

ContentSavedAtNotNil applies the NotNil predicate on the "content_saved_at" field.

func ContentSavedEQ

func ContentSavedEQ(v bool) predicate.Request

ContentSavedEQ applies the EQ predicate on the "content_saved" field.

func ContentSavedNEQ

func ContentSavedNEQ(v bool) predicate.Request

ContentSavedNEQ applies the NEQ predicate on the "content_saved" field.

func ContentStorageID

func ContentStorageID(v int) predicate.Request

ContentStorageID applies equality check predicate on the "content_storage_id" field. It's identical to ContentStorageIDEQ.

func ContentStorageIDEQ

func ContentStorageIDEQ(v int) predicate.Request

ContentStorageIDEQ applies the EQ predicate on the "content_storage_id" field.

func ContentStorageIDGT

func ContentStorageIDGT(v int) predicate.Request

ContentStorageIDGT applies the GT predicate on the "content_storage_id" field.

func ContentStorageIDGTE

func ContentStorageIDGTE(v int) predicate.Request

ContentStorageIDGTE applies the GTE predicate on the "content_storage_id" field.

func ContentStorageIDIn

func ContentStorageIDIn(vs ...int) predicate.Request

ContentStorageIDIn applies the In predicate on the "content_storage_id" field.

func ContentStorageIDIsNil

func ContentStorageIDIsNil() predicate.Request

ContentStorageIDIsNil applies the IsNil predicate on the "content_storage_id" field.

func ContentStorageIDLT

func ContentStorageIDLT(v int) predicate.Request

ContentStorageIDLT applies the LT predicate on the "content_storage_id" field.

func ContentStorageIDLTE

func ContentStorageIDLTE(v int) predicate.Request

ContentStorageIDLTE applies the LTE predicate on the "content_storage_id" field.

func ContentStorageIDNEQ

func ContentStorageIDNEQ(v int) predicate.Request

ContentStorageIDNEQ applies the NEQ predicate on the "content_storage_id" field.

func ContentStorageIDNotIn

func ContentStorageIDNotIn(vs ...int) predicate.Request

ContentStorageIDNotIn applies the NotIn predicate on the "content_storage_id" field.

func ContentStorageIDNotNil

func ContentStorageIDNotNil() predicate.Request

ContentStorageIDNotNil applies the NotNil predicate on the "content_storage_id" field.

func ContentStorageKey

func ContentStorageKey(v string) predicate.Request

ContentStorageKey applies equality check predicate on the "content_storage_key" field. It's identical to ContentStorageKeyEQ.

func ContentStorageKeyContains

func ContentStorageKeyContains(v string) predicate.Request

ContentStorageKeyContains applies the Contains predicate on the "content_storage_key" field.

func ContentStorageKeyContainsFold

func ContentStorageKeyContainsFold(v string) predicate.Request

ContentStorageKeyContainsFold applies the ContainsFold predicate on the "content_storage_key" field.

func ContentStorageKeyEQ

func ContentStorageKeyEQ(v string) predicate.Request

ContentStorageKeyEQ applies the EQ predicate on the "content_storage_key" field.

func ContentStorageKeyEqualFold

func ContentStorageKeyEqualFold(v string) predicate.Request

ContentStorageKeyEqualFold applies the EqualFold predicate on the "content_storage_key" field.

func ContentStorageKeyGT

func ContentStorageKeyGT(v string) predicate.Request

ContentStorageKeyGT applies the GT predicate on the "content_storage_key" field.

func ContentStorageKeyGTE

func ContentStorageKeyGTE(v string) predicate.Request

ContentStorageKeyGTE applies the GTE predicate on the "content_storage_key" field.

func ContentStorageKeyHasPrefix

func ContentStorageKeyHasPrefix(v string) predicate.Request

ContentStorageKeyHasPrefix applies the HasPrefix predicate on the "content_storage_key" field.

func ContentStorageKeyHasSuffix

func ContentStorageKeyHasSuffix(v string) predicate.Request

ContentStorageKeyHasSuffix applies the HasSuffix predicate on the "content_storage_key" field.

func ContentStorageKeyIn

func ContentStorageKeyIn(vs ...string) predicate.Request

ContentStorageKeyIn applies the In predicate on the "content_storage_key" field.

func ContentStorageKeyIsNil

func ContentStorageKeyIsNil() predicate.Request

ContentStorageKeyIsNil applies the IsNil predicate on the "content_storage_key" field.

func ContentStorageKeyLT

func ContentStorageKeyLT(v string) predicate.Request

ContentStorageKeyLT applies the LT predicate on the "content_storage_key" field.

func ContentStorageKeyLTE

func ContentStorageKeyLTE(v string) predicate.Request

ContentStorageKeyLTE applies the LTE predicate on the "content_storage_key" field.

func ContentStorageKeyNEQ

func ContentStorageKeyNEQ(v string) predicate.Request

ContentStorageKeyNEQ applies the NEQ predicate on the "content_storage_key" field.

func ContentStorageKeyNotIn

func ContentStorageKeyNotIn(vs ...string) predicate.Request

ContentStorageKeyNotIn applies the NotIn predicate on the "content_storage_key" field.

func ContentStorageKeyNotNil

func ContentStorageKeyNotNil() predicate.Request

ContentStorageKeyNotNil applies the NotNil predicate on the "content_storage_key" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Request

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Request

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Request

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Request

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Request

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Request

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Request

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

func CreatedAtNotIn

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

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

func DataStorageID

func DataStorageID(v int) predicate.Request

DataStorageID applies equality check predicate on the "data_storage_id" field. It's identical to DataStorageIDEQ.

func DataStorageIDEQ

func DataStorageIDEQ(v int) predicate.Request

DataStorageIDEQ applies the EQ predicate on the "data_storage_id" field.

func DataStorageIDIn

func DataStorageIDIn(vs ...int) predicate.Request

DataStorageIDIn applies the In predicate on the "data_storage_id" field.

func DataStorageIDIsNil

func DataStorageIDIsNil() predicate.Request

DataStorageIDIsNil applies the IsNil predicate on the "data_storage_id" field.

func DataStorageIDNEQ

func DataStorageIDNEQ(v int) predicate.Request

DataStorageIDNEQ applies the NEQ predicate on the "data_storage_id" field.

func DataStorageIDNotIn

func DataStorageIDNotIn(vs ...int) predicate.Request

DataStorageIDNotIn applies the NotIn predicate on the "data_storage_id" field.

func DataStorageIDNotNil

func DataStorageIDNotNil() predicate.Request

DataStorageIDNotNil applies the NotNil predicate on the "data_storage_id" field.

func ExternalID

func ExternalID(v string) predicate.Request

ExternalID applies equality check predicate on the "external_id" field. It's identical to ExternalIDEQ.

func ExternalIDContains

func ExternalIDContains(v string) predicate.Request

ExternalIDContains applies the Contains predicate on the "external_id" field.

func ExternalIDContainsFold

func ExternalIDContainsFold(v string) predicate.Request

ExternalIDContainsFold applies the ContainsFold predicate on the "external_id" field.

func ExternalIDEQ

func ExternalIDEQ(v string) predicate.Request

ExternalIDEQ applies the EQ predicate on the "external_id" field.

func ExternalIDEqualFold

func ExternalIDEqualFold(v string) predicate.Request

ExternalIDEqualFold applies the EqualFold predicate on the "external_id" field.

func ExternalIDGT

func ExternalIDGT(v string) predicate.Request

ExternalIDGT applies the GT predicate on the "external_id" field.

func ExternalIDGTE

func ExternalIDGTE(v string) predicate.Request

ExternalIDGTE applies the GTE predicate on the "external_id" field.

func ExternalIDHasPrefix

func ExternalIDHasPrefix(v string) predicate.Request

ExternalIDHasPrefix applies the HasPrefix predicate on the "external_id" field.

func ExternalIDHasSuffix

func ExternalIDHasSuffix(v string) predicate.Request

ExternalIDHasSuffix applies the HasSuffix predicate on the "external_id" field.

func ExternalIDIn

func ExternalIDIn(vs ...string) predicate.Request

ExternalIDIn applies the In predicate on the "external_id" field.

func ExternalIDIsNil

func ExternalIDIsNil() predicate.Request

ExternalIDIsNil applies the IsNil predicate on the "external_id" field.

func ExternalIDLT

func ExternalIDLT(v string) predicate.Request

ExternalIDLT applies the LT predicate on the "external_id" field.

func ExternalIDLTE

func ExternalIDLTE(v string) predicate.Request

ExternalIDLTE applies the LTE predicate on the "external_id" field.

func ExternalIDNEQ

func ExternalIDNEQ(v string) predicate.Request

ExternalIDNEQ applies the NEQ predicate on the "external_id" field.

func ExternalIDNotIn

func ExternalIDNotIn(vs ...string) predicate.Request

ExternalIDNotIn applies the NotIn predicate on the "external_id" field.

func ExternalIDNotNil

func ExternalIDNotNil() predicate.Request

ExternalIDNotNil applies the NotNil predicate on the "external_id" field.

func Format

func Format(v string) predicate.Request

Format applies equality check predicate on the "format" field. It's identical to FormatEQ.

func FormatContains

func FormatContains(v string) predicate.Request

FormatContains applies the Contains predicate on the "format" field.

func FormatContainsFold

func FormatContainsFold(v string) predicate.Request

FormatContainsFold applies the ContainsFold predicate on the "format" field.

func FormatEQ

func FormatEQ(v string) predicate.Request

FormatEQ applies the EQ predicate on the "format" field.

func FormatEqualFold

func FormatEqualFold(v string) predicate.Request

FormatEqualFold applies the EqualFold predicate on the "format" field.

func FormatGT

func FormatGT(v string) predicate.Request

FormatGT applies the GT predicate on the "format" field.

func FormatGTE

func FormatGTE(v string) predicate.Request

FormatGTE applies the GTE predicate on the "format" field.

func FormatHasPrefix

func FormatHasPrefix(v string) predicate.Request

FormatHasPrefix applies the HasPrefix predicate on the "format" field.

func FormatHasSuffix

func FormatHasSuffix(v string) predicate.Request

FormatHasSuffix applies the HasSuffix predicate on the "format" field.

func FormatIn

func FormatIn(vs ...string) predicate.Request

FormatIn applies the In predicate on the "format" field.

func FormatLT

func FormatLT(v string) predicate.Request

FormatLT applies the LT predicate on the "format" field.

func FormatLTE

func FormatLTE(v string) predicate.Request

FormatLTE applies the LTE predicate on the "format" field.

func FormatNEQ

func FormatNEQ(v string) predicate.Request

FormatNEQ applies the NEQ predicate on the "format" field.

func FormatNotIn

func FormatNotIn(vs ...string) predicate.Request

FormatNotIn applies the NotIn predicate on the "format" field.

func HasAPIKey

func HasAPIKey() predicate.Request

HasAPIKey applies the HasEdge predicate on the "api_key" edge.

func HasAPIKeyWith

func HasAPIKeyWith(preds ...predicate.APIKey) predicate.Request

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

func HasChannel

func HasChannel() predicate.Request

HasChannel applies the HasEdge predicate on the "channel" edge.

func HasChannelWith

func HasChannelWith(preds ...predicate.Channel) predicate.Request

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

func HasDataStorage

func HasDataStorage() predicate.Request

HasDataStorage applies the HasEdge predicate on the "data_storage" edge.

func HasDataStorageWith

func HasDataStorageWith(preds ...predicate.DataStorage) predicate.Request

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

func HasExecutions

func HasExecutions() predicate.Request

HasExecutions applies the HasEdge predicate on the "executions" edge.

func HasExecutionsWith

func HasExecutionsWith(preds ...predicate.RequestExecution) predicate.Request

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

func HasProject

func HasProject() predicate.Request

HasProject applies the HasEdge predicate on the "project" edge.

func HasProjectWith

func HasProjectWith(preds ...predicate.Project) predicate.Request

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

func HasTrace

func HasTrace() predicate.Request

HasTrace applies the HasEdge predicate on the "trace" edge.

func HasTraceWith

func HasTraceWith(preds ...predicate.Trace) predicate.Request

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

func HasUsageLogs

func HasUsageLogs() predicate.Request

HasUsageLogs applies the HasEdge predicate on the "usage_logs" edge.

func HasUsageLogsWith

func HasUsageLogsWith(preds ...predicate.UsageLog) predicate.Request

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

func ID

func ID(id int) predicate.Request

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Request

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Request

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Request

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Request

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Request

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Request

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Request

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Request

IDNotIn applies the NotIn predicate on the ID field.

func MetricsFirstTokenLatencyMs

func MetricsFirstTokenLatencyMs(v int64) predicate.Request

MetricsFirstTokenLatencyMs applies equality check predicate on the "metrics_first_token_latency_ms" field. It's identical to MetricsFirstTokenLatencyMsEQ.

func MetricsFirstTokenLatencyMsEQ

func MetricsFirstTokenLatencyMsEQ(v int64) predicate.Request

MetricsFirstTokenLatencyMsEQ applies the EQ predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsGT

func MetricsFirstTokenLatencyMsGT(v int64) predicate.Request

MetricsFirstTokenLatencyMsGT applies the GT predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsGTE

func MetricsFirstTokenLatencyMsGTE(v int64) predicate.Request

MetricsFirstTokenLatencyMsGTE applies the GTE predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsIn

func MetricsFirstTokenLatencyMsIn(vs ...int64) predicate.Request

MetricsFirstTokenLatencyMsIn applies the In predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsIsNil

func MetricsFirstTokenLatencyMsIsNil() predicate.Request

MetricsFirstTokenLatencyMsIsNil applies the IsNil predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsLT

func MetricsFirstTokenLatencyMsLT(v int64) predicate.Request

MetricsFirstTokenLatencyMsLT applies the LT predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsLTE

func MetricsFirstTokenLatencyMsLTE(v int64) predicate.Request

MetricsFirstTokenLatencyMsLTE applies the LTE predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsNEQ

func MetricsFirstTokenLatencyMsNEQ(v int64) predicate.Request

MetricsFirstTokenLatencyMsNEQ applies the NEQ predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsNotIn

func MetricsFirstTokenLatencyMsNotIn(vs ...int64) predicate.Request

MetricsFirstTokenLatencyMsNotIn applies the NotIn predicate on the "metrics_first_token_latency_ms" field.

func MetricsFirstTokenLatencyMsNotNil

func MetricsFirstTokenLatencyMsNotNil() predicate.Request

MetricsFirstTokenLatencyMsNotNil applies the NotNil predicate on the "metrics_first_token_latency_ms" field.

func MetricsLatencyMs

func MetricsLatencyMs(v int64) predicate.Request

MetricsLatencyMs applies equality check predicate on the "metrics_latency_ms" field. It's identical to MetricsLatencyMsEQ.

func MetricsLatencyMsEQ

func MetricsLatencyMsEQ(v int64) predicate.Request

MetricsLatencyMsEQ applies the EQ predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsGT

func MetricsLatencyMsGT(v int64) predicate.Request

MetricsLatencyMsGT applies the GT predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsGTE

func MetricsLatencyMsGTE(v int64) predicate.Request

MetricsLatencyMsGTE applies the GTE predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsIn

func MetricsLatencyMsIn(vs ...int64) predicate.Request

MetricsLatencyMsIn applies the In predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsIsNil

func MetricsLatencyMsIsNil() predicate.Request

MetricsLatencyMsIsNil applies the IsNil predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsLT

func MetricsLatencyMsLT(v int64) predicate.Request

MetricsLatencyMsLT applies the LT predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsLTE

func MetricsLatencyMsLTE(v int64) predicate.Request

MetricsLatencyMsLTE applies the LTE predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsNEQ

func MetricsLatencyMsNEQ(v int64) predicate.Request

MetricsLatencyMsNEQ applies the NEQ predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsNotIn

func MetricsLatencyMsNotIn(vs ...int64) predicate.Request

MetricsLatencyMsNotIn applies the NotIn predicate on the "metrics_latency_ms" field.

func MetricsLatencyMsNotNil

func MetricsLatencyMsNotNil() predicate.Request

MetricsLatencyMsNotNil applies the NotNil predicate on the "metrics_latency_ms" field.

func MetricsReasoningDurationMs

func MetricsReasoningDurationMs(v int64) predicate.Request

MetricsReasoningDurationMs applies equality check predicate on the "metrics_reasoning_duration_ms" field. It's identical to MetricsReasoningDurationMsEQ.

func MetricsReasoningDurationMsEQ

func MetricsReasoningDurationMsEQ(v int64) predicate.Request

MetricsReasoningDurationMsEQ applies the EQ predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsGT

func MetricsReasoningDurationMsGT(v int64) predicate.Request

MetricsReasoningDurationMsGT applies the GT predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsGTE

func MetricsReasoningDurationMsGTE(v int64) predicate.Request

MetricsReasoningDurationMsGTE applies the GTE predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsIn

func MetricsReasoningDurationMsIn(vs ...int64) predicate.Request

MetricsReasoningDurationMsIn applies the In predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsIsNil

func MetricsReasoningDurationMsIsNil() predicate.Request

MetricsReasoningDurationMsIsNil applies the IsNil predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsLT

func MetricsReasoningDurationMsLT(v int64) predicate.Request

MetricsReasoningDurationMsLT applies the LT predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsLTE

func MetricsReasoningDurationMsLTE(v int64) predicate.Request

MetricsReasoningDurationMsLTE applies the LTE predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsNEQ

func MetricsReasoningDurationMsNEQ(v int64) predicate.Request

MetricsReasoningDurationMsNEQ applies the NEQ predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsNotIn

func MetricsReasoningDurationMsNotIn(vs ...int64) predicate.Request

MetricsReasoningDurationMsNotIn applies the NotIn predicate on the "metrics_reasoning_duration_ms" field.

func MetricsReasoningDurationMsNotNil

func MetricsReasoningDurationMsNotNil() predicate.Request

MetricsReasoningDurationMsNotNil applies the NotNil predicate on the "metrics_reasoning_duration_ms" field.

func ModelID

func ModelID(v string) predicate.Request

ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.

func ModelIDContains

func ModelIDContains(v string) predicate.Request

ModelIDContains applies the Contains predicate on the "model_id" field.

func ModelIDContainsFold

func ModelIDContainsFold(v string) predicate.Request

ModelIDContainsFold applies the ContainsFold predicate on the "model_id" field.

func ModelIDEQ

func ModelIDEQ(v string) predicate.Request

ModelIDEQ applies the EQ predicate on the "model_id" field.

func ModelIDEqualFold

func ModelIDEqualFold(v string) predicate.Request

ModelIDEqualFold applies the EqualFold predicate on the "model_id" field.

func ModelIDGT

func ModelIDGT(v string) predicate.Request

ModelIDGT applies the GT predicate on the "model_id" field.

func ModelIDGTE

func ModelIDGTE(v string) predicate.Request

ModelIDGTE applies the GTE predicate on the "model_id" field.

func ModelIDHasPrefix

func ModelIDHasPrefix(v string) predicate.Request

ModelIDHasPrefix applies the HasPrefix predicate on the "model_id" field.

func ModelIDHasSuffix

func ModelIDHasSuffix(v string) predicate.Request

ModelIDHasSuffix applies the HasSuffix predicate on the "model_id" field.

func ModelIDIn

func ModelIDIn(vs ...string) predicate.Request

ModelIDIn applies the In predicate on the "model_id" field.

func ModelIDLT

func ModelIDLT(v string) predicate.Request

ModelIDLT applies the LT predicate on the "model_id" field.

func ModelIDLTE

func ModelIDLTE(v string) predicate.Request

ModelIDLTE applies the LTE predicate on the "model_id" field.

func ModelIDNEQ

func ModelIDNEQ(v string) predicate.Request

ModelIDNEQ applies the NEQ predicate on the "model_id" field.

func ModelIDNotIn

func ModelIDNotIn(vs ...string) predicate.Request

ModelIDNotIn applies the NotIn predicate on the "model_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Request) predicate.Request

Or groups predicates with the OR operator between them.

func ProjectID

func ProjectID(v int) predicate.Request

ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.

func ProjectIDEQ

func ProjectIDEQ(v int) predicate.Request

ProjectIDEQ applies the EQ predicate on the "project_id" field.

func ProjectIDIn

func ProjectIDIn(vs ...int) predicate.Request

ProjectIDIn applies the In predicate on the "project_id" field.

func ProjectIDNEQ

func ProjectIDNEQ(v int) predicate.Request

ProjectIDNEQ applies the NEQ predicate on the "project_id" field.

func ProjectIDNotIn

func ProjectIDNotIn(vs ...int) predicate.Request

ProjectIDNotIn applies the NotIn predicate on the "project_id" field.

func ReasoningEffort

func ReasoningEffort(v string) predicate.Request

ReasoningEffort applies equality check predicate on the "reasoning_effort" field. It's identical to ReasoningEffortEQ.

func ReasoningEffortContains

func ReasoningEffortContains(v string) predicate.Request

ReasoningEffortContains applies the Contains predicate on the "reasoning_effort" field.

func ReasoningEffortContainsFold

func ReasoningEffortContainsFold(v string) predicate.Request

ReasoningEffortContainsFold applies the ContainsFold predicate on the "reasoning_effort" field.

func ReasoningEffortEQ

func ReasoningEffortEQ(v string) predicate.Request

ReasoningEffortEQ applies the EQ predicate on the "reasoning_effort" field.

func ReasoningEffortEqualFold

func ReasoningEffortEqualFold(v string) predicate.Request

ReasoningEffortEqualFold applies the EqualFold predicate on the "reasoning_effort" field.

func ReasoningEffortGT

func ReasoningEffortGT(v string) predicate.Request

ReasoningEffortGT applies the GT predicate on the "reasoning_effort" field.

func ReasoningEffortGTE

func ReasoningEffortGTE(v string) predicate.Request

ReasoningEffortGTE applies the GTE predicate on the "reasoning_effort" field.

func ReasoningEffortHasPrefix

func ReasoningEffortHasPrefix(v string) predicate.Request

ReasoningEffortHasPrefix applies the HasPrefix predicate on the "reasoning_effort" field.

func ReasoningEffortHasSuffix

func ReasoningEffortHasSuffix(v string) predicate.Request

ReasoningEffortHasSuffix applies the HasSuffix predicate on the "reasoning_effort" field.

func ReasoningEffortIn

func ReasoningEffortIn(vs ...string) predicate.Request

ReasoningEffortIn applies the In predicate on the "reasoning_effort" field.

func ReasoningEffortIsNil

func ReasoningEffortIsNil() predicate.Request

ReasoningEffortIsNil applies the IsNil predicate on the "reasoning_effort" field.

func ReasoningEffortLT

func ReasoningEffortLT(v string) predicate.Request

ReasoningEffortLT applies the LT predicate on the "reasoning_effort" field.

func ReasoningEffortLTE

func ReasoningEffortLTE(v string) predicate.Request

ReasoningEffortLTE applies the LTE predicate on the "reasoning_effort" field.

func ReasoningEffortNEQ

func ReasoningEffortNEQ(v string) predicate.Request

ReasoningEffortNEQ applies the NEQ predicate on the "reasoning_effort" field.

func ReasoningEffortNotIn

func ReasoningEffortNotIn(vs ...string) predicate.Request

ReasoningEffortNotIn applies the NotIn predicate on the "reasoning_effort" field.

func ReasoningEffortNotNil

func ReasoningEffortNotNil() predicate.Request

ReasoningEffortNotNil applies the NotNil predicate on the "reasoning_effort" field.

func RequestBodyAvailabilityEQ

func RequestBodyAvailabilityEQ(v RequestBodyAvailability) predicate.Request

RequestBodyAvailabilityEQ applies the EQ predicate on the "request_body_availability" field.

func RequestBodyAvailabilityIn

func RequestBodyAvailabilityIn(vs ...RequestBodyAvailability) predicate.Request

RequestBodyAvailabilityIn applies the In predicate on the "request_body_availability" field.

func RequestBodyAvailabilityNEQ

func RequestBodyAvailabilityNEQ(v RequestBodyAvailability) predicate.Request

RequestBodyAvailabilityNEQ applies the NEQ predicate on the "request_body_availability" field.

func RequestBodyAvailabilityNotIn

func RequestBodyAvailabilityNotIn(vs ...RequestBodyAvailability) predicate.Request

RequestBodyAvailabilityNotIn applies the NotIn predicate on the "request_body_availability" field.

func RequestBodyAvailabilityValidator

func RequestBodyAvailabilityValidator(rba RequestBodyAvailability) error

RequestBodyAvailabilityValidator is a validator for the "request_body_availability" field enum values. It is called by the builders before save.

func RequestHeadersIsNil

func RequestHeadersIsNil() predicate.Request

RequestHeadersIsNil applies the IsNil predicate on the "request_headers" field.

func RequestHeadersNotNil

func RequestHeadersNotNil() predicate.Request

RequestHeadersNotNil applies the NotNil predicate on the "request_headers" field.

func ResponseBodyAvailabilityEQ

func ResponseBodyAvailabilityEQ(v ResponseBodyAvailability) predicate.Request

ResponseBodyAvailabilityEQ applies the EQ predicate on the "response_body_availability" field.

func ResponseBodyAvailabilityIn

func ResponseBodyAvailabilityIn(vs ...ResponseBodyAvailability) predicate.Request

ResponseBodyAvailabilityIn applies the In predicate on the "response_body_availability" field.

func ResponseBodyAvailabilityNEQ

func ResponseBodyAvailabilityNEQ(v ResponseBodyAvailability) predicate.Request

ResponseBodyAvailabilityNEQ applies the NEQ predicate on the "response_body_availability" field.

func ResponseBodyAvailabilityNotIn

func ResponseBodyAvailabilityNotIn(vs ...ResponseBodyAvailability) predicate.Request

ResponseBodyAvailabilityNotIn applies the NotIn predicate on the "response_body_availability" field.

func ResponseBodyAvailabilityValidator

func ResponseBodyAvailabilityValidator(rba ResponseBodyAvailability) error

ResponseBodyAvailabilityValidator is a validator for the "response_body_availability" field enum values. It is called by the builders before save.

func ResponseBodyIsNil

func ResponseBodyIsNil() predicate.Request

ResponseBodyIsNil applies the IsNil predicate on the "response_body" field.

func ResponseBodyNotNil

func ResponseBodyNotNil() predicate.Request

ResponseBodyNotNil applies the NotNil predicate on the "response_body" field.

func ResponseChunksAvailabilityEQ

func ResponseChunksAvailabilityEQ(v ResponseChunksAvailability) predicate.Request

ResponseChunksAvailabilityEQ applies the EQ predicate on the "response_chunks_availability" field.

func ResponseChunksAvailabilityIn

func ResponseChunksAvailabilityIn(vs ...ResponseChunksAvailability) predicate.Request

ResponseChunksAvailabilityIn applies the In predicate on the "response_chunks_availability" field.

func ResponseChunksAvailabilityNEQ

func ResponseChunksAvailabilityNEQ(v ResponseChunksAvailability) predicate.Request

ResponseChunksAvailabilityNEQ applies the NEQ predicate on the "response_chunks_availability" field.

func ResponseChunksAvailabilityNotIn

func ResponseChunksAvailabilityNotIn(vs ...ResponseChunksAvailability) predicate.Request

ResponseChunksAvailabilityNotIn applies the NotIn predicate on the "response_chunks_availability" field.

func ResponseChunksAvailabilityValidator

func ResponseChunksAvailabilityValidator(rca ResponseChunksAvailability) error

ResponseChunksAvailabilityValidator is a validator for the "response_chunks_availability" field enum values. It is called by the builders before save.

func ResponseChunksIsNil

func ResponseChunksIsNil() predicate.Request

ResponseChunksIsNil applies the IsNil predicate on the "response_chunks" field.

func ResponseChunksNotNil

func ResponseChunksNotNil() predicate.Request

ResponseChunksNotNil applies the NotNil predicate on the "response_chunks" field.

func SourceEQ

func SourceEQ(v Source) predicate.Request

SourceEQ applies the EQ predicate on the "source" field.

func SourceIn

func SourceIn(vs ...Source) predicate.Request

SourceIn applies the In predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v Source) predicate.Request

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...Source) predicate.Request

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceValidator

func SourceValidator(s Source) error

SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.

func StatusEQ

func StatusEQ(v Status) predicate.Request

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

func StatusIn

func StatusIn(vs ...Status) predicate.Request

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

func StatusNEQ

func StatusNEQ(v Status) predicate.Request

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

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.Request

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

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func Stream

func Stream(v bool) predicate.Request

Stream applies equality check predicate on the "stream" field. It's identical to StreamEQ.

func StreamEQ

func StreamEQ(v bool) predicate.Request

StreamEQ applies the EQ predicate on the "stream" field.

func StreamNEQ

func StreamNEQ(v bool) predicate.Request

StreamNEQ applies the NEQ predicate on the "stream" field.

func TestOriginID

func TestOriginID(v int) predicate.Request

TestOriginID applies equality check predicate on the "test_origin_id" field. It's identical to TestOriginIDEQ.

func TestOriginIDEQ

func TestOriginIDEQ(v int) predicate.Request

TestOriginIDEQ applies the EQ predicate on the "test_origin_id" field.

func TestOriginIDGT

func TestOriginIDGT(v int) predicate.Request

TestOriginIDGT applies the GT predicate on the "test_origin_id" field.

func TestOriginIDGTE

func TestOriginIDGTE(v int) predicate.Request

TestOriginIDGTE applies the GTE predicate on the "test_origin_id" field.

func TestOriginIDIn

func TestOriginIDIn(vs ...int) predicate.Request

TestOriginIDIn applies the In predicate on the "test_origin_id" field.

func TestOriginIDIsNil

func TestOriginIDIsNil() predicate.Request

TestOriginIDIsNil applies the IsNil predicate on the "test_origin_id" field.

func TestOriginIDLT

func TestOriginIDLT(v int) predicate.Request

TestOriginIDLT applies the LT predicate on the "test_origin_id" field.

func TestOriginIDLTE

func TestOriginIDLTE(v int) predicate.Request

TestOriginIDLTE applies the LTE predicate on the "test_origin_id" field.

func TestOriginIDNEQ

func TestOriginIDNEQ(v int) predicate.Request

TestOriginIDNEQ applies the NEQ predicate on the "test_origin_id" field.

func TestOriginIDNotIn

func TestOriginIDNotIn(vs ...int) predicate.Request

TestOriginIDNotIn applies the NotIn predicate on the "test_origin_id" field.

func TestOriginIDNotNil

func TestOriginIDNotNil() predicate.Request

TestOriginIDNotNil applies the NotNil predicate on the "test_origin_id" field.

func TestOriginLabel

func TestOriginLabel(v string) predicate.Request

TestOriginLabel applies equality check predicate on the "test_origin_label" field. It's identical to TestOriginLabelEQ.

func TestOriginLabelContains

func TestOriginLabelContains(v string) predicate.Request

TestOriginLabelContains applies the Contains predicate on the "test_origin_label" field.

func TestOriginLabelContainsFold

func TestOriginLabelContainsFold(v string) predicate.Request

TestOriginLabelContainsFold applies the ContainsFold predicate on the "test_origin_label" field.

func TestOriginLabelEQ

func TestOriginLabelEQ(v string) predicate.Request

TestOriginLabelEQ applies the EQ predicate on the "test_origin_label" field.

func TestOriginLabelEqualFold

func TestOriginLabelEqualFold(v string) predicate.Request

TestOriginLabelEqualFold applies the EqualFold predicate on the "test_origin_label" field.

func TestOriginLabelGT

func TestOriginLabelGT(v string) predicate.Request

TestOriginLabelGT applies the GT predicate on the "test_origin_label" field.

func TestOriginLabelGTE

func TestOriginLabelGTE(v string) predicate.Request

TestOriginLabelGTE applies the GTE predicate on the "test_origin_label" field.

func TestOriginLabelHasPrefix

func TestOriginLabelHasPrefix(v string) predicate.Request

TestOriginLabelHasPrefix applies the HasPrefix predicate on the "test_origin_label" field.

func TestOriginLabelHasSuffix

func TestOriginLabelHasSuffix(v string) predicate.Request

TestOriginLabelHasSuffix applies the HasSuffix predicate on the "test_origin_label" field.

func TestOriginLabelIn

func TestOriginLabelIn(vs ...string) predicate.Request

TestOriginLabelIn applies the In predicate on the "test_origin_label" field.

func TestOriginLabelIsNil

func TestOriginLabelIsNil() predicate.Request

TestOriginLabelIsNil applies the IsNil predicate on the "test_origin_label" field.

func TestOriginLabelLT

func TestOriginLabelLT(v string) predicate.Request

TestOriginLabelLT applies the LT predicate on the "test_origin_label" field.

func TestOriginLabelLTE

func TestOriginLabelLTE(v string) predicate.Request

TestOriginLabelLTE applies the LTE predicate on the "test_origin_label" field.

func TestOriginLabelNEQ

func TestOriginLabelNEQ(v string) predicate.Request

TestOriginLabelNEQ applies the NEQ predicate on the "test_origin_label" field.

func TestOriginLabelNotIn

func TestOriginLabelNotIn(vs ...string) predicate.Request

TestOriginLabelNotIn applies the NotIn predicate on the "test_origin_label" field.

func TestOriginLabelNotNil

func TestOriginLabelNotNil() predicate.Request

TestOriginLabelNotNil applies the NotNil predicate on the "test_origin_label" field.

func TestOriginTypeEQ

func TestOriginTypeEQ(v TestOriginType) predicate.Request

TestOriginTypeEQ applies the EQ predicate on the "test_origin_type" field.

func TestOriginTypeIn

func TestOriginTypeIn(vs ...TestOriginType) predicate.Request

TestOriginTypeIn applies the In predicate on the "test_origin_type" field.

func TestOriginTypeIsNil

func TestOriginTypeIsNil() predicate.Request

TestOriginTypeIsNil applies the IsNil predicate on the "test_origin_type" field.

func TestOriginTypeNEQ

func TestOriginTypeNEQ(v TestOriginType) predicate.Request

TestOriginTypeNEQ applies the NEQ predicate on the "test_origin_type" field.

func TestOriginTypeNotIn

func TestOriginTypeNotIn(vs ...TestOriginType) predicate.Request

TestOriginTypeNotIn applies the NotIn predicate on the "test_origin_type" field.

func TestOriginTypeNotNil

func TestOriginTypeNotNil() predicate.Request

TestOriginTypeNotNil applies the NotNil predicate on the "test_origin_type" field.

func TestOriginTypeValidator

func TestOriginTypeValidator(tot TestOriginType) error

TestOriginTypeValidator is a validator for the "test_origin_type" field enum values. It is called by the builders before save.

func TraceID

func TraceID(v int) predicate.Request

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

func TraceIDEQ

func TraceIDEQ(v int) predicate.Request

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

func TraceIDIn

func TraceIDIn(vs ...int) predicate.Request

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

func TraceIDIsNil

func TraceIDIsNil() predicate.Request

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

func TraceIDNEQ

func TraceIDNEQ(v int) predicate.Request

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

func TraceIDNotIn

func TraceIDNotIn(vs ...int) predicate.Request

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

func TraceIDNotNil

func TraceIDNotNil() predicate.Request

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Request

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Request

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Request

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Request

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Request

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Request

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Request

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

func UpdatedAtNotIn

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

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Request queries.

func ByAPIKeyField

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

ByAPIKeyField orders the results by api_key field.

func ByAPIKeyID

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

ByAPIKeyID orders the results by the api_key_id field.

func ByChannelField

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

ByChannelField orders the results by channel field.

func ByChannelID

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

ByChannelID orders the results by the channel_id field.

func ByClientIP

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

ByClientIP orders the results by the client_ip field.

func ByContentSaved

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

ByContentSaved orders the results by the content_saved field.

func ByContentSavedAt

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

ByContentSavedAt orders the results by the content_saved_at field.

func ByContentStorageID

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

ByContentStorageID orders the results by the content_storage_id field.

func ByContentStorageKey

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

ByContentStorageKey orders the results by the content_storage_key field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDataStorageField

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

ByDataStorageField orders the results by data_storage field.

func ByDataStorageID

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

ByDataStorageID orders the results by the data_storage_id field.

func ByExecutions

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

ByExecutions orders the results by executions terms.

func ByExecutionsCount

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

ByExecutionsCount orders the results by executions count.

func ByExternalID

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

ByExternalID orders the results by the external_id field.

func ByFormat

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

ByFormat orders the results by the format field.

func ByID

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

ByID orders the results by the id field.

func ByMetricsFirstTokenLatencyMs

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

ByMetricsFirstTokenLatencyMs orders the results by the metrics_first_token_latency_ms field.

func ByMetricsLatencyMs

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

ByMetricsLatencyMs orders the results by the metrics_latency_ms field.

func ByMetricsReasoningDurationMs

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

ByMetricsReasoningDurationMs orders the results by the metrics_reasoning_duration_ms field.

func ByModelID

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

ByModelID orders the results by the model_id field.

func ByProjectField

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

ByProjectField orders the results by project field.

func ByProjectID

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

ByProjectID orders the results by the project_id field.

func ByReasoningEffort

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

ByReasoningEffort orders the results by the reasoning_effort field.

func ByRequestBodyAvailability

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

ByRequestBodyAvailability orders the results by the request_body_availability field.

func ByResponseBodyAvailability

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

ByResponseBodyAvailability orders the results by the response_body_availability field.

func ByResponseChunksAvailability

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

ByResponseChunksAvailability orders the results by the response_chunks_availability field.

func BySource

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

BySource orders the results by the source field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByStream

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

ByStream orders the results by the stream field.

func ByTestOriginID

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

ByTestOriginID orders the results by the test_origin_id field.

func ByTestOriginLabel

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

ByTestOriginLabel orders the results by the test_origin_label field.

func ByTestOriginType

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

ByTestOriginType orders the results by the test_origin_type field.

func ByTraceField

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

ByTraceField orders the results by trace field.

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 ByUsageLogs

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

ByUsageLogs orders the results by usage_logs terms.

func ByUsageLogsCount

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

ByUsageLogsCount orders the results by usage_logs count.

type RequestBodyAvailability

type RequestBodyAvailability string

RequestBodyAvailability defines the type for the "request_body_availability" enum field.

const (
	RequestBodyAvailabilityUnknown     RequestBodyAvailability = "unknown"
	RequestBodyAvailabilityAvailable   RequestBodyAvailability = "available"
	RequestBodyAvailabilityUnavailable RequestBodyAvailability = "unavailable"
)

RequestBodyAvailability values.

func (RequestBodyAvailability) MarshalGQL

func (e RequestBodyAvailability) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (RequestBodyAvailability) String

func (rba RequestBodyAvailability) String() string

func (*RequestBodyAvailability) UnmarshalGQL

func (e *RequestBodyAvailability) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type ResponseBodyAvailability

type ResponseBodyAvailability string

ResponseBodyAvailability defines the type for the "response_body_availability" enum field.

const (
	ResponseBodyAvailabilityUnknown     ResponseBodyAvailability = "unknown"
	ResponseBodyAvailabilityAvailable   ResponseBodyAvailability = "available"
	ResponseBodyAvailabilityUnavailable ResponseBodyAvailability = "unavailable"
)

ResponseBodyAvailability values.

func (ResponseBodyAvailability) MarshalGQL

func (e ResponseBodyAvailability) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (ResponseBodyAvailability) String

func (rba ResponseBodyAvailability) String() string

func (*ResponseBodyAvailability) UnmarshalGQL

func (e *ResponseBodyAvailability) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type ResponseChunksAvailability

type ResponseChunksAvailability string

ResponseChunksAvailability defines the type for the "response_chunks_availability" enum field.

const (
	ResponseChunksAvailabilityUnknown       ResponseChunksAvailability = "unknown"
	ResponseChunksAvailabilityAvailable     ResponseChunksAvailability = "available"
	ResponseChunksAvailabilityUnavailable   ResponseChunksAvailability = "unavailable"
	ResponseChunksAvailabilityNotApplicable ResponseChunksAvailability = "not_applicable"
)

ResponseChunksAvailability values.

func (ResponseChunksAvailability) MarshalGQL

func (e ResponseChunksAvailability) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (ResponseChunksAvailability) String

func (rca ResponseChunksAvailability) String() string

func (*ResponseChunksAvailability) UnmarshalGQL

func (e *ResponseChunksAvailability) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type Source

type Source string

Source defines the type for the "source" enum field.

const (
	SourceAPI        Source = "api"
	SourcePlayground Source = "playground"
	SourceTest       Source = "test"
)

Source values.

func (Source) MarshalGQL

func (e Source) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Source) String

func (s Source) String() string

func (*Source) UnmarshalGQL

func (e *Source) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusPending    Status = "pending"
	StatusProcessing Status = "processing"
	StatusCompleted  Status = "completed"
	StatusFailed     Status = "failed"
	StatusCanceled   Status = "canceled"
)

Status values.

func (Status) MarshalGQL

func (e Status) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Status) String

func (s Status) String() string

func (*Status) UnmarshalGQL

func (e *Status) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type TestOriginType

type TestOriginType string

TestOriginType defines the type for the "test_origin_type" enum field.

const (
	TestOriginTypeChannel TestOriginType = "channel"
	TestOriginTypeModel   TestOriginType = "model"
	TestOriginTypeAdapter TestOriginType = "adapter"
)

TestOriginType values.

func (TestOriginType) MarshalGQL

func (e TestOriginType) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (TestOriginType) String

func (tot TestOriginType) String() string

func (*TestOriginType) UnmarshalGQL

func (e *TestOriginType) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

Jump to

Keyboard shortcuts

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