Documentation
¶
Index ¶
- Constants
- Variables
- func APIKeyID(v int) predicate.Request
- func APIKeyIDEQ(v int) predicate.Request
- func APIKeyIDIn(vs ...int) predicate.Request
- func APIKeyIDIsNil() predicate.Request
- func APIKeyIDNEQ(v int) predicate.Request
- func APIKeyIDNotIn(vs ...int) predicate.Request
- func APIKeyIDNotNil() predicate.Request
- func And(predicates ...predicate.Request) predicate.Request
- func ChannelID(v int) predicate.Request
- func ChannelIDEQ(v int) predicate.Request
- func ChannelIDIn(vs ...int) predicate.Request
- func ChannelIDIsNil() predicate.Request
- func ChannelIDNEQ(v int) predicate.Request
- func ChannelIDNotIn(vs ...int) predicate.Request
- func ChannelIDNotNil() predicate.Request
- func ClientIP(v string) predicate.Request
- func ClientIPContains(v string) predicate.Request
- func ClientIPContainsFold(v string) predicate.Request
- func ClientIPEQ(v string) predicate.Request
- func ClientIPEqualFold(v string) predicate.Request
- func ClientIPGT(v string) predicate.Request
- func ClientIPGTE(v string) predicate.Request
- func ClientIPHasPrefix(v string) predicate.Request
- func ClientIPHasSuffix(v string) predicate.Request
- func ClientIPIn(vs ...string) predicate.Request
- func ClientIPLT(v string) predicate.Request
- func ClientIPLTE(v string) predicate.Request
- func ClientIPNEQ(v string) predicate.Request
- func ClientIPNotIn(vs ...string) predicate.Request
- func ContentSaved(v bool) predicate.Request
- func ContentSavedAt(v time.Time) predicate.Request
- func ContentSavedAtEQ(v time.Time) predicate.Request
- func ContentSavedAtGT(v time.Time) predicate.Request
- func ContentSavedAtGTE(v time.Time) predicate.Request
- func ContentSavedAtIn(vs ...time.Time) predicate.Request
- func ContentSavedAtIsNil() predicate.Request
- func ContentSavedAtLT(v time.Time) predicate.Request
- func ContentSavedAtLTE(v time.Time) predicate.Request
- func ContentSavedAtNEQ(v time.Time) predicate.Request
- func ContentSavedAtNotIn(vs ...time.Time) predicate.Request
- func ContentSavedAtNotNil() predicate.Request
- func ContentSavedEQ(v bool) predicate.Request
- func ContentSavedNEQ(v bool) predicate.Request
- func ContentStorageID(v int) predicate.Request
- func ContentStorageIDEQ(v int) predicate.Request
- func ContentStorageIDGT(v int) predicate.Request
- func ContentStorageIDGTE(v int) predicate.Request
- func ContentStorageIDIn(vs ...int) predicate.Request
- func ContentStorageIDIsNil() predicate.Request
- func ContentStorageIDLT(v int) predicate.Request
- func ContentStorageIDLTE(v int) predicate.Request
- func ContentStorageIDNEQ(v int) predicate.Request
- func ContentStorageIDNotIn(vs ...int) predicate.Request
- func ContentStorageIDNotNil() predicate.Request
- func ContentStorageKey(v string) predicate.Request
- func ContentStorageKeyContains(v string) predicate.Request
- func ContentStorageKeyContainsFold(v string) predicate.Request
- func ContentStorageKeyEQ(v string) predicate.Request
- func ContentStorageKeyEqualFold(v string) predicate.Request
- func ContentStorageKeyGT(v string) predicate.Request
- func ContentStorageKeyGTE(v string) predicate.Request
- func ContentStorageKeyHasPrefix(v string) predicate.Request
- func ContentStorageKeyHasSuffix(v string) predicate.Request
- func ContentStorageKeyIn(vs ...string) predicate.Request
- func ContentStorageKeyIsNil() predicate.Request
- func ContentStorageKeyLT(v string) predicate.Request
- func ContentStorageKeyLTE(v string) predicate.Request
- func ContentStorageKeyNEQ(v string) predicate.Request
- func ContentStorageKeyNotIn(vs ...string) predicate.Request
- func ContentStorageKeyNotNil() predicate.Request
- func CreatedAt(v time.Time) predicate.Request
- func CreatedAtEQ(v time.Time) predicate.Request
- func CreatedAtGT(v time.Time) predicate.Request
- func CreatedAtGTE(v time.Time) predicate.Request
- func CreatedAtIn(vs ...time.Time) predicate.Request
- func CreatedAtLT(v time.Time) predicate.Request
- func CreatedAtLTE(v time.Time) predicate.Request
- func CreatedAtNEQ(v time.Time) predicate.Request
- func CreatedAtNotIn(vs ...time.Time) predicate.Request
- func DataStorageID(v int) predicate.Request
- func DataStorageIDEQ(v int) predicate.Request
- func DataStorageIDIn(vs ...int) predicate.Request
- func DataStorageIDIsNil() predicate.Request
- func DataStorageIDNEQ(v int) predicate.Request
- func DataStorageIDNotIn(vs ...int) predicate.Request
- func DataStorageIDNotNil() predicate.Request
- func ExternalID(v string) predicate.Request
- func ExternalIDContains(v string) predicate.Request
- func ExternalIDContainsFold(v string) predicate.Request
- func ExternalIDEQ(v string) predicate.Request
- func ExternalIDEqualFold(v string) predicate.Request
- func ExternalIDGT(v string) predicate.Request
- func ExternalIDGTE(v string) predicate.Request
- func ExternalIDHasPrefix(v string) predicate.Request
- func ExternalIDHasSuffix(v string) predicate.Request
- func ExternalIDIn(vs ...string) predicate.Request
- func ExternalIDIsNil() predicate.Request
- func ExternalIDLT(v string) predicate.Request
- func ExternalIDLTE(v string) predicate.Request
- func ExternalIDNEQ(v string) predicate.Request
- func ExternalIDNotIn(vs ...string) predicate.Request
- func ExternalIDNotNil() predicate.Request
- func Format(v string) predicate.Request
- func FormatContains(v string) predicate.Request
- func FormatContainsFold(v string) predicate.Request
- func FormatEQ(v string) predicate.Request
- func FormatEqualFold(v string) predicate.Request
- func FormatGT(v string) predicate.Request
- func FormatGTE(v string) predicate.Request
- func FormatHasPrefix(v string) predicate.Request
- func FormatHasSuffix(v string) predicate.Request
- func FormatIn(vs ...string) predicate.Request
- func FormatLT(v string) predicate.Request
- func FormatLTE(v string) predicate.Request
- func FormatNEQ(v string) predicate.Request
- func FormatNotIn(vs ...string) predicate.Request
- func HasAPIKey() predicate.Request
- func HasAPIKeyWith(preds ...predicate.APIKey) predicate.Request
- func HasChannel() predicate.Request
- func HasChannelWith(preds ...predicate.Channel) predicate.Request
- func HasDataStorage() predicate.Request
- func HasDataStorageWith(preds ...predicate.DataStorage) predicate.Request
- func HasExecutions() predicate.Request
- func HasExecutionsWith(preds ...predicate.RequestExecution) predicate.Request
- func HasProject() predicate.Request
- func HasProjectWith(preds ...predicate.Project) predicate.Request
- func HasTrace() predicate.Request
- func HasTraceWith(preds ...predicate.Trace) predicate.Request
- func HasUsageLogs() predicate.Request
- func HasUsageLogsWith(preds ...predicate.UsageLog) predicate.Request
- func ID(id int) predicate.Request
- func IDEQ(id int) predicate.Request
- func IDGT(id int) predicate.Request
- func IDGTE(id int) predicate.Request
- func IDIn(ids ...int) predicate.Request
- func IDLT(id int) predicate.Request
- func IDLTE(id int) predicate.Request
- func IDNEQ(id int) predicate.Request
- func IDNotIn(ids ...int) predicate.Request
- func MetricsFirstTokenLatencyMs(v int64) predicate.Request
- func MetricsFirstTokenLatencyMsEQ(v int64) predicate.Request
- func MetricsFirstTokenLatencyMsGT(v int64) predicate.Request
- func MetricsFirstTokenLatencyMsGTE(v int64) predicate.Request
- func MetricsFirstTokenLatencyMsIn(vs ...int64) predicate.Request
- func MetricsFirstTokenLatencyMsIsNil() predicate.Request
- func MetricsFirstTokenLatencyMsLT(v int64) predicate.Request
- func MetricsFirstTokenLatencyMsLTE(v int64) predicate.Request
- func MetricsFirstTokenLatencyMsNEQ(v int64) predicate.Request
- func MetricsFirstTokenLatencyMsNotIn(vs ...int64) predicate.Request
- func MetricsFirstTokenLatencyMsNotNil() predicate.Request
- func MetricsLatencyMs(v int64) predicate.Request
- func MetricsLatencyMsEQ(v int64) predicate.Request
- func MetricsLatencyMsGT(v int64) predicate.Request
- func MetricsLatencyMsGTE(v int64) predicate.Request
- func MetricsLatencyMsIn(vs ...int64) predicate.Request
- func MetricsLatencyMsIsNil() predicate.Request
- func MetricsLatencyMsLT(v int64) predicate.Request
- func MetricsLatencyMsLTE(v int64) predicate.Request
- func MetricsLatencyMsNEQ(v int64) predicate.Request
- func MetricsLatencyMsNotIn(vs ...int64) predicate.Request
- func MetricsLatencyMsNotNil() predicate.Request
- func MetricsReasoningDurationMs(v int64) predicate.Request
- func MetricsReasoningDurationMsEQ(v int64) predicate.Request
- func MetricsReasoningDurationMsGT(v int64) predicate.Request
- func MetricsReasoningDurationMsGTE(v int64) predicate.Request
- func MetricsReasoningDurationMsIn(vs ...int64) predicate.Request
- func MetricsReasoningDurationMsIsNil() predicate.Request
- func MetricsReasoningDurationMsLT(v int64) predicate.Request
- func MetricsReasoningDurationMsLTE(v int64) predicate.Request
- func MetricsReasoningDurationMsNEQ(v int64) predicate.Request
- func MetricsReasoningDurationMsNotIn(vs ...int64) predicate.Request
- func MetricsReasoningDurationMsNotNil() predicate.Request
- func ModelID(v string) predicate.Request
- func ModelIDContains(v string) predicate.Request
- func ModelIDContainsFold(v string) predicate.Request
- func ModelIDEQ(v string) predicate.Request
- func ModelIDEqualFold(v string) predicate.Request
- func ModelIDGT(v string) predicate.Request
- func ModelIDGTE(v string) predicate.Request
- func ModelIDHasPrefix(v string) predicate.Request
- func ModelIDHasSuffix(v string) predicate.Request
- func ModelIDIn(vs ...string) predicate.Request
- func ModelIDLT(v string) predicate.Request
- func ModelIDLTE(v string) predicate.Request
- func ModelIDNEQ(v string) predicate.Request
- func ModelIDNotIn(vs ...string) predicate.Request
- func Not(p predicate.Request) predicate.Request
- func Or(predicates ...predicate.Request) predicate.Request
- func ProjectID(v int) predicate.Request
- func ProjectIDEQ(v int) predicate.Request
- func ProjectIDIn(vs ...int) predicate.Request
- func ProjectIDNEQ(v int) predicate.Request
- func ProjectIDNotIn(vs ...int) predicate.Request
- func ReasoningEffort(v string) predicate.Request
- func ReasoningEffortContains(v string) predicate.Request
- func ReasoningEffortContainsFold(v string) predicate.Request
- func ReasoningEffortEQ(v string) predicate.Request
- func ReasoningEffortEqualFold(v string) predicate.Request
- func ReasoningEffortGT(v string) predicate.Request
- func ReasoningEffortGTE(v string) predicate.Request
- func ReasoningEffortHasPrefix(v string) predicate.Request
- func ReasoningEffortHasSuffix(v string) predicate.Request
- func ReasoningEffortIn(vs ...string) predicate.Request
- func ReasoningEffortIsNil() predicate.Request
- func ReasoningEffortLT(v string) predicate.Request
- func ReasoningEffortLTE(v string) predicate.Request
- func ReasoningEffortNEQ(v string) predicate.Request
- func ReasoningEffortNotIn(vs ...string) predicate.Request
- func ReasoningEffortNotNil() predicate.Request
- func RequestBodyAvailabilityEQ(v RequestBodyAvailability) predicate.Request
- func RequestBodyAvailabilityIn(vs ...RequestBodyAvailability) predicate.Request
- func RequestBodyAvailabilityNEQ(v RequestBodyAvailability) predicate.Request
- func RequestBodyAvailabilityNotIn(vs ...RequestBodyAvailability) predicate.Request
- func RequestBodyAvailabilityValidator(rba RequestBodyAvailability) error
- func RequestHeadersIsNil() predicate.Request
- func RequestHeadersNotNil() predicate.Request
- func ResponseBodyAvailabilityEQ(v ResponseBodyAvailability) predicate.Request
- func ResponseBodyAvailabilityIn(vs ...ResponseBodyAvailability) predicate.Request
- func ResponseBodyAvailabilityNEQ(v ResponseBodyAvailability) predicate.Request
- func ResponseBodyAvailabilityNotIn(vs ...ResponseBodyAvailability) predicate.Request
- func ResponseBodyAvailabilityValidator(rba ResponseBodyAvailability) error
- func ResponseBodyIsNil() predicate.Request
- func ResponseBodyNotNil() predicate.Request
- func ResponseChunksAvailabilityEQ(v ResponseChunksAvailability) predicate.Request
- func ResponseChunksAvailabilityIn(vs ...ResponseChunksAvailability) predicate.Request
- func ResponseChunksAvailabilityNEQ(v ResponseChunksAvailability) predicate.Request
- func ResponseChunksAvailabilityNotIn(vs ...ResponseChunksAvailability) predicate.Request
- func ResponseChunksAvailabilityValidator(rca ResponseChunksAvailability) error
- func ResponseChunksIsNil() predicate.Request
- func ResponseChunksNotNil() predicate.Request
- func SourceEQ(v Source) predicate.Request
- func SourceIn(vs ...Source) predicate.Request
- func SourceNEQ(v Source) predicate.Request
- func SourceNotIn(vs ...Source) predicate.Request
- func SourceValidator(s Source) error
- func StatusEQ(v Status) predicate.Request
- func StatusIn(vs ...Status) predicate.Request
- func StatusNEQ(v Status) predicate.Request
- func StatusNotIn(vs ...Status) predicate.Request
- func StatusValidator(s Status) error
- func Stream(v bool) predicate.Request
- func StreamEQ(v bool) predicate.Request
- func StreamNEQ(v bool) predicate.Request
- func TestOriginID(v int) predicate.Request
- func TestOriginIDEQ(v int) predicate.Request
- func TestOriginIDGT(v int) predicate.Request
- func TestOriginIDGTE(v int) predicate.Request
- func TestOriginIDIn(vs ...int) predicate.Request
- func TestOriginIDIsNil() predicate.Request
- func TestOriginIDLT(v int) predicate.Request
- func TestOriginIDLTE(v int) predicate.Request
- func TestOriginIDNEQ(v int) predicate.Request
- func TestOriginIDNotIn(vs ...int) predicate.Request
- func TestOriginIDNotNil() predicate.Request
- func TestOriginLabel(v string) predicate.Request
- func TestOriginLabelContains(v string) predicate.Request
- func TestOriginLabelContainsFold(v string) predicate.Request
- func TestOriginLabelEQ(v string) predicate.Request
- func TestOriginLabelEqualFold(v string) predicate.Request
- func TestOriginLabelGT(v string) predicate.Request
- func TestOriginLabelGTE(v string) predicate.Request
- func TestOriginLabelHasPrefix(v string) predicate.Request
- func TestOriginLabelHasSuffix(v string) predicate.Request
- func TestOriginLabelIn(vs ...string) predicate.Request
- func TestOriginLabelIsNil() predicate.Request
- func TestOriginLabelLT(v string) predicate.Request
- func TestOriginLabelLTE(v string) predicate.Request
- func TestOriginLabelNEQ(v string) predicate.Request
- func TestOriginLabelNotIn(vs ...string) predicate.Request
- func TestOriginLabelNotNil() predicate.Request
- func TestOriginTypeEQ(v TestOriginType) predicate.Request
- func TestOriginTypeIn(vs ...TestOriginType) predicate.Request
- func TestOriginTypeIsNil() predicate.Request
- func TestOriginTypeNEQ(v TestOriginType) predicate.Request
- func TestOriginTypeNotIn(vs ...TestOriginType) predicate.Request
- func TestOriginTypeNotNil() predicate.Request
- func TestOriginTypeValidator(tot TestOriginType) error
- func TraceID(v int) predicate.Request
- func TraceIDEQ(v int) predicate.Request
- func TraceIDIn(vs ...int) predicate.Request
- func TraceIDIsNil() predicate.Request
- func TraceIDNEQ(v int) predicate.Request
- func TraceIDNotIn(vs ...int) predicate.Request
- func TraceIDNotNil() predicate.Request
- func UpdatedAt(v time.Time) predicate.Request
- func UpdatedAtEQ(v time.Time) predicate.Request
- func UpdatedAtGT(v time.Time) predicate.Request
- func UpdatedAtGTE(v time.Time) predicate.Request
- func UpdatedAtIn(vs ...time.Time) predicate.Request
- func UpdatedAtLT(v time.Time) predicate.Request
- func UpdatedAtLTE(v time.Time) predicate.Request
- func UpdatedAtNEQ(v time.Time) predicate.Request
- func UpdatedAtNotIn(vs ...time.Time) predicate.Request
- func ValidColumn(column string) bool
- type OrderOption
- func ByAPIKeyField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAPIKeyID(opts ...sql.OrderTermOption) OrderOption
- func ByChannelField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByChannelID(opts ...sql.OrderTermOption) OrderOption
- func ByClientIP(opts ...sql.OrderTermOption) OrderOption
- func ByContentSaved(opts ...sql.OrderTermOption) OrderOption
- func ByContentSavedAt(opts ...sql.OrderTermOption) OrderOption
- func ByContentStorageID(opts ...sql.OrderTermOption) OrderOption
- func ByContentStorageKey(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDataStorageField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDataStorageID(opts ...sql.OrderTermOption) OrderOption
- func ByExecutions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByExecutionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByExternalID(opts ...sql.OrderTermOption) OrderOption
- func ByFormat(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMetricsFirstTokenLatencyMs(opts ...sql.OrderTermOption) OrderOption
- func ByMetricsLatencyMs(opts ...sql.OrderTermOption) OrderOption
- func ByMetricsReasoningDurationMs(opts ...sql.OrderTermOption) OrderOption
- func ByModelID(opts ...sql.OrderTermOption) OrderOption
- func ByProjectField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByProjectID(opts ...sql.OrderTermOption) OrderOption
- func ByReasoningEffort(opts ...sql.OrderTermOption) OrderOption
- func ByRequestBodyAvailability(opts ...sql.OrderTermOption) OrderOption
- func ByResponseBodyAvailability(opts ...sql.OrderTermOption) OrderOption
- func ByResponseChunksAvailability(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByStream(opts ...sql.OrderTermOption) OrderOption
- func ByTestOriginID(opts ...sql.OrderTermOption) OrderOption
- func ByTestOriginLabel(opts ...sql.OrderTermOption) OrderOption
- func ByTestOriginType(opts ...sql.OrderTermOption) OrderOption
- func ByTraceField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTraceID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUsageLogs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsageLogsCount(opts ...sql.OrderTermOption) OrderOption
- type RequestBodyAvailability
- type ResponseBodyAvailability
- type ResponseChunksAvailability
- type Source
- type Status
- type TestOriginType
Constants ¶
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" )
const DefaultRequestBodyAvailability = RequestBodyAvailabilityUnknown
RequestBodyAvailabilityUnknown is the default value of the RequestBodyAvailability enum.
const DefaultResponseBodyAvailability = ResponseBodyAvailabilityUnknown
ResponseBodyAvailabilityUnknown is the default value of the ResponseBodyAvailability enum.
const DefaultResponseChunksAvailability = ResponseChunksAvailabilityUnknown
ResponseChunksAvailabilityUnknown is the default value of the ResponseChunksAvailability enum.
const DefaultSource = SourceAPI
SourceAPI is the default value of the Source enum.
Variables ¶
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"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldAPIKeyID, FieldProjectID, FieldTraceID, FieldDataStorageID, FieldSource, FieldModelID, FieldReasoningEffort, FieldFormat, FieldRequestHeaders, FieldRequestBody, FieldRequestBodyAvailability, FieldResponseBody, FieldResponseBodyAvailability, FieldResponseChunks, FieldResponseChunksAvailability, FieldChannelID, FieldTestOriginType, FieldTestOriginID, FieldTestOriginLabel, FieldExternalID, FieldStatus, FieldStream, FieldClientIP, FieldMetricsLatencyMs, FieldMetricsFirstTokenLatencyMs, FieldMetricsReasoningDurationMs, FieldContentSaved, FieldContentStorageID, FieldContentStorageKey, FieldContentSavedAt, }
Columns holds all SQL columns for request fields.
Functions ¶
func APIKeyID ¶
APIKeyID applies equality check predicate on the "api_key_id" field. It's identical to APIKeyIDEQ.
func APIKeyIDEQ ¶
APIKeyIDEQ applies the EQ predicate on the "api_key_id" field.
func APIKeyIDIn ¶
APIKeyIDIn applies the In predicate on the "api_key_id" field.
func APIKeyIDIsNil ¶
APIKeyIDIsNil applies the IsNil predicate on the "api_key_id" field.
func APIKeyIDNEQ ¶
APIKeyIDNEQ applies the NEQ predicate on the "api_key_id" field.
func APIKeyIDNotIn ¶
APIKeyIDNotIn applies the NotIn predicate on the "api_key_id" field.
func APIKeyIDNotNil ¶
APIKeyIDNotNil applies the NotNil predicate on the "api_key_id" field.
func ChannelID ¶
ChannelID applies equality check predicate on the "channel_id" field. It's identical to ChannelIDEQ.
func ChannelIDEQ ¶
ChannelIDEQ applies the EQ predicate on the "channel_id" field.
func ChannelIDIn ¶
ChannelIDIn applies the In predicate on the "channel_id" field.
func ChannelIDIsNil ¶
ChannelIDIsNil applies the IsNil predicate on the "channel_id" field.
func ChannelIDNEQ ¶
ChannelIDNEQ applies the NEQ predicate on the "channel_id" field.
func ChannelIDNotIn ¶
ChannelIDNotIn applies the NotIn predicate on the "channel_id" field.
func ChannelIDNotNil ¶
ChannelIDNotNil applies the NotNil predicate on the "channel_id" field.
func ClientIP ¶
ClientIP applies equality check predicate on the "client_ip" field. It's identical to ClientIPEQ.
func ClientIPContains ¶
ClientIPContains applies the Contains predicate on the "client_ip" field.
func ClientIPContainsFold ¶
ClientIPContainsFold applies the ContainsFold predicate on the "client_ip" field.
func ClientIPEQ ¶
ClientIPEQ applies the EQ predicate on the "client_ip" field.
func ClientIPEqualFold ¶
ClientIPEqualFold applies the EqualFold predicate on the "client_ip" field.
func ClientIPGT ¶
ClientIPGT applies the GT predicate on the "client_ip" field.
func ClientIPGTE ¶
ClientIPGTE applies the GTE predicate on the "client_ip" field.
func ClientIPHasPrefix ¶
ClientIPHasPrefix applies the HasPrefix predicate on the "client_ip" field.
func ClientIPHasSuffix ¶
ClientIPHasSuffix applies the HasSuffix predicate on the "client_ip" field.
func ClientIPIn ¶
ClientIPIn applies the In predicate on the "client_ip" field.
func ClientIPLT ¶
ClientIPLT applies the LT predicate on the "client_ip" field.
func ClientIPLTE ¶
ClientIPLTE applies the LTE predicate on the "client_ip" field.
func ClientIPNEQ ¶
ClientIPNEQ applies the NEQ predicate on the "client_ip" field.
func ClientIPNotIn ¶
ClientIPNotIn applies the NotIn predicate on the "client_ip" field.
func ContentSaved ¶
ContentSaved applies equality check predicate on the "content_saved" field. It's identical to ContentSavedEQ.
func ContentSavedAt ¶
ContentSavedAt applies equality check predicate on the "content_saved_at" field. It's identical to ContentSavedAtEQ.
func ContentSavedAtEQ ¶
ContentSavedAtEQ applies the EQ predicate on the "content_saved_at" field.
func ContentSavedAtGT ¶
ContentSavedAtGT applies the GT predicate on the "content_saved_at" field.
func ContentSavedAtGTE ¶
ContentSavedAtGTE applies the GTE predicate on the "content_saved_at" field.
func ContentSavedAtIn ¶
ContentSavedAtIn applies the In predicate on the "content_saved_at" field.
func ContentSavedAtIsNil ¶
ContentSavedAtIsNil applies the IsNil predicate on the "content_saved_at" field.
func ContentSavedAtLT ¶
ContentSavedAtLT applies the LT predicate on the "content_saved_at" field.
func ContentSavedAtLTE ¶
ContentSavedAtLTE applies the LTE predicate on the "content_saved_at" field.
func ContentSavedAtNEQ ¶
ContentSavedAtNEQ applies the NEQ predicate on the "content_saved_at" field.
func ContentSavedAtNotIn ¶
ContentSavedAtNotIn applies the NotIn predicate on the "content_saved_at" field.
func ContentSavedAtNotNil ¶
ContentSavedAtNotNil applies the NotNil predicate on the "content_saved_at" field.
func ContentSavedEQ ¶
ContentSavedEQ applies the EQ predicate on the "content_saved" field.
func ContentSavedNEQ ¶
ContentSavedNEQ applies the NEQ predicate on the "content_saved" field.
func ContentStorageID ¶
ContentStorageID applies equality check predicate on the "content_storage_id" field. It's identical to ContentStorageIDEQ.
func ContentStorageIDEQ ¶
ContentStorageIDEQ applies the EQ predicate on the "content_storage_id" field.
func ContentStorageIDGT ¶
ContentStorageIDGT applies the GT predicate on the "content_storage_id" field.
func ContentStorageIDGTE ¶
ContentStorageIDGTE applies the GTE predicate on the "content_storage_id" field.
func ContentStorageIDIn ¶
ContentStorageIDIn applies the In predicate on the "content_storage_id" field.
func ContentStorageIDIsNil ¶
ContentStorageIDIsNil applies the IsNil predicate on the "content_storage_id" field.
func ContentStorageIDLT ¶
ContentStorageIDLT applies the LT predicate on the "content_storage_id" field.
func ContentStorageIDLTE ¶
ContentStorageIDLTE applies the LTE predicate on the "content_storage_id" field.
func ContentStorageIDNEQ ¶
ContentStorageIDNEQ applies the NEQ predicate on the "content_storage_id" field.
func ContentStorageIDNotIn ¶
ContentStorageIDNotIn applies the NotIn predicate on the "content_storage_id" field.
func ContentStorageIDNotNil ¶
ContentStorageIDNotNil applies the NotNil predicate on the "content_storage_id" field.
func ContentStorageKey ¶
ContentStorageKey applies equality check predicate on the "content_storage_key" field. It's identical to ContentStorageKeyEQ.
func ContentStorageKeyContains ¶
ContentStorageKeyContains applies the Contains predicate on the "content_storage_key" field.
func ContentStorageKeyContainsFold ¶
ContentStorageKeyContainsFold applies the ContainsFold predicate on the "content_storage_key" field.
func ContentStorageKeyEQ ¶
ContentStorageKeyEQ applies the EQ predicate on the "content_storage_key" field.
func ContentStorageKeyEqualFold ¶
ContentStorageKeyEqualFold applies the EqualFold predicate on the "content_storage_key" field.
func ContentStorageKeyGT ¶
ContentStorageKeyGT applies the GT predicate on the "content_storage_key" field.
func ContentStorageKeyGTE ¶
ContentStorageKeyGTE applies the GTE predicate on the "content_storage_key" field.
func ContentStorageKeyHasPrefix ¶
ContentStorageKeyHasPrefix applies the HasPrefix predicate on the "content_storage_key" field.
func ContentStorageKeyHasSuffix ¶
ContentStorageKeyHasSuffix applies the HasSuffix predicate on the "content_storage_key" field.
func ContentStorageKeyIn ¶
ContentStorageKeyIn applies the In predicate on the "content_storage_key" field.
func ContentStorageKeyIsNil ¶
ContentStorageKeyIsNil applies the IsNil predicate on the "content_storage_key" field.
func ContentStorageKeyLT ¶
ContentStorageKeyLT applies the LT predicate on the "content_storage_key" field.
func ContentStorageKeyLTE ¶
ContentStorageKeyLTE applies the LTE predicate on the "content_storage_key" field.
func ContentStorageKeyNEQ ¶
ContentStorageKeyNEQ applies the NEQ predicate on the "content_storage_key" field.
func ContentStorageKeyNotIn ¶
ContentStorageKeyNotIn applies the NotIn predicate on the "content_storage_key" field.
func ContentStorageKeyNotNil ¶
ContentStorageKeyNotNil applies the NotNil predicate on the "content_storage_key" 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 DataStorageID ¶
DataStorageID applies equality check predicate on the "data_storage_id" field. It's identical to DataStorageIDEQ.
func DataStorageIDEQ ¶
DataStorageIDEQ applies the EQ predicate on the "data_storage_id" field.
func DataStorageIDIn ¶
DataStorageIDIn applies the In predicate on the "data_storage_id" field.
func DataStorageIDIsNil ¶
DataStorageIDIsNil applies the IsNil predicate on the "data_storage_id" field.
func DataStorageIDNEQ ¶
DataStorageIDNEQ applies the NEQ predicate on the "data_storage_id" field.
func DataStorageIDNotIn ¶
DataStorageIDNotIn applies the NotIn predicate on the "data_storage_id" field.
func DataStorageIDNotNil ¶
DataStorageIDNotNil applies the NotNil predicate on the "data_storage_id" field.
func ExternalID ¶
ExternalID applies equality check predicate on the "external_id" field. It's identical to ExternalIDEQ.
func ExternalIDContains ¶
ExternalIDContains applies the Contains predicate on the "external_id" field.
func ExternalIDContainsFold ¶
ExternalIDContainsFold applies the ContainsFold predicate on the "external_id" field.
func ExternalIDEQ ¶
ExternalIDEQ applies the EQ predicate on the "external_id" field.
func ExternalIDEqualFold ¶
ExternalIDEqualFold applies the EqualFold predicate on the "external_id" field.
func ExternalIDGT ¶
ExternalIDGT applies the GT predicate on the "external_id" field.
func ExternalIDGTE ¶
ExternalIDGTE applies the GTE predicate on the "external_id" field.
func ExternalIDHasPrefix ¶
ExternalIDHasPrefix applies the HasPrefix predicate on the "external_id" field.
func ExternalIDHasSuffix ¶
ExternalIDHasSuffix applies the HasSuffix predicate on the "external_id" field.
func ExternalIDIn ¶
ExternalIDIn applies the In predicate on the "external_id" field.
func ExternalIDIsNil ¶
ExternalIDIsNil applies the IsNil predicate on the "external_id" field.
func ExternalIDLT ¶
ExternalIDLT applies the LT predicate on the "external_id" field.
func ExternalIDLTE ¶
ExternalIDLTE applies the LTE predicate on the "external_id" field.
func ExternalIDNEQ ¶
ExternalIDNEQ applies the NEQ predicate on the "external_id" field.
func ExternalIDNotIn ¶
ExternalIDNotIn applies the NotIn predicate on the "external_id" field.
func ExternalIDNotNil ¶
ExternalIDNotNil applies the NotNil predicate on the "external_id" field.
func Format ¶
Format applies equality check predicate on the "format" field. It's identical to FormatEQ.
func FormatContains ¶
FormatContains applies the Contains predicate on the "format" field.
func FormatContainsFold ¶
FormatContainsFold applies the ContainsFold predicate on the "format" field.
func FormatEqualFold ¶
FormatEqualFold applies the EqualFold predicate on the "format" field.
func FormatHasPrefix ¶
FormatHasPrefix applies the HasPrefix predicate on the "format" field.
func FormatHasSuffix ¶
FormatHasSuffix applies the HasSuffix predicate on the "format" field.
func FormatNotIn ¶
FormatNotIn applies the NotIn predicate on the "format" field.
func HasAPIKeyWith ¶
HasAPIKeyWith applies the HasEdge predicate on the "api_key" edge with a given conditions (other predicates).
func HasChannel ¶
HasChannel applies the HasEdge predicate on the "channel" edge.
func HasChannelWith ¶
HasChannelWith applies the HasEdge predicate on the "channel" edge with a given conditions (other predicates).
func HasDataStorage ¶
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 ¶
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 ¶
HasProject applies the HasEdge predicate on the "project" edge.
func HasProjectWith ¶
HasProjectWith applies the HasEdge predicate on the "project" edge with a given conditions (other predicates).
func HasTraceWith ¶
HasTraceWith applies the HasEdge predicate on the "trace" edge with a given conditions (other predicates).
func HasUsageLogs ¶
HasUsageLogs applies the HasEdge predicate on the "usage_logs" edge.
func HasUsageLogsWith ¶
HasUsageLogsWith applies the HasEdge predicate on the "usage_logs" edge with a given conditions (other predicates).
func MetricsFirstTokenLatencyMs ¶
MetricsFirstTokenLatencyMs applies equality check predicate on the "metrics_first_token_latency_ms" field. It's identical to MetricsFirstTokenLatencyMsEQ.
func MetricsFirstTokenLatencyMsEQ ¶
MetricsFirstTokenLatencyMsEQ applies the EQ predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsGT ¶
MetricsFirstTokenLatencyMsGT applies the GT predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsGTE ¶
MetricsFirstTokenLatencyMsGTE applies the GTE predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsIn ¶
MetricsFirstTokenLatencyMsIn applies the In predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsIsNil ¶
MetricsFirstTokenLatencyMsIsNil applies the IsNil predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsLT ¶
MetricsFirstTokenLatencyMsLT applies the LT predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsLTE ¶
MetricsFirstTokenLatencyMsLTE applies the LTE predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsNEQ ¶
MetricsFirstTokenLatencyMsNEQ applies the NEQ predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsNotIn ¶
MetricsFirstTokenLatencyMsNotIn applies the NotIn predicate on the "metrics_first_token_latency_ms" field.
func MetricsFirstTokenLatencyMsNotNil ¶
MetricsFirstTokenLatencyMsNotNil applies the NotNil predicate on the "metrics_first_token_latency_ms" field.
func MetricsLatencyMs ¶
MetricsLatencyMs applies equality check predicate on the "metrics_latency_ms" field. It's identical to MetricsLatencyMsEQ.
func MetricsLatencyMsEQ ¶
MetricsLatencyMsEQ applies the EQ predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsGT ¶
MetricsLatencyMsGT applies the GT predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsGTE ¶
MetricsLatencyMsGTE applies the GTE predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsIn ¶
MetricsLatencyMsIn applies the In predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsIsNil ¶
MetricsLatencyMsIsNil applies the IsNil predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsLT ¶
MetricsLatencyMsLT applies the LT predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsLTE ¶
MetricsLatencyMsLTE applies the LTE predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsNEQ ¶
MetricsLatencyMsNEQ applies the NEQ predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsNotIn ¶
MetricsLatencyMsNotIn applies the NotIn predicate on the "metrics_latency_ms" field.
func MetricsLatencyMsNotNil ¶
MetricsLatencyMsNotNil applies the NotNil predicate on the "metrics_latency_ms" field.
func MetricsReasoningDurationMs ¶
MetricsReasoningDurationMs applies equality check predicate on the "metrics_reasoning_duration_ms" field. It's identical to MetricsReasoningDurationMsEQ.
func MetricsReasoningDurationMsEQ ¶
MetricsReasoningDurationMsEQ applies the EQ predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsGT ¶
MetricsReasoningDurationMsGT applies the GT predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsGTE ¶
MetricsReasoningDurationMsGTE applies the GTE predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsIn ¶
MetricsReasoningDurationMsIn applies the In predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsIsNil ¶
MetricsReasoningDurationMsIsNil applies the IsNil predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsLT ¶
MetricsReasoningDurationMsLT applies the LT predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsLTE ¶
MetricsReasoningDurationMsLTE applies the LTE predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsNEQ ¶
MetricsReasoningDurationMsNEQ applies the NEQ predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsNotIn ¶
MetricsReasoningDurationMsNotIn applies the NotIn predicate on the "metrics_reasoning_duration_ms" field.
func MetricsReasoningDurationMsNotNil ¶
MetricsReasoningDurationMsNotNil applies the NotNil predicate on the "metrics_reasoning_duration_ms" field.
func ModelID ¶
ModelID applies equality check predicate on the "model_id" field. It's identical to ModelIDEQ.
func ModelIDContains ¶
ModelIDContains applies the Contains predicate on the "model_id" field.
func ModelIDContainsFold ¶
ModelIDContainsFold applies the ContainsFold predicate on the "model_id" field.
func ModelIDEqualFold ¶
ModelIDEqualFold applies the EqualFold predicate on the "model_id" field.
func ModelIDGTE ¶
ModelIDGTE applies the GTE predicate on the "model_id" field.
func ModelIDHasPrefix ¶
ModelIDHasPrefix applies the HasPrefix predicate on the "model_id" field.
func ModelIDHasSuffix ¶
ModelIDHasSuffix applies the HasSuffix predicate on the "model_id" field.
func ModelIDLTE ¶
ModelIDLTE applies the LTE predicate on the "model_id" field.
func ModelIDNEQ ¶
ModelIDNEQ applies the NEQ predicate on the "model_id" field.
func ModelIDNotIn ¶
ModelIDNotIn applies the NotIn predicate on the "model_id" field.
func ProjectID ¶
ProjectID applies equality check predicate on the "project_id" field. It's identical to ProjectIDEQ.
func ProjectIDEQ ¶
ProjectIDEQ applies the EQ predicate on the "project_id" field.
func ProjectIDIn ¶
ProjectIDIn applies the In predicate on the "project_id" field.
func ProjectIDNEQ ¶
ProjectIDNEQ applies the NEQ predicate on the "project_id" field.
func ProjectIDNotIn ¶
ProjectIDNotIn applies the NotIn predicate on the "project_id" field.
func ReasoningEffort ¶
ReasoningEffort applies equality check predicate on the "reasoning_effort" field. It's identical to ReasoningEffortEQ.
func ReasoningEffortContains ¶
ReasoningEffortContains applies the Contains predicate on the "reasoning_effort" field.
func ReasoningEffortContainsFold ¶
ReasoningEffortContainsFold applies the ContainsFold predicate on the "reasoning_effort" field.
func ReasoningEffortEQ ¶
ReasoningEffortEQ applies the EQ predicate on the "reasoning_effort" field.
func ReasoningEffortEqualFold ¶
ReasoningEffortEqualFold applies the EqualFold predicate on the "reasoning_effort" field.
func ReasoningEffortGT ¶
ReasoningEffortGT applies the GT predicate on the "reasoning_effort" field.
func ReasoningEffortGTE ¶
ReasoningEffortGTE applies the GTE predicate on the "reasoning_effort" field.
func ReasoningEffortHasPrefix ¶
ReasoningEffortHasPrefix applies the HasPrefix predicate on the "reasoning_effort" field.
func ReasoningEffortHasSuffix ¶
ReasoningEffortHasSuffix applies the HasSuffix predicate on the "reasoning_effort" field.
func ReasoningEffortIn ¶
ReasoningEffortIn applies the In predicate on the "reasoning_effort" field.
func ReasoningEffortIsNil ¶
ReasoningEffortIsNil applies the IsNil predicate on the "reasoning_effort" field.
func ReasoningEffortLT ¶
ReasoningEffortLT applies the LT predicate on the "reasoning_effort" field.
func ReasoningEffortLTE ¶
ReasoningEffortLTE applies the LTE predicate on the "reasoning_effort" field.
func ReasoningEffortNEQ ¶
ReasoningEffortNEQ applies the NEQ predicate on the "reasoning_effort" field.
func ReasoningEffortNotIn ¶
ReasoningEffortNotIn applies the NotIn predicate on the "reasoning_effort" field.
func ReasoningEffortNotNil ¶
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 ¶
RequestHeadersIsNil applies the IsNil predicate on the "request_headers" field.
func RequestHeadersNotNil ¶
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 ¶
ResponseBodyIsNil applies the IsNil predicate on the "response_body" field.
func ResponseBodyNotNil ¶
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 ¶
ResponseChunksIsNil applies the IsNil predicate on the "response_chunks" field.
func ResponseChunksNotNil ¶
ResponseChunksNotNil applies the NotNil predicate on the "response_chunks" field.
func SourceNotIn ¶
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceValidator ¶
SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func Stream ¶
Stream applies equality check predicate on the "stream" field. It's identical to StreamEQ.
func TestOriginID ¶
TestOriginID applies equality check predicate on the "test_origin_id" field. It's identical to TestOriginIDEQ.
func TestOriginIDEQ ¶
TestOriginIDEQ applies the EQ predicate on the "test_origin_id" field.
func TestOriginIDGT ¶
TestOriginIDGT applies the GT predicate on the "test_origin_id" field.
func TestOriginIDGTE ¶
TestOriginIDGTE applies the GTE predicate on the "test_origin_id" field.
func TestOriginIDIn ¶
TestOriginIDIn applies the In predicate on the "test_origin_id" field.
func TestOriginIDIsNil ¶
TestOriginIDIsNil applies the IsNil predicate on the "test_origin_id" field.
func TestOriginIDLT ¶
TestOriginIDLT applies the LT predicate on the "test_origin_id" field.
func TestOriginIDLTE ¶
TestOriginIDLTE applies the LTE predicate on the "test_origin_id" field.
func TestOriginIDNEQ ¶
TestOriginIDNEQ applies the NEQ predicate on the "test_origin_id" field.
func TestOriginIDNotIn ¶
TestOriginIDNotIn applies the NotIn predicate on the "test_origin_id" field.
func TestOriginIDNotNil ¶
TestOriginIDNotNil applies the NotNil predicate on the "test_origin_id" field.
func TestOriginLabel ¶
TestOriginLabel applies equality check predicate on the "test_origin_label" field. It's identical to TestOriginLabelEQ.
func TestOriginLabelContains ¶
TestOriginLabelContains applies the Contains predicate on the "test_origin_label" field.
func TestOriginLabelContainsFold ¶
TestOriginLabelContainsFold applies the ContainsFold predicate on the "test_origin_label" field.
func TestOriginLabelEQ ¶
TestOriginLabelEQ applies the EQ predicate on the "test_origin_label" field.
func TestOriginLabelEqualFold ¶
TestOriginLabelEqualFold applies the EqualFold predicate on the "test_origin_label" field.
func TestOriginLabelGT ¶
TestOriginLabelGT applies the GT predicate on the "test_origin_label" field.
func TestOriginLabelGTE ¶
TestOriginLabelGTE applies the GTE predicate on the "test_origin_label" field.
func TestOriginLabelHasPrefix ¶
TestOriginLabelHasPrefix applies the HasPrefix predicate on the "test_origin_label" field.
func TestOriginLabelHasSuffix ¶
TestOriginLabelHasSuffix applies the HasSuffix predicate on the "test_origin_label" field.
func TestOriginLabelIn ¶
TestOriginLabelIn applies the In predicate on the "test_origin_label" field.
func TestOriginLabelIsNil ¶
TestOriginLabelIsNil applies the IsNil predicate on the "test_origin_label" field.
func TestOriginLabelLT ¶
TestOriginLabelLT applies the LT predicate on the "test_origin_label" field.
func TestOriginLabelLTE ¶
TestOriginLabelLTE applies the LTE predicate on the "test_origin_label" field.
func TestOriginLabelNEQ ¶
TestOriginLabelNEQ applies the NEQ predicate on the "test_origin_label" field.
func TestOriginLabelNotIn ¶
TestOriginLabelNotIn applies the NotIn predicate on the "test_origin_label" field.
func TestOriginLabelNotNil ¶
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 ¶
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 ¶
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 ¶
TraceID applies equality check predicate on the "trace_id" field. It's identical to TraceIDEQ.
func TraceIDIsNil ¶
TraceIDIsNil applies the IsNil 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).
Types ¶
type OrderOption ¶
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" )
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" )
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" 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 ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Source) UnmarshalGQL ¶
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 ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Status) UnmarshalGQL ¶
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.