Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LogChatHistoriesRecap) predicate.LogChatHistoriesRecap
- func ChatID(v int64) predicate.LogChatHistoriesRecap
- func ChatIDEQ(v int64) predicate.LogChatHistoriesRecap
- func ChatIDGT(v int64) predicate.LogChatHistoriesRecap
- func ChatIDGTE(v int64) predicate.LogChatHistoriesRecap
- func ChatIDIn(vs ...int64) predicate.LogChatHistoriesRecap
- func ChatIDLT(v int64) predicate.LogChatHistoriesRecap
- func ChatIDLTE(v int64) predicate.LogChatHistoriesRecap
- func ChatIDNEQ(v int64) predicate.LogChatHistoriesRecap
- func ChatIDNotIn(vs ...int64) predicate.LogChatHistoriesRecap
- func CompletionTokenUsage(v int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageEQ(v int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageGT(v int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageGTE(v int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageIn(vs ...int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageLT(v int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageLTE(v int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageNEQ(v int) predicate.LogChatHistoriesRecap
- func CompletionTokenUsageNotIn(vs ...int) predicate.LogChatHistoriesRecap
- func CreatedAt(v int64) predicate.LogChatHistoriesRecap
- func CreatedAtEQ(v int64) predicate.LogChatHistoriesRecap
- func CreatedAtGT(v int64) predicate.LogChatHistoriesRecap
- func CreatedAtGTE(v int64) predicate.LogChatHistoriesRecap
- func CreatedAtIn(vs ...int64) predicate.LogChatHistoriesRecap
- func CreatedAtLT(v int64) predicate.LogChatHistoriesRecap
- func CreatedAtLTE(v int64) predicate.LogChatHistoriesRecap
- func CreatedAtNEQ(v int64) predicate.LogChatHistoriesRecap
- func CreatedAtNotIn(vs ...int64) predicate.LogChatHistoriesRecap
- func FromPlatform(v int) predicate.LogChatHistoriesRecap
- func FromPlatformEQ(v int) predicate.LogChatHistoriesRecap
- func FromPlatformGT(v int) predicate.LogChatHistoriesRecap
- func FromPlatformGTE(v int) predicate.LogChatHistoriesRecap
- func FromPlatformIn(vs ...int) predicate.LogChatHistoriesRecap
- func FromPlatformLT(v int) predicate.LogChatHistoriesRecap
- func FromPlatformLTE(v int) predicate.LogChatHistoriesRecap
- func FromPlatformNEQ(v int) predicate.LogChatHistoriesRecap
- func FromPlatformNotIn(vs ...int) predicate.LogChatHistoriesRecap
- func ID(id uuid.UUID) predicate.LogChatHistoriesRecap
- func IDEQ(id uuid.UUID) predicate.LogChatHistoriesRecap
- func IDGT(id uuid.UUID) predicate.LogChatHistoriesRecap
- func IDGTE(id uuid.UUID) predicate.LogChatHistoriesRecap
- func IDIn(ids ...uuid.UUID) predicate.LogChatHistoriesRecap
- func IDLT(id uuid.UUID) predicate.LogChatHistoriesRecap
- func IDLTE(id uuid.UUID) predicate.LogChatHistoriesRecap
- func IDNEQ(id uuid.UUID) predicate.LogChatHistoriesRecap
- func IDNotIn(ids ...uuid.UUID) predicate.LogChatHistoriesRecap
- func ModelName(v string) predicate.LogChatHistoriesRecap
- func ModelNameContains(v string) predicate.LogChatHistoriesRecap
- func ModelNameContainsFold(v string) predicate.LogChatHistoriesRecap
- func ModelNameEQ(v string) predicate.LogChatHistoriesRecap
- func ModelNameEqualFold(v string) predicate.LogChatHistoriesRecap
- func ModelNameGT(v string) predicate.LogChatHistoriesRecap
- func ModelNameGTE(v string) predicate.LogChatHistoriesRecap
- func ModelNameHasPrefix(v string) predicate.LogChatHistoriesRecap
- func ModelNameHasSuffix(v string) predicate.LogChatHistoriesRecap
- func ModelNameIn(vs ...string) predicate.LogChatHistoriesRecap
- func ModelNameLT(v string) predicate.LogChatHistoriesRecap
- func ModelNameLTE(v string) predicate.LogChatHistoriesRecap
- func ModelNameNEQ(v string) predicate.LogChatHistoriesRecap
- func ModelNameNotIn(vs ...string) predicate.LogChatHistoriesRecap
- func Not(p predicate.LogChatHistoriesRecap) predicate.LogChatHistoriesRecap
- func Or(predicates ...predicate.LogChatHistoriesRecap) predicate.LogChatHistoriesRecap
- func PromptTokenUsage(v int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageEQ(v int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageGT(v int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageGTE(v int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageIn(vs ...int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageLT(v int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageLTE(v int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageNEQ(v int) predicate.LogChatHistoriesRecap
- func PromptTokenUsageNotIn(vs ...int) predicate.LogChatHistoriesRecap
- func RecapInputs(v string) predicate.LogChatHistoriesRecap
- func RecapInputsContains(v string) predicate.LogChatHistoriesRecap
- func RecapInputsContainsFold(v string) predicate.LogChatHistoriesRecap
- func RecapInputsEQ(v string) predicate.LogChatHistoriesRecap
- func RecapInputsEqualFold(v string) predicate.LogChatHistoriesRecap
- func RecapInputsGT(v string) predicate.LogChatHistoriesRecap
- func RecapInputsGTE(v string) predicate.LogChatHistoriesRecap
- func RecapInputsHasPrefix(v string) predicate.LogChatHistoriesRecap
- func RecapInputsHasSuffix(v string) predicate.LogChatHistoriesRecap
- func RecapInputsIn(vs ...string) predicate.LogChatHistoriesRecap
- func RecapInputsLT(v string) predicate.LogChatHistoriesRecap
- func RecapInputsLTE(v string) predicate.LogChatHistoriesRecap
- func RecapInputsNEQ(v string) predicate.LogChatHistoriesRecap
- func RecapInputsNotIn(vs ...string) predicate.LogChatHistoriesRecap
- func RecapOutputs(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsContains(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsContainsFold(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsEQ(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsEqualFold(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsGT(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsGTE(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsHasPrefix(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsHasSuffix(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsIn(vs ...string) predicate.LogChatHistoriesRecap
- func RecapOutputsLT(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsLTE(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsNEQ(v string) predicate.LogChatHistoriesRecap
- func RecapOutputsNotIn(vs ...string) predicate.LogChatHistoriesRecap
- func RecapType(v int) predicate.LogChatHistoriesRecap
- func RecapTypeEQ(v int) predicate.LogChatHistoriesRecap
- func RecapTypeGT(v int) predicate.LogChatHistoriesRecap
- func RecapTypeGTE(v int) predicate.LogChatHistoriesRecap
- func RecapTypeIn(vs ...int) predicate.LogChatHistoriesRecap
- func RecapTypeLT(v int) predicate.LogChatHistoriesRecap
- func RecapTypeLTE(v int) predicate.LogChatHistoriesRecap
- func RecapTypeNEQ(v int) predicate.LogChatHistoriesRecap
- func RecapTypeNotIn(vs ...int) predicate.LogChatHistoriesRecap
- func TotalTokenUsage(v int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageEQ(v int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageGT(v int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageGTE(v int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageIn(vs ...int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageLT(v int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageLTE(v int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageNEQ(v int) predicate.LogChatHistoriesRecap
- func TotalTokenUsageNotIn(vs ...int) predicate.LogChatHistoriesRecap
- func UpdatedAt(v int64) predicate.LogChatHistoriesRecap
- func UpdatedAtEQ(v int64) predicate.LogChatHistoriesRecap
- func UpdatedAtGT(v int64) predicate.LogChatHistoriesRecap
- func UpdatedAtGTE(v int64) predicate.LogChatHistoriesRecap
- func UpdatedAtIn(vs ...int64) predicate.LogChatHistoriesRecap
- func UpdatedAtLT(v int64) predicate.LogChatHistoriesRecap
- func UpdatedAtLTE(v int64) predicate.LogChatHistoriesRecap
- func UpdatedAtNEQ(v int64) predicate.LogChatHistoriesRecap
- func UpdatedAtNotIn(vs ...int64) predicate.LogChatHistoriesRecap
- func ValidColumn(column string) bool
- type OrderOption
- func ByChatID(opts ...sql.OrderTermOption) OrderOption
- func ByCompletionTokenUsage(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByFromPlatform(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByModelName(opts ...sql.OrderTermOption) OrderOption
- func ByPromptTokenUsage(opts ...sql.OrderTermOption) OrderOption
- func ByRecapInputs(opts ...sql.OrderTermOption) OrderOption
- func ByRecapOutputs(opts ...sql.OrderTermOption) OrderOption
- func ByRecapType(opts ...sql.OrderTermOption) OrderOption
- func ByTotalTokenUsage(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the logchathistoriesrecap type in the database. Label = "log_chat_histories_recap" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldChatID holds the string denoting the chat_id field in the database. FieldChatID = "chat_id" // FieldRecapInputs holds the string denoting the recap_inputs field in the database. FieldRecapInputs = "recap_inputs" // FieldRecapOutputs holds the string denoting the recap_outputs field in the database. FieldRecapOutputs = "recap_outputs" // FieldFromPlatform holds the string denoting the from_platform field in the database. FieldFromPlatform = "from_platform" // FieldPromptTokenUsage holds the string denoting the prompt_token_usage field in the database. FieldPromptTokenUsage = "prompt_token_usage" // FieldCompletionTokenUsage holds the string denoting the completion_token_usage field in the database. FieldCompletionTokenUsage = "completion_token_usage" // FieldTotalTokenUsage holds the string denoting the total_token_usage field in the database. FieldTotalTokenUsage = "total_token_usage" // FieldRecapType holds the string denoting the recap_type field in the database. FieldRecapType = "recap_type" // FieldModelName holds the string denoting the model_name field in the database. FieldModelName = "model_name" // 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" // Table holds the table name of the logchathistoriesrecap in the database. Table = "log_chat_histories_recaps" )
Variables ¶
var ( // DefaultChatID holds the default value on creation for the "chat_id" field. DefaultChatID int64 // DefaultRecapInputs holds the default value on creation for the "recap_inputs" field. DefaultRecapInputs string // DefaultRecapOutputs holds the default value on creation for the "recap_outputs" field. DefaultRecapOutputs string // DefaultFromPlatform holds the default value on creation for the "from_platform" field. DefaultFromPlatform int // DefaultPromptTokenUsage holds the default value on creation for the "prompt_token_usage" field. DefaultPromptTokenUsage int // DefaultCompletionTokenUsage holds the default value on creation for the "completion_token_usage" field. DefaultCompletionTokenUsage int // DefaultTotalTokenUsage holds the default value on creation for the "total_token_usage" field. DefaultTotalTokenUsage int // DefaultRecapType holds the default value on creation for the "recap_type" field. DefaultRecapType int // DefaultModelName holds the default value on creation for the "model_name" field. DefaultModelName string // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() int64 // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() int64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldChatID, FieldRecapInputs, FieldRecapOutputs, FieldFromPlatform, FieldPromptTokenUsage, FieldCompletionTokenUsage, FieldTotalTokenUsage, FieldRecapType, FieldModelName, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for logchathistoriesrecap fields.
Functions ¶
func And ¶
func And(predicates ...predicate.LogChatHistoriesRecap) predicate.LogChatHistoriesRecap
And groups predicates with the AND operator between them.
func ChatID ¶
func ChatID(v int64) predicate.LogChatHistoriesRecap
ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.
func ChatIDEQ ¶
func ChatIDEQ(v int64) predicate.LogChatHistoriesRecap
ChatIDEQ applies the EQ predicate on the "chat_id" field.
func ChatIDGT ¶
func ChatIDGT(v int64) predicate.LogChatHistoriesRecap
ChatIDGT applies the GT predicate on the "chat_id" field.
func ChatIDGTE ¶
func ChatIDGTE(v int64) predicate.LogChatHistoriesRecap
ChatIDGTE applies the GTE predicate on the "chat_id" field.
func ChatIDIn ¶
func ChatIDIn(vs ...int64) predicate.LogChatHistoriesRecap
ChatIDIn applies the In predicate on the "chat_id" field.
func ChatIDLT ¶
func ChatIDLT(v int64) predicate.LogChatHistoriesRecap
ChatIDLT applies the LT predicate on the "chat_id" field.
func ChatIDLTE ¶
func ChatIDLTE(v int64) predicate.LogChatHistoriesRecap
ChatIDLTE applies the LTE predicate on the "chat_id" field.
func ChatIDNEQ ¶
func ChatIDNEQ(v int64) predicate.LogChatHistoriesRecap
ChatIDNEQ applies the NEQ predicate on the "chat_id" field.
func ChatIDNotIn ¶
func ChatIDNotIn(vs ...int64) predicate.LogChatHistoriesRecap
ChatIDNotIn applies the NotIn predicate on the "chat_id" field.
func CompletionTokenUsage ¶
func CompletionTokenUsage(v int) predicate.LogChatHistoriesRecap
CompletionTokenUsage applies equality check predicate on the "completion_token_usage" field. It's identical to CompletionTokenUsageEQ.
func CompletionTokenUsageEQ ¶
func CompletionTokenUsageEQ(v int) predicate.LogChatHistoriesRecap
CompletionTokenUsageEQ applies the EQ predicate on the "completion_token_usage" field.
func CompletionTokenUsageGT ¶
func CompletionTokenUsageGT(v int) predicate.LogChatHistoriesRecap
CompletionTokenUsageGT applies the GT predicate on the "completion_token_usage" field.
func CompletionTokenUsageGTE ¶
func CompletionTokenUsageGTE(v int) predicate.LogChatHistoriesRecap
CompletionTokenUsageGTE applies the GTE predicate on the "completion_token_usage" field.
func CompletionTokenUsageIn ¶
func CompletionTokenUsageIn(vs ...int) predicate.LogChatHistoriesRecap
CompletionTokenUsageIn applies the In predicate on the "completion_token_usage" field.
func CompletionTokenUsageLT ¶
func CompletionTokenUsageLT(v int) predicate.LogChatHistoriesRecap
CompletionTokenUsageLT applies the LT predicate on the "completion_token_usage" field.
func CompletionTokenUsageLTE ¶
func CompletionTokenUsageLTE(v int) predicate.LogChatHistoriesRecap
CompletionTokenUsageLTE applies the LTE predicate on the "completion_token_usage" field.
func CompletionTokenUsageNEQ ¶
func CompletionTokenUsageNEQ(v int) predicate.LogChatHistoriesRecap
CompletionTokenUsageNEQ applies the NEQ predicate on the "completion_token_usage" field.
func CompletionTokenUsageNotIn ¶
func CompletionTokenUsageNotIn(vs ...int) predicate.LogChatHistoriesRecap
CompletionTokenUsageNotIn applies the NotIn predicate on the "completion_token_usage" field.
func CreatedAt ¶
func CreatedAt(v int64) predicate.LogChatHistoriesRecap
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v int64) predicate.LogChatHistoriesRecap
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v int64) predicate.LogChatHistoriesRecap
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v int64) predicate.LogChatHistoriesRecap
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...int64) predicate.LogChatHistoriesRecap
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v int64) predicate.LogChatHistoriesRecap
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v int64) predicate.LogChatHistoriesRecap
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v int64) predicate.LogChatHistoriesRecap
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...int64) predicate.LogChatHistoriesRecap
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func FromPlatform ¶
func FromPlatform(v int) predicate.LogChatHistoriesRecap
FromPlatform applies equality check predicate on the "from_platform" field. It's identical to FromPlatformEQ.
func FromPlatformEQ ¶
func FromPlatformEQ(v int) predicate.LogChatHistoriesRecap
FromPlatformEQ applies the EQ predicate on the "from_platform" field.
func FromPlatformGT ¶
func FromPlatformGT(v int) predicate.LogChatHistoriesRecap
FromPlatformGT applies the GT predicate on the "from_platform" field.
func FromPlatformGTE ¶
func FromPlatformGTE(v int) predicate.LogChatHistoriesRecap
FromPlatformGTE applies the GTE predicate on the "from_platform" field.
func FromPlatformIn ¶
func FromPlatformIn(vs ...int) predicate.LogChatHistoriesRecap
FromPlatformIn applies the In predicate on the "from_platform" field.
func FromPlatformLT ¶
func FromPlatformLT(v int) predicate.LogChatHistoriesRecap
FromPlatformLT applies the LT predicate on the "from_platform" field.
func FromPlatformLTE ¶
func FromPlatformLTE(v int) predicate.LogChatHistoriesRecap
FromPlatformLTE applies the LTE predicate on the "from_platform" field.
func FromPlatformNEQ ¶
func FromPlatformNEQ(v int) predicate.LogChatHistoriesRecap
FromPlatformNEQ applies the NEQ predicate on the "from_platform" field.
func FromPlatformNotIn ¶
func FromPlatformNotIn(vs ...int) predicate.LogChatHistoriesRecap
FromPlatformNotIn applies the NotIn predicate on the "from_platform" field.
func ID ¶
func ID(id uuid.UUID) predicate.LogChatHistoriesRecap
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.LogChatHistoriesRecap
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.LogChatHistoriesRecap
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.LogChatHistoriesRecap
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.LogChatHistoriesRecap
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.LogChatHistoriesRecap
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.LogChatHistoriesRecap
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.LogChatHistoriesRecap
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.LogChatHistoriesRecap
IDNotIn applies the NotIn predicate on the ID field.
func ModelName ¶ added in v0.18.0
func ModelName(v string) predicate.LogChatHistoriesRecap
ModelName applies equality check predicate on the "model_name" field. It's identical to ModelNameEQ.
func ModelNameContains ¶ added in v0.18.0
func ModelNameContains(v string) predicate.LogChatHistoriesRecap
ModelNameContains applies the Contains predicate on the "model_name" field.
func ModelNameContainsFold ¶ added in v0.18.0
func ModelNameContainsFold(v string) predicate.LogChatHistoriesRecap
ModelNameContainsFold applies the ContainsFold predicate on the "model_name" field.
func ModelNameEQ ¶ added in v0.18.0
func ModelNameEQ(v string) predicate.LogChatHistoriesRecap
ModelNameEQ applies the EQ predicate on the "model_name" field.
func ModelNameEqualFold ¶ added in v0.18.0
func ModelNameEqualFold(v string) predicate.LogChatHistoriesRecap
ModelNameEqualFold applies the EqualFold predicate on the "model_name" field.
func ModelNameGT ¶ added in v0.18.0
func ModelNameGT(v string) predicate.LogChatHistoriesRecap
ModelNameGT applies the GT predicate on the "model_name" field.
func ModelNameGTE ¶ added in v0.18.0
func ModelNameGTE(v string) predicate.LogChatHistoriesRecap
ModelNameGTE applies the GTE predicate on the "model_name" field.
func ModelNameHasPrefix ¶ added in v0.18.0
func ModelNameHasPrefix(v string) predicate.LogChatHistoriesRecap
ModelNameHasPrefix applies the HasPrefix predicate on the "model_name" field.
func ModelNameHasSuffix ¶ added in v0.18.0
func ModelNameHasSuffix(v string) predicate.LogChatHistoriesRecap
ModelNameHasSuffix applies the HasSuffix predicate on the "model_name" field.
func ModelNameIn ¶ added in v0.18.0
func ModelNameIn(vs ...string) predicate.LogChatHistoriesRecap
ModelNameIn applies the In predicate on the "model_name" field.
func ModelNameLT ¶ added in v0.18.0
func ModelNameLT(v string) predicate.LogChatHistoriesRecap
ModelNameLT applies the LT predicate on the "model_name" field.
func ModelNameLTE ¶ added in v0.18.0
func ModelNameLTE(v string) predicate.LogChatHistoriesRecap
ModelNameLTE applies the LTE predicate on the "model_name" field.
func ModelNameNEQ ¶ added in v0.18.0
func ModelNameNEQ(v string) predicate.LogChatHistoriesRecap
ModelNameNEQ applies the NEQ predicate on the "model_name" field.
func ModelNameNotIn ¶ added in v0.18.0
func ModelNameNotIn(vs ...string) predicate.LogChatHistoriesRecap
ModelNameNotIn applies the NotIn predicate on the "model_name" field.
func Not ¶
func Not(p predicate.LogChatHistoriesRecap) predicate.LogChatHistoriesRecap
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.LogChatHistoriesRecap) predicate.LogChatHistoriesRecap
Or groups predicates with the OR operator between them.
func PromptTokenUsage ¶
func PromptTokenUsage(v int) predicate.LogChatHistoriesRecap
PromptTokenUsage applies equality check predicate on the "prompt_token_usage" field. It's identical to PromptTokenUsageEQ.
func PromptTokenUsageEQ ¶
func PromptTokenUsageEQ(v int) predicate.LogChatHistoriesRecap
PromptTokenUsageEQ applies the EQ predicate on the "prompt_token_usage" field.
func PromptTokenUsageGT ¶
func PromptTokenUsageGT(v int) predicate.LogChatHistoriesRecap
PromptTokenUsageGT applies the GT predicate on the "prompt_token_usage" field.
func PromptTokenUsageGTE ¶
func PromptTokenUsageGTE(v int) predicate.LogChatHistoriesRecap
PromptTokenUsageGTE applies the GTE predicate on the "prompt_token_usage" field.
func PromptTokenUsageIn ¶
func PromptTokenUsageIn(vs ...int) predicate.LogChatHistoriesRecap
PromptTokenUsageIn applies the In predicate on the "prompt_token_usage" field.
func PromptTokenUsageLT ¶
func PromptTokenUsageLT(v int) predicate.LogChatHistoriesRecap
PromptTokenUsageLT applies the LT predicate on the "prompt_token_usage" field.
func PromptTokenUsageLTE ¶
func PromptTokenUsageLTE(v int) predicate.LogChatHistoriesRecap
PromptTokenUsageLTE applies the LTE predicate on the "prompt_token_usage" field.
func PromptTokenUsageNEQ ¶
func PromptTokenUsageNEQ(v int) predicate.LogChatHistoriesRecap
PromptTokenUsageNEQ applies the NEQ predicate on the "prompt_token_usage" field.
func PromptTokenUsageNotIn ¶
func PromptTokenUsageNotIn(vs ...int) predicate.LogChatHistoriesRecap
PromptTokenUsageNotIn applies the NotIn predicate on the "prompt_token_usage" field.
func RecapInputs ¶
func RecapInputs(v string) predicate.LogChatHistoriesRecap
RecapInputs applies equality check predicate on the "recap_inputs" field. It's identical to RecapInputsEQ.
func RecapInputsContains ¶
func RecapInputsContains(v string) predicate.LogChatHistoriesRecap
RecapInputsContains applies the Contains predicate on the "recap_inputs" field.
func RecapInputsContainsFold ¶
func RecapInputsContainsFold(v string) predicate.LogChatHistoriesRecap
RecapInputsContainsFold applies the ContainsFold predicate on the "recap_inputs" field.
func RecapInputsEQ ¶
func RecapInputsEQ(v string) predicate.LogChatHistoriesRecap
RecapInputsEQ applies the EQ predicate on the "recap_inputs" field.
func RecapInputsEqualFold ¶
func RecapInputsEqualFold(v string) predicate.LogChatHistoriesRecap
RecapInputsEqualFold applies the EqualFold predicate on the "recap_inputs" field.
func RecapInputsGT ¶
func RecapInputsGT(v string) predicate.LogChatHistoriesRecap
RecapInputsGT applies the GT predicate on the "recap_inputs" field.
func RecapInputsGTE ¶
func RecapInputsGTE(v string) predicate.LogChatHistoriesRecap
RecapInputsGTE applies the GTE predicate on the "recap_inputs" field.
func RecapInputsHasPrefix ¶
func RecapInputsHasPrefix(v string) predicate.LogChatHistoriesRecap
RecapInputsHasPrefix applies the HasPrefix predicate on the "recap_inputs" field.
func RecapInputsHasSuffix ¶
func RecapInputsHasSuffix(v string) predicate.LogChatHistoriesRecap
RecapInputsHasSuffix applies the HasSuffix predicate on the "recap_inputs" field.
func RecapInputsIn ¶
func RecapInputsIn(vs ...string) predicate.LogChatHistoriesRecap
RecapInputsIn applies the In predicate on the "recap_inputs" field.
func RecapInputsLT ¶
func RecapInputsLT(v string) predicate.LogChatHistoriesRecap
RecapInputsLT applies the LT predicate on the "recap_inputs" field.
func RecapInputsLTE ¶
func RecapInputsLTE(v string) predicate.LogChatHistoriesRecap
RecapInputsLTE applies the LTE predicate on the "recap_inputs" field.
func RecapInputsNEQ ¶
func RecapInputsNEQ(v string) predicate.LogChatHistoriesRecap
RecapInputsNEQ applies the NEQ predicate on the "recap_inputs" field.
func RecapInputsNotIn ¶
func RecapInputsNotIn(vs ...string) predicate.LogChatHistoriesRecap
RecapInputsNotIn applies the NotIn predicate on the "recap_inputs" field.
func RecapOutputs ¶
func RecapOutputs(v string) predicate.LogChatHistoriesRecap
RecapOutputs applies equality check predicate on the "recap_outputs" field. It's identical to RecapOutputsEQ.
func RecapOutputsContains ¶
func RecapOutputsContains(v string) predicate.LogChatHistoriesRecap
RecapOutputsContains applies the Contains predicate on the "recap_outputs" field.
func RecapOutputsContainsFold ¶
func RecapOutputsContainsFold(v string) predicate.LogChatHistoriesRecap
RecapOutputsContainsFold applies the ContainsFold predicate on the "recap_outputs" field.
func RecapOutputsEQ ¶
func RecapOutputsEQ(v string) predicate.LogChatHistoriesRecap
RecapOutputsEQ applies the EQ predicate on the "recap_outputs" field.
func RecapOutputsEqualFold ¶
func RecapOutputsEqualFold(v string) predicate.LogChatHistoriesRecap
RecapOutputsEqualFold applies the EqualFold predicate on the "recap_outputs" field.
func RecapOutputsGT ¶
func RecapOutputsGT(v string) predicate.LogChatHistoriesRecap
RecapOutputsGT applies the GT predicate on the "recap_outputs" field.
func RecapOutputsGTE ¶
func RecapOutputsGTE(v string) predicate.LogChatHistoriesRecap
RecapOutputsGTE applies the GTE predicate on the "recap_outputs" field.
func RecapOutputsHasPrefix ¶
func RecapOutputsHasPrefix(v string) predicate.LogChatHistoriesRecap
RecapOutputsHasPrefix applies the HasPrefix predicate on the "recap_outputs" field.
func RecapOutputsHasSuffix ¶
func RecapOutputsHasSuffix(v string) predicate.LogChatHistoriesRecap
RecapOutputsHasSuffix applies the HasSuffix predicate on the "recap_outputs" field.
func RecapOutputsIn ¶
func RecapOutputsIn(vs ...string) predicate.LogChatHistoriesRecap
RecapOutputsIn applies the In predicate on the "recap_outputs" field.
func RecapOutputsLT ¶
func RecapOutputsLT(v string) predicate.LogChatHistoriesRecap
RecapOutputsLT applies the LT predicate on the "recap_outputs" field.
func RecapOutputsLTE ¶
func RecapOutputsLTE(v string) predicate.LogChatHistoriesRecap
RecapOutputsLTE applies the LTE predicate on the "recap_outputs" field.
func RecapOutputsNEQ ¶
func RecapOutputsNEQ(v string) predicate.LogChatHistoriesRecap
RecapOutputsNEQ applies the NEQ predicate on the "recap_outputs" field.
func RecapOutputsNotIn ¶
func RecapOutputsNotIn(vs ...string) predicate.LogChatHistoriesRecap
RecapOutputsNotIn applies the NotIn predicate on the "recap_outputs" field.
func RecapType ¶ added in v0.14.0
func RecapType(v int) predicate.LogChatHistoriesRecap
RecapType applies equality check predicate on the "recap_type" field. It's identical to RecapTypeEQ.
func RecapTypeEQ ¶ added in v0.14.0
func RecapTypeEQ(v int) predicate.LogChatHistoriesRecap
RecapTypeEQ applies the EQ predicate on the "recap_type" field.
func RecapTypeGT ¶ added in v0.14.0
func RecapTypeGT(v int) predicate.LogChatHistoriesRecap
RecapTypeGT applies the GT predicate on the "recap_type" field.
func RecapTypeGTE ¶ added in v0.14.0
func RecapTypeGTE(v int) predicate.LogChatHistoriesRecap
RecapTypeGTE applies the GTE predicate on the "recap_type" field.
func RecapTypeIn ¶ added in v0.14.0
func RecapTypeIn(vs ...int) predicate.LogChatHistoriesRecap
RecapTypeIn applies the In predicate on the "recap_type" field.
func RecapTypeLT ¶ added in v0.14.0
func RecapTypeLT(v int) predicate.LogChatHistoriesRecap
RecapTypeLT applies the LT predicate on the "recap_type" field.
func RecapTypeLTE ¶ added in v0.14.0
func RecapTypeLTE(v int) predicate.LogChatHistoriesRecap
RecapTypeLTE applies the LTE predicate on the "recap_type" field.
func RecapTypeNEQ ¶ added in v0.14.0
func RecapTypeNEQ(v int) predicate.LogChatHistoriesRecap
RecapTypeNEQ applies the NEQ predicate on the "recap_type" field.
func RecapTypeNotIn ¶ added in v0.14.0
func RecapTypeNotIn(vs ...int) predicate.LogChatHistoriesRecap
RecapTypeNotIn applies the NotIn predicate on the "recap_type" field.
func TotalTokenUsage ¶
func TotalTokenUsage(v int) predicate.LogChatHistoriesRecap
TotalTokenUsage applies equality check predicate on the "total_token_usage" field. It's identical to TotalTokenUsageEQ.
func TotalTokenUsageEQ ¶
func TotalTokenUsageEQ(v int) predicate.LogChatHistoriesRecap
TotalTokenUsageEQ applies the EQ predicate on the "total_token_usage" field.
func TotalTokenUsageGT ¶
func TotalTokenUsageGT(v int) predicate.LogChatHistoriesRecap
TotalTokenUsageGT applies the GT predicate on the "total_token_usage" field.
func TotalTokenUsageGTE ¶
func TotalTokenUsageGTE(v int) predicate.LogChatHistoriesRecap
TotalTokenUsageGTE applies the GTE predicate on the "total_token_usage" field.
func TotalTokenUsageIn ¶
func TotalTokenUsageIn(vs ...int) predicate.LogChatHistoriesRecap
TotalTokenUsageIn applies the In predicate on the "total_token_usage" field.
func TotalTokenUsageLT ¶
func TotalTokenUsageLT(v int) predicate.LogChatHistoriesRecap
TotalTokenUsageLT applies the LT predicate on the "total_token_usage" field.
func TotalTokenUsageLTE ¶
func TotalTokenUsageLTE(v int) predicate.LogChatHistoriesRecap
TotalTokenUsageLTE applies the LTE predicate on the "total_token_usage" field.
func TotalTokenUsageNEQ ¶
func TotalTokenUsageNEQ(v int) predicate.LogChatHistoriesRecap
TotalTokenUsageNEQ applies the NEQ predicate on the "total_token_usage" field.
func TotalTokenUsageNotIn ¶
func TotalTokenUsageNotIn(vs ...int) predicate.LogChatHistoriesRecap
TotalTokenUsageNotIn applies the NotIn predicate on the "total_token_usage" field.
func UpdatedAt ¶
func UpdatedAt(v int64) predicate.LogChatHistoriesRecap
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v int64) predicate.LogChatHistoriesRecap
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v int64) predicate.LogChatHistoriesRecap
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v int64) predicate.LogChatHistoriesRecap
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...int64) predicate.LogChatHistoriesRecap
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v int64) predicate.LogChatHistoriesRecap
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v int64) predicate.LogChatHistoriesRecap
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v int64) predicate.LogChatHistoriesRecap
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...int64) predicate.LogChatHistoriesRecap
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 LogChatHistoriesRecap queries.
func ByChatID ¶
func ByChatID(opts ...sql.OrderTermOption) OrderOption
ByChatID orders the results by the chat_id field.
func ByCompletionTokenUsage ¶
func ByCompletionTokenUsage(opts ...sql.OrderTermOption) OrderOption
ByCompletionTokenUsage orders the results by the completion_token_usage field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByFromPlatform ¶
func ByFromPlatform(opts ...sql.OrderTermOption) OrderOption
ByFromPlatform orders the results by the from_platform field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByModelName ¶ added in v0.18.0
func ByModelName(opts ...sql.OrderTermOption) OrderOption
ByModelName orders the results by the model_name field.
func ByPromptTokenUsage ¶
func ByPromptTokenUsage(opts ...sql.OrderTermOption) OrderOption
ByPromptTokenUsage orders the results by the prompt_token_usage field.
func ByRecapInputs ¶
func ByRecapInputs(opts ...sql.OrderTermOption) OrderOption
ByRecapInputs orders the results by the recap_inputs field.
func ByRecapOutputs ¶
func ByRecapOutputs(opts ...sql.OrderTermOption) OrderOption
ByRecapOutputs orders the results by the recap_outputs field.
func ByRecapType ¶ added in v0.14.0
func ByRecapType(opts ...sql.OrderTermOption) OrderOption
ByRecapType orders the results by the recap_type field.
func ByTotalTokenUsage ¶
func ByTotalTokenUsage(opts ...sql.OrderTermOption) OrderOption
ByTotalTokenUsage orders the results by the total_token_usage field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.