chatconversation

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the chatconversation type in the database.
	Label = "chat_conversation"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldProjectID holds the string denoting the project_id field in the database.
	FieldProjectID = "project_id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldProviderID holds the string denoting the provider_id field in the database.
	FieldProviderID = "provider_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldProviderThreadID holds the string denoting the provider_thread_id field in the database.
	FieldProviderThreadID = "provider_thread_id"
	// FieldLastTurnID holds the string denoting the last_turn_id field in the database.
	FieldLastTurnID = "last_turn_id"
	// FieldProviderThreadStatus holds the string denoting the provider_thread_status field in the database.
	FieldProviderThreadStatus = "provider_thread_status"
	// FieldProviderThreadActiveFlags holds the string denoting the provider_thread_active_flags field in the database.
	FieldProviderThreadActiveFlags = "provider_thread_active_flags"
	// FieldRollingSummary holds the string denoting the rolling_summary field in the database.
	FieldRollingSummary = "rolling_summary"
	// FieldLastActivityAt holds the string denoting the last_activity_at field in the database.
	FieldLastActivityAt = "last_activity_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// EdgeProject holds the string denoting the project edge name in mutations.
	EdgeProject = "project"
	// EdgeTurns holds the string denoting the turns edge name in mutations.
	EdgeTurns = "turns"
	// EdgeEntries holds the string denoting the entries edge name in mutations.
	EdgeEntries = "entries"
	// EdgePendingInterrupts holds the string denoting the pending_interrupts edge name in mutations.
	EdgePendingInterrupts = "pending_interrupts"
	// EdgeAgentTokens holds the string denoting the agent_tokens edge name in mutations.
	EdgeAgentTokens = "agent_tokens"
	// Table holds the table name of the chatconversation in the database.
	Table = "chat_conversations"
	// ProjectTable is the table that holds the project relation/edge.
	ProjectTable = "chat_conversations"
	// 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"
	// TurnsTable is the table that holds the turns relation/edge.
	TurnsTable = "chat_turns"
	// TurnsInverseTable is the table name for the ChatTurn entity.
	// It exists in this package in order to avoid circular dependency with the "chatturn" package.
	TurnsInverseTable = "chat_turns"
	// TurnsColumn is the table column denoting the turns relation/edge.
	TurnsColumn = "conversation_id"
	// EntriesTable is the table that holds the entries relation/edge.
	EntriesTable = "chat_entries"
	// EntriesInverseTable is the table name for the ChatEntry entity.
	// It exists in this package in order to avoid circular dependency with the "chatentry" package.
	EntriesInverseTable = "chat_entries"
	// EntriesColumn is the table column denoting the entries relation/edge.
	EntriesColumn = "conversation_id"
	// PendingInterruptsTable is the table that holds the pending_interrupts relation/edge.
	PendingInterruptsTable = "chat_pending_interrupts"
	// PendingInterruptsInverseTable is the table name for the ChatPendingInterrupt entity.
	// It exists in this package in order to avoid circular dependency with the "chatpendinginterrupt" package.
	PendingInterruptsInverseTable = "chat_pending_interrupts"
	// PendingInterruptsColumn is the table column denoting the pending_interrupts relation/edge.
	PendingInterruptsColumn = "conversation_id"
	// AgentTokensTable is the table that holds the agent_tokens relation/edge.
	AgentTokensTable = "agent_tokens"
	// AgentTokensInverseTable is the table name for the AgentToken entity.
	// It exists in this package in order to avoid circular dependency with the "agenttoken" package.
	AgentTokensInverseTable = "agent_tokens"
	// AgentTokensColumn is the table column denoting the agent_tokens relation/edge.
	AgentTokensColumn = "conversation_id"
)

Variables

View Source
var (
	// UserIDValidator is a validator for the "user_id" field. It is called by the builders before save.
	UserIDValidator func(string) error
	// SourceValidator is a validator for the "source" field. It is called by the builders before save.
	SourceValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// DefaultLastActivityAt holds the default value on creation for the "last_activity_at" field.
	DefaultLastActivityAt func() time.Time
	// UpdateDefaultLastActivityAt holds the default value on update for the "last_activity_at" field.
	UpdateDefaultLastActivityAt func() time.Time
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for chatconversation fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.ChatConversation

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ChatConversation

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ChatConversation

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ChatConversation

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ChatConversation

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ChatConversation

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ChatConversation

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

func CreatedAtNotIn

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

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

func HasAgentTokens

func HasAgentTokens() predicate.ChatConversation

HasAgentTokens applies the HasEdge predicate on the "agent_tokens" edge.

func HasAgentTokensWith

func HasAgentTokensWith(preds ...predicate.AgentToken) predicate.ChatConversation

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

func HasEntries

func HasEntries() predicate.ChatConversation

HasEntries applies the HasEdge predicate on the "entries" edge.

func HasEntriesWith

func HasEntriesWith(preds ...predicate.ChatEntry) predicate.ChatConversation

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

func HasPendingInterrupts

func HasPendingInterrupts() predicate.ChatConversation

HasPendingInterrupts applies the HasEdge predicate on the "pending_interrupts" edge.

func HasPendingInterruptsWith

func HasPendingInterruptsWith(preds ...predicate.ChatPendingInterrupt) predicate.ChatConversation

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

func HasProject

func HasProject() predicate.ChatConversation

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

func HasProjectWith

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

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

func HasTurns

func HasTurns() predicate.ChatConversation

HasTurns applies the HasEdge predicate on the "turns" edge.

func HasTurnsWith

func HasTurnsWith(preds ...predicate.ChatTurn) predicate.ChatConversation

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func LastActivityAt

func LastActivityAt(v time.Time) predicate.ChatConversation

LastActivityAt applies equality check predicate on the "last_activity_at" field. It's identical to LastActivityAtEQ.

func LastActivityAtEQ

func LastActivityAtEQ(v time.Time) predicate.ChatConversation

LastActivityAtEQ applies the EQ predicate on the "last_activity_at" field.

func LastActivityAtGT

func LastActivityAtGT(v time.Time) predicate.ChatConversation

LastActivityAtGT applies the GT predicate on the "last_activity_at" field.

func LastActivityAtGTE

func LastActivityAtGTE(v time.Time) predicate.ChatConversation

LastActivityAtGTE applies the GTE predicate on the "last_activity_at" field.

func LastActivityAtIn

func LastActivityAtIn(vs ...time.Time) predicate.ChatConversation

LastActivityAtIn applies the In predicate on the "last_activity_at" field.

func LastActivityAtLT

func LastActivityAtLT(v time.Time) predicate.ChatConversation

LastActivityAtLT applies the LT predicate on the "last_activity_at" field.

func LastActivityAtLTE

func LastActivityAtLTE(v time.Time) predicate.ChatConversation

LastActivityAtLTE applies the LTE predicate on the "last_activity_at" field.

func LastActivityAtNEQ

func LastActivityAtNEQ(v time.Time) predicate.ChatConversation

LastActivityAtNEQ applies the NEQ predicate on the "last_activity_at" field.

func LastActivityAtNotIn

func LastActivityAtNotIn(vs ...time.Time) predicate.ChatConversation

LastActivityAtNotIn applies the NotIn predicate on the "last_activity_at" field.

func LastTurnID

func LastTurnID(v string) predicate.ChatConversation

LastTurnID applies equality check predicate on the "last_turn_id" field. It's identical to LastTurnIDEQ.

func LastTurnIDContains

func LastTurnIDContains(v string) predicate.ChatConversation

LastTurnIDContains applies the Contains predicate on the "last_turn_id" field.

func LastTurnIDContainsFold

func LastTurnIDContainsFold(v string) predicate.ChatConversation

LastTurnIDContainsFold applies the ContainsFold predicate on the "last_turn_id" field.

func LastTurnIDEQ

func LastTurnIDEQ(v string) predicate.ChatConversation

LastTurnIDEQ applies the EQ predicate on the "last_turn_id" field.

func LastTurnIDEqualFold

func LastTurnIDEqualFold(v string) predicate.ChatConversation

LastTurnIDEqualFold applies the EqualFold predicate on the "last_turn_id" field.

func LastTurnIDGT

func LastTurnIDGT(v string) predicate.ChatConversation

LastTurnIDGT applies the GT predicate on the "last_turn_id" field.

func LastTurnIDGTE

func LastTurnIDGTE(v string) predicate.ChatConversation

LastTurnIDGTE applies the GTE predicate on the "last_turn_id" field.

func LastTurnIDHasPrefix

func LastTurnIDHasPrefix(v string) predicate.ChatConversation

LastTurnIDHasPrefix applies the HasPrefix predicate on the "last_turn_id" field.

func LastTurnIDHasSuffix

func LastTurnIDHasSuffix(v string) predicate.ChatConversation

LastTurnIDHasSuffix applies the HasSuffix predicate on the "last_turn_id" field.

func LastTurnIDIn

func LastTurnIDIn(vs ...string) predicate.ChatConversation

LastTurnIDIn applies the In predicate on the "last_turn_id" field.

func LastTurnIDIsNil

func LastTurnIDIsNil() predicate.ChatConversation

LastTurnIDIsNil applies the IsNil predicate on the "last_turn_id" field.

func LastTurnIDLT

func LastTurnIDLT(v string) predicate.ChatConversation

LastTurnIDLT applies the LT predicate on the "last_turn_id" field.

func LastTurnIDLTE

func LastTurnIDLTE(v string) predicate.ChatConversation

LastTurnIDLTE applies the LTE predicate on the "last_turn_id" field.

func LastTurnIDNEQ

func LastTurnIDNEQ(v string) predicate.ChatConversation

LastTurnIDNEQ applies the NEQ predicate on the "last_turn_id" field.

func LastTurnIDNotIn

func LastTurnIDNotIn(vs ...string) predicate.ChatConversation

LastTurnIDNotIn applies the NotIn predicate on the "last_turn_id" field.

func LastTurnIDNotNil

func LastTurnIDNotNil() predicate.ChatConversation

LastTurnIDNotNil applies the NotNil predicate on the "last_turn_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProjectID

func ProjectID(v uuid.UUID) predicate.ChatConversation

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

func ProjectIDEQ

func ProjectIDEQ(v uuid.UUID) predicate.ChatConversation

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

func ProjectIDIn

func ProjectIDIn(vs ...uuid.UUID) predicate.ChatConversation

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

func ProjectIDNEQ

func ProjectIDNEQ(v uuid.UUID) predicate.ChatConversation

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

func ProjectIDNotIn

func ProjectIDNotIn(vs ...uuid.UUID) predicate.ChatConversation

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

func ProviderID

func ProviderID(v uuid.UUID) predicate.ChatConversation

ProviderID applies equality check predicate on the "provider_id" field. It's identical to ProviderIDEQ.

func ProviderIDEQ

func ProviderIDEQ(v uuid.UUID) predicate.ChatConversation

ProviderIDEQ applies the EQ predicate on the "provider_id" field.

func ProviderIDGT

func ProviderIDGT(v uuid.UUID) predicate.ChatConversation

ProviderIDGT applies the GT predicate on the "provider_id" field.

func ProviderIDGTE

func ProviderIDGTE(v uuid.UUID) predicate.ChatConversation

ProviderIDGTE applies the GTE predicate on the "provider_id" field.

func ProviderIDIn

func ProviderIDIn(vs ...uuid.UUID) predicate.ChatConversation

ProviderIDIn applies the In predicate on the "provider_id" field.

func ProviderIDLT

func ProviderIDLT(v uuid.UUID) predicate.ChatConversation

ProviderIDLT applies the LT predicate on the "provider_id" field.

func ProviderIDLTE

func ProviderIDLTE(v uuid.UUID) predicate.ChatConversation

ProviderIDLTE applies the LTE predicate on the "provider_id" field.

func ProviderIDNEQ

func ProviderIDNEQ(v uuid.UUID) predicate.ChatConversation

ProviderIDNEQ applies the NEQ predicate on the "provider_id" field.

func ProviderIDNotIn

func ProviderIDNotIn(vs ...uuid.UUID) predicate.ChatConversation

ProviderIDNotIn applies the NotIn predicate on the "provider_id" field.

func ProviderThreadActiveFlagsIsNil

func ProviderThreadActiveFlagsIsNil() predicate.ChatConversation

ProviderThreadActiveFlagsIsNil applies the IsNil predicate on the "provider_thread_active_flags" field.

func ProviderThreadActiveFlagsNotNil

func ProviderThreadActiveFlagsNotNil() predicate.ChatConversation

ProviderThreadActiveFlagsNotNil applies the NotNil predicate on the "provider_thread_active_flags" field.

func ProviderThreadID

func ProviderThreadID(v string) predicate.ChatConversation

ProviderThreadID applies equality check predicate on the "provider_thread_id" field. It's identical to ProviderThreadIDEQ.

func ProviderThreadIDContains

func ProviderThreadIDContains(v string) predicate.ChatConversation

ProviderThreadIDContains applies the Contains predicate on the "provider_thread_id" field.

func ProviderThreadIDContainsFold

func ProviderThreadIDContainsFold(v string) predicate.ChatConversation

ProviderThreadIDContainsFold applies the ContainsFold predicate on the "provider_thread_id" field.

func ProviderThreadIDEQ

func ProviderThreadIDEQ(v string) predicate.ChatConversation

ProviderThreadIDEQ applies the EQ predicate on the "provider_thread_id" field.

func ProviderThreadIDEqualFold

func ProviderThreadIDEqualFold(v string) predicate.ChatConversation

ProviderThreadIDEqualFold applies the EqualFold predicate on the "provider_thread_id" field.

func ProviderThreadIDGT

func ProviderThreadIDGT(v string) predicate.ChatConversation

ProviderThreadIDGT applies the GT predicate on the "provider_thread_id" field.

func ProviderThreadIDGTE

func ProviderThreadIDGTE(v string) predicate.ChatConversation

ProviderThreadIDGTE applies the GTE predicate on the "provider_thread_id" field.

func ProviderThreadIDHasPrefix

func ProviderThreadIDHasPrefix(v string) predicate.ChatConversation

ProviderThreadIDHasPrefix applies the HasPrefix predicate on the "provider_thread_id" field.

func ProviderThreadIDHasSuffix

func ProviderThreadIDHasSuffix(v string) predicate.ChatConversation

ProviderThreadIDHasSuffix applies the HasSuffix predicate on the "provider_thread_id" field.

func ProviderThreadIDIn

func ProviderThreadIDIn(vs ...string) predicate.ChatConversation

ProviderThreadIDIn applies the In predicate on the "provider_thread_id" field.

func ProviderThreadIDIsNil

func ProviderThreadIDIsNil() predicate.ChatConversation

ProviderThreadIDIsNil applies the IsNil predicate on the "provider_thread_id" field.

func ProviderThreadIDLT

func ProviderThreadIDLT(v string) predicate.ChatConversation

ProviderThreadIDLT applies the LT predicate on the "provider_thread_id" field.

func ProviderThreadIDLTE

func ProviderThreadIDLTE(v string) predicate.ChatConversation

ProviderThreadIDLTE applies the LTE predicate on the "provider_thread_id" field.

func ProviderThreadIDNEQ

func ProviderThreadIDNEQ(v string) predicate.ChatConversation

ProviderThreadIDNEQ applies the NEQ predicate on the "provider_thread_id" field.

func ProviderThreadIDNotIn

func ProviderThreadIDNotIn(vs ...string) predicate.ChatConversation

ProviderThreadIDNotIn applies the NotIn predicate on the "provider_thread_id" field.

func ProviderThreadIDNotNil

func ProviderThreadIDNotNil() predicate.ChatConversation

ProviderThreadIDNotNil applies the NotNil predicate on the "provider_thread_id" field.

func ProviderThreadStatus

func ProviderThreadStatus(v string) predicate.ChatConversation

ProviderThreadStatus applies equality check predicate on the "provider_thread_status" field. It's identical to ProviderThreadStatusEQ.

func ProviderThreadStatusContains

func ProviderThreadStatusContains(v string) predicate.ChatConversation

ProviderThreadStatusContains applies the Contains predicate on the "provider_thread_status" field.

func ProviderThreadStatusContainsFold

func ProviderThreadStatusContainsFold(v string) predicate.ChatConversation

ProviderThreadStatusContainsFold applies the ContainsFold predicate on the "provider_thread_status" field.

func ProviderThreadStatusEQ

func ProviderThreadStatusEQ(v string) predicate.ChatConversation

ProviderThreadStatusEQ applies the EQ predicate on the "provider_thread_status" field.

func ProviderThreadStatusEqualFold

func ProviderThreadStatusEqualFold(v string) predicate.ChatConversation

ProviderThreadStatusEqualFold applies the EqualFold predicate on the "provider_thread_status" field.

func ProviderThreadStatusGT

func ProviderThreadStatusGT(v string) predicate.ChatConversation

ProviderThreadStatusGT applies the GT predicate on the "provider_thread_status" field.

func ProviderThreadStatusGTE

func ProviderThreadStatusGTE(v string) predicate.ChatConversation

ProviderThreadStatusGTE applies the GTE predicate on the "provider_thread_status" field.

func ProviderThreadStatusHasPrefix

func ProviderThreadStatusHasPrefix(v string) predicate.ChatConversation

ProviderThreadStatusHasPrefix applies the HasPrefix predicate on the "provider_thread_status" field.

func ProviderThreadStatusHasSuffix

func ProviderThreadStatusHasSuffix(v string) predicate.ChatConversation

ProviderThreadStatusHasSuffix applies the HasSuffix predicate on the "provider_thread_status" field.

func ProviderThreadStatusIn

func ProviderThreadStatusIn(vs ...string) predicate.ChatConversation

ProviderThreadStatusIn applies the In predicate on the "provider_thread_status" field.

func ProviderThreadStatusIsNil

func ProviderThreadStatusIsNil() predicate.ChatConversation

ProviderThreadStatusIsNil applies the IsNil predicate on the "provider_thread_status" field.

func ProviderThreadStatusLT

func ProviderThreadStatusLT(v string) predicate.ChatConversation

ProviderThreadStatusLT applies the LT predicate on the "provider_thread_status" field.

func ProviderThreadStatusLTE

func ProviderThreadStatusLTE(v string) predicate.ChatConversation

ProviderThreadStatusLTE applies the LTE predicate on the "provider_thread_status" field.

func ProviderThreadStatusNEQ

func ProviderThreadStatusNEQ(v string) predicate.ChatConversation

ProviderThreadStatusNEQ applies the NEQ predicate on the "provider_thread_status" field.

func ProviderThreadStatusNotIn

func ProviderThreadStatusNotIn(vs ...string) predicate.ChatConversation

ProviderThreadStatusNotIn applies the NotIn predicate on the "provider_thread_status" field.

func ProviderThreadStatusNotNil

func ProviderThreadStatusNotNil() predicate.ChatConversation

ProviderThreadStatusNotNil applies the NotNil predicate on the "provider_thread_status" field.

func RollingSummary

func RollingSummary(v string) predicate.ChatConversation

RollingSummary applies equality check predicate on the "rolling_summary" field. It's identical to RollingSummaryEQ.

func RollingSummaryContains

func RollingSummaryContains(v string) predicate.ChatConversation

RollingSummaryContains applies the Contains predicate on the "rolling_summary" field.

func RollingSummaryContainsFold

func RollingSummaryContainsFold(v string) predicate.ChatConversation

RollingSummaryContainsFold applies the ContainsFold predicate on the "rolling_summary" field.

func RollingSummaryEQ

func RollingSummaryEQ(v string) predicate.ChatConversation

RollingSummaryEQ applies the EQ predicate on the "rolling_summary" field.

func RollingSummaryEqualFold

func RollingSummaryEqualFold(v string) predicate.ChatConversation

RollingSummaryEqualFold applies the EqualFold predicate on the "rolling_summary" field.

func RollingSummaryGT

func RollingSummaryGT(v string) predicate.ChatConversation

RollingSummaryGT applies the GT predicate on the "rolling_summary" field.

func RollingSummaryGTE

func RollingSummaryGTE(v string) predicate.ChatConversation

RollingSummaryGTE applies the GTE predicate on the "rolling_summary" field.

func RollingSummaryHasPrefix

func RollingSummaryHasPrefix(v string) predicate.ChatConversation

RollingSummaryHasPrefix applies the HasPrefix predicate on the "rolling_summary" field.

func RollingSummaryHasSuffix

func RollingSummaryHasSuffix(v string) predicate.ChatConversation

RollingSummaryHasSuffix applies the HasSuffix predicate on the "rolling_summary" field.

func RollingSummaryIn

func RollingSummaryIn(vs ...string) predicate.ChatConversation

RollingSummaryIn applies the In predicate on the "rolling_summary" field.

func RollingSummaryIsNil

func RollingSummaryIsNil() predicate.ChatConversation

RollingSummaryIsNil applies the IsNil predicate on the "rolling_summary" field.

func RollingSummaryLT

func RollingSummaryLT(v string) predicate.ChatConversation

RollingSummaryLT applies the LT predicate on the "rolling_summary" field.

func RollingSummaryLTE

func RollingSummaryLTE(v string) predicate.ChatConversation

RollingSummaryLTE applies the LTE predicate on the "rolling_summary" field.

func RollingSummaryNEQ

func RollingSummaryNEQ(v string) predicate.ChatConversation

RollingSummaryNEQ applies the NEQ predicate on the "rolling_summary" field.

func RollingSummaryNotIn

func RollingSummaryNotIn(vs ...string) predicate.ChatConversation

RollingSummaryNotIn applies the NotIn predicate on the "rolling_summary" field.

func RollingSummaryNotNil

func RollingSummaryNotNil() predicate.ChatConversation

RollingSummaryNotNil applies the NotNil predicate on the "rolling_summary" field.

func Source

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.ChatConversation

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.ChatConversation

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.ChatConversation

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

func SourceEqualFold

func SourceEqualFold(v string) predicate.ChatConversation

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.ChatConversation

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.ChatConversation

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.ChatConversation

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.ChatConversation

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

func SourceIn(vs ...string) predicate.ChatConversation

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

func SourceLT

func SourceLT(v string) predicate.ChatConversation

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.ChatConversation

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.ChatConversation

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

func SourceNotIn

func SourceNotIn(vs ...string) predicate.ChatConversation

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

func Status

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.ChatConversation

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.ChatConversation

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.ChatConversation

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.ChatConversation

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.ChatConversation

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.ChatConversation

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.ChatConversation

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.ChatConversation

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.ChatConversation

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

func StatusLT

func StatusLT(v string) predicate.ChatConversation

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.ChatConversation

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.ChatConversation

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

func StatusNotIn

func StatusNotIn(vs ...string) predicate.ChatConversation

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ChatConversation

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ChatConversation

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ChatConversation

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ChatConversation

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ChatConversation

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ChatConversation

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ChatConversation

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

func UpdatedAtNotIn

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

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

func UserID

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDContains

func UserIDContains(v string) predicate.ChatConversation

UserIDContains applies the Contains predicate on the "user_id" field.

func UserIDContainsFold

func UserIDContainsFold(v string) predicate.ChatConversation

UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.

func UserIDEQ

func UserIDEQ(v string) predicate.ChatConversation

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDEqualFold

func UserIDEqualFold(v string) predicate.ChatConversation

UserIDEqualFold applies the EqualFold predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v string) predicate.ChatConversation

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v string) predicate.ChatConversation

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDHasPrefix

func UserIDHasPrefix(v string) predicate.ChatConversation

UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.

func UserIDHasSuffix

func UserIDHasSuffix(v string) predicate.ChatConversation

UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...string) predicate.ChatConversation

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v string) predicate.ChatConversation

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v string) predicate.ChatConversation

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v string) predicate.ChatConversation

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...string) predicate.ChatConversation

UserIDNotIn applies the NotIn predicate on the "user_id" 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 ChatConversation queries.

func ByAgentTokens

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

ByAgentTokens orders the results by agent_tokens terms.

func ByAgentTokensCount

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

ByAgentTokensCount orders the results by agent_tokens count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEntries

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

ByEntries orders the results by entries terms.

func ByEntriesCount

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

ByEntriesCount orders the results by entries count.

func ByID

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

ByID orders the results by the id field.

func ByLastActivityAt

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

ByLastActivityAt orders the results by the last_activity_at field.

func ByLastTurnID

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

ByLastTurnID orders the results by the last_turn_id field.

func ByPendingInterrupts

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

ByPendingInterrupts orders the results by pending_interrupts terms.

func ByPendingInterruptsCount

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

ByPendingInterruptsCount orders the results by pending_interrupts count.

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 ByProviderID

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

ByProviderID orders the results by the provider_id field.

func ByProviderThreadID

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

ByProviderThreadID orders the results by the provider_thread_id field.

func ByProviderThreadStatus

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

ByProviderThreadStatus orders the results by the provider_thread_status field.

func ByRollingSummary

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

ByRollingSummary orders the results by the rolling_summary 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 ByTurns

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

ByTurns orders the results by turns terms.

func ByTurnsCount

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

ByTurnsCount orders the results by turns count.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUserID

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

ByUserID orders the results by the user_id field.

Jump to

Keyboard shortcuts

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