logsummarizations

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the logsummarizations type in the database.
	Label = "log_summarizations"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldContentURL holds the string denoting the content_url field in the database.
	FieldContentURL = "content_url"
	// FieldContentTitle holds the string denoting the content_title field in the database.
	FieldContentTitle = "content_title"
	// FieldContentAuthor holds the string denoting the content_author field in the database.
	FieldContentAuthor = "content_author"
	// FieldContentText holds the string denoting the content_text field in the database.
	FieldContentText = "content_text"
	// FieldContentSummarizedOutputs holds the string denoting the content_summarized_outputs field in the database.
	FieldContentSummarizedOutputs = "content_summarized_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"
	// 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 logsummarizations in the database.
	Table = "log_summarizations"
)

Variables

View Source
var (
	// DefaultContentURL holds the default value on creation for the "content_url" field.
	DefaultContentURL string
	// DefaultContentTitle holds the default value on creation for the "content_title" field.
	DefaultContentTitle string
	// DefaultContentAuthor holds the default value on creation for the "content_author" field.
	DefaultContentAuthor string
	// DefaultContentText holds the default value on creation for the "content_text" field.
	DefaultContentText string
	// DefaultContentSummarizedOutputs holds the default value on creation for the "content_summarized_outputs" field.
	DefaultContentSummarizedOutputs 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
	// 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
)

Columns holds all SQL columns for logsummarizations fields.

Functions

func And

And groups predicates with the AND operator between them.

func CompletionTokenUsage

func CompletionTokenUsage(v int) predicate.LogSummarizations

CompletionTokenUsage applies equality check predicate on the "completion_token_usage" field. It's identical to CompletionTokenUsageEQ.

func CompletionTokenUsageEQ

func CompletionTokenUsageEQ(v int) predicate.LogSummarizations

CompletionTokenUsageEQ applies the EQ predicate on the "completion_token_usage" field.

func CompletionTokenUsageGT

func CompletionTokenUsageGT(v int) predicate.LogSummarizations

CompletionTokenUsageGT applies the GT predicate on the "completion_token_usage" field.

func CompletionTokenUsageGTE

func CompletionTokenUsageGTE(v int) predicate.LogSummarizations

CompletionTokenUsageGTE applies the GTE predicate on the "completion_token_usage" field.

func CompletionTokenUsageIn

func CompletionTokenUsageIn(vs ...int) predicate.LogSummarizations

CompletionTokenUsageIn applies the In predicate on the "completion_token_usage" field.

func CompletionTokenUsageLT

func CompletionTokenUsageLT(v int) predicate.LogSummarizations

CompletionTokenUsageLT applies the LT predicate on the "completion_token_usage" field.

func CompletionTokenUsageLTE

func CompletionTokenUsageLTE(v int) predicate.LogSummarizations

CompletionTokenUsageLTE applies the LTE predicate on the "completion_token_usage" field.

func CompletionTokenUsageNEQ

func CompletionTokenUsageNEQ(v int) predicate.LogSummarizations

CompletionTokenUsageNEQ applies the NEQ predicate on the "completion_token_usage" field.

func CompletionTokenUsageNotIn

func CompletionTokenUsageNotIn(vs ...int) predicate.LogSummarizations

CompletionTokenUsageNotIn applies the NotIn predicate on the "completion_token_usage" field.

func ContentAuthor

func ContentAuthor(v string) predicate.LogSummarizations

ContentAuthor applies equality check predicate on the "content_author" field. It's identical to ContentAuthorEQ.

func ContentAuthorContains

func ContentAuthorContains(v string) predicate.LogSummarizations

ContentAuthorContains applies the Contains predicate on the "content_author" field.

func ContentAuthorContainsFold

func ContentAuthorContainsFold(v string) predicate.LogSummarizations

ContentAuthorContainsFold applies the ContainsFold predicate on the "content_author" field.

func ContentAuthorEQ

func ContentAuthorEQ(v string) predicate.LogSummarizations

ContentAuthorEQ applies the EQ predicate on the "content_author" field.

func ContentAuthorEqualFold

func ContentAuthorEqualFold(v string) predicate.LogSummarizations

ContentAuthorEqualFold applies the EqualFold predicate on the "content_author" field.

func ContentAuthorGT

func ContentAuthorGT(v string) predicate.LogSummarizations

ContentAuthorGT applies the GT predicate on the "content_author" field.

func ContentAuthorGTE

func ContentAuthorGTE(v string) predicate.LogSummarizations

ContentAuthorGTE applies the GTE predicate on the "content_author" field.

func ContentAuthorHasPrefix

func ContentAuthorHasPrefix(v string) predicate.LogSummarizations

ContentAuthorHasPrefix applies the HasPrefix predicate on the "content_author" field.

func ContentAuthorHasSuffix

func ContentAuthorHasSuffix(v string) predicate.LogSummarizations

ContentAuthorHasSuffix applies the HasSuffix predicate on the "content_author" field.

func ContentAuthorIn

func ContentAuthorIn(vs ...string) predicate.LogSummarizations

ContentAuthorIn applies the In predicate on the "content_author" field.

func ContentAuthorLT

func ContentAuthorLT(v string) predicate.LogSummarizations

ContentAuthorLT applies the LT predicate on the "content_author" field.

func ContentAuthorLTE

func ContentAuthorLTE(v string) predicate.LogSummarizations

ContentAuthorLTE applies the LTE predicate on the "content_author" field.

func ContentAuthorNEQ

func ContentAuthorNEQ(v string) predicate.LogSummarizations

ContentAuthorNEQ applies the NEQ predicate on the "content_author" field.

func ContentAuthorNotIn

func ContentAuthorNotIn(vs ...string) predicate.LogSummarizations

ContentAuthorNotIn applies the NotIn predicate on the "content_author" field.

func ContentSummarizedOutputs

func ContentSummarizedOutputs(v string) predicate.LogSummarizations

ContentSummarizedOutputs applies equality check predicate on the "content_summarized_outputs" field. It's identical to ContentSummarizedOutputsEQ.

func ContentSummarizedOutputsContains

func ContentSummarizedOutputsContains(v string) predicate.LogSummarizations

ContentSummarizedOutputsContains applies the Contains predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsContainsFold

func ContentSummarizedOutputsContainsFold(v string) predicate.LogSummarizations

ContentSummarizedOutputsContainsFold applies the ContainsFold predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsEQ

func ContentSummarizedOutputsEQ(v string) predicate.LogSummarizations

ContentSummarizedOutputsEQ applies the EQ predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsEqualFold

func ContentSummarizedOutputsEqualFold(v string) predicate.LogSummarizations

ContentSummarizedOutputsEqualFold applies the EqualFold predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsGT

func ContentSummarizedOutputsGT(v string) predicate.LogSummarizations

ContentSummarizedOutputsGT applies the GT predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsGTE

func ContentSummarizedOutputsGTE(v string) predicate.LogSummarizations

ContentSummarizedOutputsGTE applies the GTE predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsHasPrefix

func ContentSummarizedOutputsHasPrefix(v string) predicate.LogSummarizations

ContentSummarizedOutputsHasPrefix applies the HasPrefix predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsHasSuffix

func ContentSummarizedOutputsHasSuffix(v string) predicate.LogSummarizations

ContentSummarizedOutputsHasSuffix applies the HasSuffix predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsIn

func ContentSummarizedOutputsIn(vs ...string) predicate.LogSummarizations

ContentSummarizedOutputsIn applies the In predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsLT

func ContentSummarizedOutputsLT(v string) predicate.LogSummarizations

ContentSummarizedOutputsLT applies the LT predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsLTE

func ContentSummarizedOutputsLTE(v string) predicate.LogSummarizations

ContentSummarizedOutputsLTE applies the LTE predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsNEQ

func ContentSummarizedOutputsNEQ(v string) predicate.LogSummarizations

ContentSummarizedOutputsNEQ applies the NEQ predicate on the "content_summarized_outputs" field.

func ContentSummarizedOutputsNotIn

func ContentSummarizedOutputsNotIn(vs ...string) predicate.LogSummarizations

ContentSummarizedOutputsNotIn applies the NotIn predicate on the "content_summarized_outputs" field.

func ContentText

func ContentText(v string) predicate.LogSummarizations

ContentText applies equality check predicate on the "content_text" field. It's identical to ContentTextEQ.

func ContentTextContains

func ContentTextContains(v string) predicate.LogSummarizations

ContentTextContains applies the Contains predicate on the "content_text" field.

func ContentTextContainsFold

func ContentTextContainsFold(v string) predicate.LogSummarizations

ContentTextContainsFold applies the ContainsFold predicate on the "content_text" field.

func ContentTextEQ

func ContentTextEQ(v string) predicate.LogSummarizations

ContentTextEQ applies the EQ predicate on the "content_text" field.

func ContentTextEqualFold

func ContentTextEqualFold(v string) predicate.LogSummarizations

ContentTextEqualFold applies the EqualFold predicate on the "content_text" field.

func ContentTextGT

func ContentTextGT(v string) predicate.LogSummarizations

ContentTextGT applies the GT predicate on the "content_text" field.

func ContentTextGTE

func ContentTextGTE(v string) predicate.LogSummarizations

ContentTextGTE applies the GTE predicate on the "content_text" field.

func ContentTextHasPrefix

func ContentTextHasPrefix(v string) predicate.LogSummarizations

ContentTextHasPrefix applies the HasPrefix predicate on the "content_text" field.

func ContentTextHasSuffix

func ContentTextHasSuffix(v string) predicate.LogSummarizations

ContentTextHasSuffix applies the HasSuffix predicate on the "content_text" field.

func ContentTextIn

func ContentTextIn(vs ...string) predicate.LogSummarizations

ContentTextIn applies the In predicate on the "content_text" field.

func ContentTextLT

func ContentTextLT(v string) predicate.LogSummarizations

ContentTextLT applies the LT predicate on the "content_text" field.

func ContentTextLTE

func ContentTextLTE(v string) predicate.LogSummarizations

ContentTextLTE applies the LTE predicate on the "content_text" field.

func ContentTextNEQ

func ContentTextNEQ(v string) predicate.LogSummarizations

ContentTextNEQ applies the NEQ predicate on the "content_text" field.

func ContentTextNotIn

func ContentTextNotIn(vs ...string) predicate.LogSummarizations

ContentTextNotIn applies the NotIn predicate on the "content_text" field.

func ContentTitle

func ContentTitle(v string) predicate.LogSummarizations

ContentTitle applies equality check predicate on the "content_title" field. It's identical to ContentTitleEQ.

func ContentTitleContains

func ContentTitleContains(v string) predicate.LogSummarizations

ContentTitleContains applies the Contains predicate on the "content_title" field.

func ContentTitleContainsFold

func ContentTitleContainsFold(v string) predicate.LogSummarizations

ContentTitleContainsFold applies the ContainsFold predicate on the "content_title" field.

func ContentTitleEQ

func ContentTitleEQ(v string) predicate.LogSummarizations

ContentTitleEQ applies the EQ predicate on the "content_title" field.

func ContentTitleEqualFold

func ContentTitleEqualFold(v string) predicate.LogSummarizations

ContentTitleEqualFold applies the EqualFold predicate on the "content_title" field.

func ContentTitleGT

func ContentTitleGT(v string) predicate.LogSummarizations

ContentTitleGT applies the GT predicate on the "content_title" field.

func ContentTitleGTE

func ContentTitleGTE(v string) predicate.LogSummarizations

ContentTitleGTE applies the GTE predicate on the "content_title" field.

func ContentTitleHasPrefix

func ContentTitleHasPrefix(v string) predicate.LogSummarizations

ContentTitleHasPrefix applies the HasPrefix predicate on the "content_title" field.

func ContentTitleHasSuffix

func ContentTitleHasSuffix(v string) predicate.LogSummarizations

ContentTitleHasSuffix applies the HasSuffix predicate on the "content_title" field.

func ContentTitleIn

func ContentTitleIn(vs ...string) predicate.LogSummarizations

ContentTitleIn applies the In predicate on the "content_title" field.

func ContentTitleLT

func ContentTitleLT(v string) predicate.LogSummarizations

ContentTitleLT applies the LT predicate on the "content_title" field.

func ContentTitleLTE

func ContentTitleLTE(v string) predicate.LogSummarizations

ContentTitleLTE applies the LTE predicate on the "content_title" field.

func ContentTitleNEQ

func ContentTitleNEQ(v string) predicate.LogSummarizations

ContentTitleNEQ applies the NEQ predicate on the "content_title" field.

func ContentTitleNotIn

func ContentTitleNotIn(vs ...string) predicate.LogSummarizations

ContentTitleNotIn applies the NotIn predicate on the "content_title" field.

func ContentURL

func ContentURL(v string) predicate.LogSummarizations

ContentURL applies equality check predicate on the "content_url" field. It's identical to ContentURLEQ.

func ContentURLContains

func ContentURLContains(v string) predicate.LogSummarizations

ContentURLContains applies the Contains predicate on the "content_url" field.

func ContentURLContainsFold

func ContentURLContainsFold(v string) predicate.LogSummarizations

ContentURLContainsFold applies the ContainsFold predicate on the "content_url" field.

func ContentURLEQ

func ContentURLEQ(v string) predicate.LogSummarizations

ContentURLEQ applies the EQ predicate on the "content_url" field.

func ContentURLEqualFold

func ContentURLEqualFold(v string) predicate.LogSummarizations

ContentURLEqualFold applies the EqualFold predicate on the "content_url" field.

func ContentURLGT

func ContentURLGT(v string) predicate.LogSummarizations

ContentURLGT applies the GT predicate on the "content_url" field.

func ContentURLGTE

func ContentURLGTE(v string) predicate.LogSummarizations

ContentURLGTE applies the GTE predicate on the "content_url" field.

func ContentURLHasPrefix

func ContentURLHasPrefix(v string) predicate.LogSummarizations

ContentURLHasPrefix applies the HasPrefix predicate on the "content_url" field.

func ContentURLHasSuffix

func ContentURLHasSuffix(v string) predicate.LogSummarizations

ContentURLHasSuffix applies the HasSuffix predicate on the "content_url" field.

func ContentURLIn

func ContentURLIn(vs ...string) predicate.LogSummarizations

ContentURLIn applies the In predicate on the "content_url" field.

func ContentURLLT

func ContentURLLT(v string) predicate.LogSummarizations

ContentURLLT applies the LT predicate on the "content_url" field.

func ContentURLLTE

func ContentURLLTE(v string) predicate.LogSummarizations

ContentURLLTE applies the LTE predicate on the "content_url" field.

func ContentURLNEQ

func ContentURLNEQ(v string) predicate.LogSummarizations

ContentURLNEQ applies the NEQ predicate on the "content_url" field.

func ContentURLNotIn

func ContentURLNotIn(vs ...string) predicate.LogSummarizations

ContentURLNotIn applies the NotIn predicate on the "content_url" field.

func CreatedAt

func CreatedAt(v int64) predicate.LogSummarizations

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

func CreatedAtEQ

func CreatedAtEQ(v int64) predicate.LogSummarizations

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

func CreatedAtGT

func CreatedAtGT(v int64) predicate.LogSummarizations

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

func CreatedAtGTE

func CreatedAtGTE(v int64) predicate.LogSummarizations

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

func CreatedAtIn

func CreatedAtIn(vs ...int64) predicate.LogSummarizations

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

func CreatedAtLT

func CreatedAtLT(v int64) predicate.LogSummarizations

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

func CreatedAtLTE

func CreatedAtLTE(v int64) predicate.LogSummarizations

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

func CreatedAtNEQ

func CreatedAtNEQ(v int64) predicate.LogSummarizations

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

func CreatedAtNotIn

func CreatedAtNotIn(vs ...int64) predicate.LogSummarizations

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

func FromPlatform

func FromPlatform(v int) predicate.LogSummarizations

FromPlatform applies equality check predicate on the "from_platform" field. It's identical to FromPlatformEQ.

func FromPlatformEQ

func FromPlatformEQ(v int) predicate.LogSummarizations

FromPlatformEQ applies the EQ predicate on the "from_platform" field.

func FromPlatformGT

func FromPlatformGT(v int) predicate.LogSummarizations

FromPlatformGT applies the GT predicate on the "from_platform" field.

func FromPlatformGTE

func FromPlatformGTE(v int) predicate.LogSummarizations

FromPlatformGTE applies the GTE predicate on the "from_platform" field.

func FromPlatformIn

func FromPlatformIn(vs ...int) predicate.LogSummarizations

FromPlatformIn applies the In predicate on the "from_platform" field.

func FromPlatformLT

func FromPlatformLT(v int) predicate.LogSummarizations

FromPlatformLT applies the LT predicate on the "from_platform" field.

func FromPlatformLTE

func FromPlatformLTE(v int) predicate.LogSummarizations

FromPlatformLTE applies the LTE predicate on the "from_platform" field.

func FromPlatformNEQ

func FromPlatformNEQ(v int) predicate.LogSummarizations

FromPlatformNEQ applies the NEQ predicate on the "from_platform" field.

func FromPlatformNotIn

func FromPlatformNotIn(vs ...int) predicate.LogSummarizations

FromPlatformNotIn applies the NotIn predicate on the "from_platform" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.LogSummarizations

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.LogSummarizations

IDNotIn applies the NotIn predicate on the ID field.

func ModelName added in v0.18.0

func ModelName(v string) predicate.LogSummarizations

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

ModelNameContains applies the Contains predicate on the "model_name" field.

func ModelNameContainsFold added in v0.18.0

func ModelNameContainsFold(v string) predicate.LogSummarizations

ModelNameContainsFold applies the ContainsFold predicate on the "model_name" field.

func ModelNameEQ added in v0.18.0

func ModelNameEQ(v string) predicate.LogSummarizations

ModelNameEQ applies the EQ predicate on the "model_name" field.

func ModelNameEqualFold added in v0.18.0

func ModelNameEqualFold(v string) predicate.LogSummarizations

ModelNameEqualFold applies the EqualFold predicate on the "model_name" field.

func ModelNameGT added in v0.18.0

func ModelNameGT(v string) predicate.LogSummarizations

ModelNameGT applies the GT predicate on the "model_name" field.

func ModelNameGTE added in v0.18.0

func ModelNameGTE(v string) predicate.LogSummarizations

ModelNameGTE applies the GTE predicate on the "model_name" field.

func ModelNameHasPrefix added in v0.18.0

func ModelNameHasPrefix(v string) predicate.LogSummarizations

ModelNameHasPrefix applies the HasPrefix predicate on the "model_name" field.

func ModelNameHasSuffix added in v0.18.0

func ModelNameHasSuffix(v string) predicate.LogSummarizations

ModelNameHasSuffix applies the HasSuffix predicate on the "model_name" field.

func ModelNameIn added in v0.18.0

func ModelNameIn(vs ...string) predicate.LogSummarizations

ModelNameIn applies the In predicate on the "model_name" field.

func ModelNameLT added in v0.18.0

func ModelNameLT(v string) predicate.LogSummarizations

ModelNameLT applies the LT predicate on the "model_name" field.

func ModelNameLTE added in v0.18.0

func ModelNameLTE(v string) predicate.LogSummarizations

ModelNameLTE applies the LTE predicate on the "model_name" field.

func ModelNameNEQ added in v0.18.0

func ModelNameNEQ(v string) predicate.LogSummarizations

ModelNameNEQ applies the NEQ predicate on the "model_name" field.

func ModelNameNotIn added in v0.18.0

func ModelNameNotIn(vs ...string) predicate.LogSummarizations

ModelNameNotIn applies the NotIn predicate on the "model_name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PromptTokenUsage

func PromptTokenUsage(v int) predicate.LogSummarizations

PromptTokenUsage applies equality check predicate on the "prompt_token_usage" field. It's identical to PromptTokenUsageEQ.

func PromptTokenUsageEQ

func PromptTokenUsageEQ(v int) predicate.LogSummarizations

PromptTokenUsageEQ applies the EQ predicate on the "prompt_token_usage" field.

func PromptTokenUsageGT

func PromptTokenUsageGT(v int) predicate.LogSummarizations

PromptTokenUsageGT applies the GT predicate on the "prompt_token_usage" field.

func PromptTokenUsageGTE

func PromptTokenUsageGTE(v int) predicate.LogSummarizations

PromptTokenUsageGTE applies the GTE predicate on the "prompt_token_usage" field.

func PromptTokenUsageIn

func PromptTokenUsageIn(vs ...int) predicate.LogSummarizations

PromptTokenUsageIn applies the In predicate on the "prompt_token_usage" field.

func PromptTokenUsageLT

func PromptTokenUsageLT(v int) predicate.LogSummarizations

PromptTokenUsageLT applies the LT predicate on the "prompt_token_usage" field.

func PromptTokenUsageLTE

func PromptTokenUsageLTE(v int) predicate.LogSummarizations

PromptTokenUsageLTE applies the LTE predicate on the "prompt_token_usage" field.

func PromptTokenUsageNEQ

func PromptTokenUsageNEQ(v int) predicate.LogSummarizations

PromptTokenUsageNEQ applies the NEQ predicate on the "prompt_token_usage" field.

func PromptTokenUsageNotIn

func PromptTokenUsageNotIn(vs ...int) predicate.LogSummarizations

PromptTokenUsageNotIn applies the NotIn predicate on the "prompt_token_usage" field.

func TotalTokenUsage

func TotalTokenUsage(v int) predicate.LogSummarizations

TotalTokenUsage applies equality check predicate on the "total_token_usage" field. It's identical to TotalTokenUsageEQ.

func TotalTokenUsageEQ

func TotalTokenUsageEQ(v int) predicate.LogSummarizations

TotalTokenUsageEQ applies the EQ predicate on the "total_token_usage" field.

func TotalTokenUsageGT

func TotalTokenUsageGT(v int) predicate.LogSummarizations

TotalTokenUsageGT applies the GT predicate on the "total_token_usage" field.

func TotalTokenUsageGTE

func TotalTokenUsageGTE(v int) predicate.LogSummarizations

TotalTokenUsageGTE applies the GTE predicate on the "total_token_usage" field.

func TotalTokenUsageIn

func TotalTokenUsageIn(vs ...int) predicate.LogSummarizations

TotalTokenUsageIn applies the In predicate on the "total_token_usage" field.

func TotalTokenUsageLT

func TotalTokenUsageLT(v int) predicate.LogSummarizations

TotalTokenUsageLT applies the LT predicate on the "total_token_usage" field.

func TotalTokenUsageLTE

func TotalTokenUsageLTE(v int) predicate.LogSummarizations

TotalTokenUsageLTE applies the LTE predicate on the "total_token_usage" field.

func TotalTokenUsageNEQ

func TotalTokenUsageNEQ(v int) predicate.LogSummarizations

TotalTokenUsageNEQ applies the NEQ predicate on the "total_token_usage" field.

func TotalTokenUsageNotIn

func TotalTokenUsageNotIn(vs ...int) predicate.LogSummarizations

TotalTokenUsageNotIn applies the NotIn predicate on the "total_token_usage" field.

func UpdatedAt

func UpdatedAt(v int64) predicate.LogSummarizations

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

func UpdatedAtEQ

func UpdatedAtEQ(v int64) predicate.LogSummarizations

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

func UpdatedAtGT

func UpdatedAtGT(v int64) predicate.LogSummarizations

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

func UpdatedAtGTE

func UpdatedAtGTE(v int64) predicate.LogSummarizations

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

func UpdatedAtIn

func UpdatedAtIn(vs ...int64) predicate.LogSummarizations

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

func UpdatedAtLT

func UpdatedAtLT(v int64) predicate.LogSummarizations

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

func UpdatedAtLTE

func UpdatedAtLTE(v int64) predicate.LogSummarizations

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v int64) predicate.LogSummarizations

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

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...int64) predicate.LogSummarizations

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the LogSummarizations queries.

func ByCompletionTokenUsage

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

ByCompletionTokenUsage orders the results by the completion_token_usage field.

func ByContentAuthor

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

ByContentAuthor orders the results by the content_author field.

func ByContentSummarizedOutputs

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

ByContentSummarizedOutputs orders the results by the content_summarized_outputs field.

func ByContentText

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

ByContentText orders the results by the content_text field.

func ByContentTitle

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

ByContentTitle orders the results by the content_title field.

func ByContentURL

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

ByContentURL orders the results by the content_url 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 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.

Jump to

Keyboard shortcuts

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