Documentation
¶
Index ¶
- Constants
- Variables
- func LifecycleDatlyType() reflect.Type
- func WriterDatlyType() reflect.Type
- func WriterHandlerCurrentWriterIndexByAgentIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByConversationParentIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByConversationParentTurnIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByCreatedByUserIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByDefaultModelKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByDefaultModelParamsKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByDefaultModelProviderKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByExternalTaskRefKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByLastActivityKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByMetadataKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByProtocolMessagesJsonKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByProtocolOnlyKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByProtocolPrincipalKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByProtocolRevisionKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByProtocolStateJsonKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByProtocolThreadIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByProtocolThreadKeyKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByScheduleCronExprKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByScheduleIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByScheduleKindKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByScheduleRunIdKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByScheduleTimezoneKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByScheduledKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByShareableKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByStatusKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexBySummaryKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByTitleKey(value *CurrentWriterView) (string, bool)
- func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
- func WriterHandlerCurrentWriterIndexByUsageEmbeddingTokensKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByUsageInputTokensKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByUsageOutputTokensKey(value *CurrentWriterView) (int, bool)
- func WriterHandlerCurrentWriterIndexByVisibilityKey(value *CurrentWriterView) (string, bool)
- type CurrentWriterView
- type Input
- func (input *Input) PrepareReadIndexes(ctx context.Context) error
- func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)
- func (input *Input) SetConversations(value []*MutableConversationView)
- func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
- func (input *Input) SetOrphanColumn(value string)
- func (input *Input) SetOrphanDetach(value bool)
- func (input *Input) SetWriterKeys(value []WriterKeysRow)
- type InputHas
- type Lifecycle
- func (hooks *Lifecycle) AfterQueue(ctx context.Context, entity *MutableConversationView, ...) error
- func (hooks *Lifecycle) AfterSequence(ctx context.Context, entity *MutableConversationView, ...) error
- func (hooks *Lifecycle) Finalize(ctx context.Context, input *Input, output *Output, outcome xhandler.Outcome) error
- func (hooks *Lifecycle) Init(ctx context.Context, entity *MutableConversationView, ...) error
- func (hooks *Lifecycle) Validate(ctx context.Context, entity *MutableConversationView, ...) error
- type MutableConversationView
- func (entity *MutableConversationView) GetAgentId() *string
- func (entity *MutableConversationView) GetConversationParentId() *string
- func (entity *MutableConversationView) GetConversationParentTurnId() *string
- func (entity *MutableConversationView) GetCreatedAt() *time.Time
- func (entity *MutableConversationView) GetCreatedByUserId() *string
- func (entity *MutableConversationView) GetDefaultModel() *string
- func (entity *MutableConversationView) GetDefaultModelParams() *string
- func (entity *MutableConversationView) GetDefaultModelProvider() *string
- func (entity *MutableConversationView) GetExternalTaskRef() *string
- func (entity *MutableConversationView) GetId() string
- func (entity *MutableConversationView) GetLastActivity() *time.Time
- func (entity *MutableConversationView) GetMetadata() *string
- func (entity *MutableConversationView) GetProtocolMessagesJson() *string
- func (entity *MutableConversationView) GetProtocolOnly() *int
- func (entity *MutableConversationView) GetProtocolPrincipal() *string
- func (entity *MutableConversationView) GetProtocolRevision() *int
- func (entity *MutableConversationView) GetProtocolStateJson() *string
- func (entity *MutableConversationView) GetProtocolThreadId() *string
- func (entity *MutableConversationView) GetProtocolThreadKey() *string
- func (entity *MutableConversationView) GetScheduleCronExpr() *string
- func (entity *MutableConversationView) GetScheduleId() *string
- func (entity *MutableConversationView) GetScheduleKind() *string
- func (entity *MutableConversationView) GetScheduleRunId() *string
- func (entity *MutableConversationView) GetScheduleTimezone() *string
- func (entity *MutableConversationView) GetScheduled() *int
- func (entity *MutableConversationView) GetShareable() int
- func (entity *MutableConversationView) GetShouldDelete() bool
- func (entity *MutableConversationView) GetStatus() *string
- func (entity *MutableConversationView) GetSummary() *string
- func (entity *MutableConversationView) GetTitle() *string
- func (entity *MutableConversationView) GetUpdatedAt() *time.Time
- func (entity *MutableConversationView) GetUsageEmbeddingTokens() *int
- func (entity *MutableConversationView) GetUsageInputTokens() *int
- func (entity *MutableConversationView) GetUsageOutputTokens() *int
- func (entity *MutableConversationView) GetVisibility() *string
- func (entity *MutableConversationView) SetAgentId(value *string)
- func (entity *MutableConversationView) SetConversationParentId(value *string)
- func (entity *MutableConversationView) SetConversationParentTurnId(value *string)
- func (entity *MutableConversationView) SetCreatedAt(value *time.Time)
- func (entity *MutableConversationView) SetCreatedByUserId(value *string)
- func (entity *MutableConversationView) SetDefaultModel(value *string)
- func (entity *MutableConversationView) SetDefaultModelParams(value *string)
- func (entity *MutableConversationView) SetDefaultModelProvider(value *string)
- func (entity *MutableConversationView) SetExternalTaskRef(value *string)
- func (entity *MutableConversationView) SetId(value string)
- func (entity *MutableConversationView) SetLastActivity(value *time.Time)
- func (entity *MutableConversationView) SetMetadata(value *string)
- func (entity *MutableConversationView) SetProtocolMessagesJson(value *string)
- func (entity *MutableConversationView) SetProtocolOnly(value *int)
- func (entity *MutableConversationView) SetProtocolPrincipal(value *string)
- func (entity *MutableConversationView) SetProtocolRevision(value *int)
- func (entity *MutableConversationView) SetProtocolStateJson(value *string)
- func (entity *MutableConversationView) SetProtocolThreadId(value *string)
- func (entity *MutableConversationView) SetProtocolThreadKey(value *string)
- func (entity *MutableConversationView) SetScheduleCronExpr(value *string)
- func (entity *MutableConversationView) SetScheduleId(value *string)
- func (entity *MutableConversationView) SetScheduleKind(value *string)
- func (entity *MutableConversationView) SetScheduleRunId(value *string)
- func (entity *MutableConversationView) SetScheduleTimezone(value *string)
- func (entity *MutableConversationView) SetScheduled(value *int)
- func (entity *MutableConversationView) SetShareable(value int)
- func (entity *MutableConversationView) SetShouldDelete(value bool)
- func (entity *MutableConversationView) SetStatus(value *string)
- func (entity *MutableConversationView) SetSummary(value *string)
- func (entity *MutableConversationView) SetTitle(value *string)
- func (entity *MutableConversationView) SetUpdatedAt(value *time.Time)
- func (entity *MutableConversationView) SetUsageEmbeddingTokens(value *int)
- func (entity *MutableConversationView) SetUsageInputTokens(value *int)
- func (entity *MutableConversationView) SetUsageOutputTokens(value *int)
- func (entity *MutableConversationView) SetVisibility(value *string)
- type MutableConversationViewHas
- type Output
- type WriterComponent
- type WriterHandlerCurrentWriterGroupedByAgentId
- type WriterHandlerCurrentWriterGroupedByConversationParentId
- type WriterHandlerCurrentWriterGroupedByConversationParentTurnId
- type WriterHandlerCurrentWriterGroupedByCreatedAt
- type WriterHandlerCurrentWriterGroupedByCreatedByUserId
- type WriterHandlerCurrentWriterGroupedByDefaultModel
- type WriterHandlerCurrentWriterGroupedByDefaultModelParams
- type WriterHandlerCurrentWriterGroupedByDefaultModelProvider
- type WriterHandlerCurrentWriterGroupedByExternalTaskRef
- type WriterHandlerCurrentWriterGroupedById
- type WriterHandlerCurrentWriterGroupedByLastActivity
- type WriterHandlerCurrentWriterGroupedByMetadata
- type WriterHandlerCurrentWriterGroupedByProtocolMessagesJson
- type WriterHandlerCurrentWriterGroupedByProtocolOnly
- type WriterHandlerCurrentWriterGroupedByProtocolPrincipal
- type WriterHandlerCurrentWriterGroupedByProtocolRevision
- type WriterHandlerCurrentWriterGroupedByProtocolStateJson
- type WriterHandlerCurrentWriterGroupedByProtocolThreadId
- type WriterHandlerCurrentWriterGroupedByProtocolThreadKey
- type WriterHandlerCurrentWriterGroupedByScheduleCronExpr
- type WriterHandlerCurrentWriterGroupedByScheduleId
- type WriterHandlerCurrentWriterGroupedByScheduleKind
- type WriterHandlerCurrentWriterGroupedByScheduleRunId
- type WriterHandlerCurrentWriterGroupedByScheduleTimezone
- type WriterHandlerCurrentWriterGroupedByScheduled
- type WriterHandlerCurrentWriterGroupedByShareable
- type WriterHandlerCurrentWriterGroupedByStatus
- type WriterHandlerCurrentWriterGroupedBySummary
- type WriterHandlerCurrentWriterGroupedByTitle
- type WriterHandlerCurrentWriterGroupedByUpdatedAt
- type WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens
- type WriterHandlerCurrentWriterGroupedByUsageInputTokens
- type WriterHandlerCurrentWriterGroupedByUsageOutputTokens
- type WriterHandlerCurrentWriterGroupedByVisibility
- type WriterHandlerCurrentWriterIndexedByAgentId
- type WriterHandlerCurrentWriterIndexedByConversationParentId
- type WriterHandlerCurrentWriterIndexedByConversationParentTurnId
- type WriterHandlerCurrentWriterIndexedByCreatedAt
- type WriterHandlerCurrentWriterIndexedByCreatedByUserId
- type WriterHandlerCurrentWriterIndexedByDefaultModel
- type WriterHandlerCurrentWriterIndexedByDefaultModelParams
- type WriterHandlerCurrentWriterIndexedByDefaultModelProvider
- type WriterHandlerCurrentWriterIndexedByExternalTaskRef
- type WriterHandlerCurrentWriterIndexedById
- type WriterHandlerCurrentWriterIndexedByLastActivity
- type WriterHandlerCurrentWriterIndexedByMetadata
- type WriterHandlerCurrentWriterIndexedByProtocolMessagesJson
- type WriterHandlerCurrentWriterIndexedByProtocolOnly
- type WriterHandlerCurrentWriterIndexedByProtocolPrincipal
- type WriterHandlerCurrentWriterIndexedByProtocolRevision
- type WriterHandlerCurrentWriterIndexedByProtocolStateJson
- type WriterHandlerCurrentWriterIndexedByProtocolThreadId
- type WriterHandlerCurrentWriterIndexedByProtocolThreadKey
- type WriterHandlerCurrentWriterIndexedByScheduleCronExpr
- type WriterHandlerCurrentWriterIndexedByScheduleId
- type WriterHandlerCurrentWriterIndexedByScheduleKind
- type WriterHandlerCurrentWriterIndexedByScheduleRunId
- type WriterHandlerCurrentWriterIndexedByScheduleTimezone
- type WriterHandlerCurrentWriterIndexedByScheduled
- type WriterHandlerCurrentWriterIndexedByShareable
- type WriterHandlerCurrentWriterIndexedByStatus
- type WriterHandlerCurrentWriterIndexedBySummary
- type WriterHandlerCurrentWriterIndexedByTitle
- type WriterHandlerCurrentWriterIndexedByUpdatedAt
- type WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens
- type WriterHandlerCurrentWriterIndexedByUsageInputTokens
- type WriterHandlerCurrentWriterIndexedByUsageOutputTokens
- type WriterHandlerCurrentWriterIndexedByVisibility
- type WriterHandlerCurrentWriterSlice
- func (rows WriterHandlerCurrentWriterSlice) GroupByAgentId() WriterHandlerCurrentWriterGroupedByAgentId
- func (rows WriterHandlerCurrentWriterSlice) GroupByConversationParentId() WriterHandlerCurrentWriterGroupedByConversationParentId
- func (rows WriterHandlerCurrentWriterSlice) GroupByConversationParentTurnId() WriterHandlerCurrentWriterGroupedByConversationParentTurnId
- func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedByUserId() WriterHandlerCurrentWriterGroupedByCreatedByUserId
- func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModel() WriterHandlerCurrentWriterGroupedByDefaultModel
- func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModelParams() WriterHandlerCurrentWriterGroupedByDefaultModelParams
- func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModelProvider() WriterHandlerCurrentWriterGroupedByDefaultModelProvider
- func (rows WriterHandlerCurrentWriterSlice) GroupByExternalTaskRef() WriterHandlerCurrentWriterGroupedByExternalTaskRef
- func (rows WriterHandlerCurrentWriterSlice) GroupById() WriterHandlerCurrentWriterGroupedById
- func (rows WriterHandlerCurrentWriterSlice) GroupByLastActivity() WriterHandlerCurrentWriterGroupedByLastActivity
- func (rows WriterHandlerCurrentWriterSlice) GroupByMetadata() WriterHandlerCurrentWriterGroupedByMetadata
- func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolMessagesJson() WriterHandlerCurrentWriterGroupedByProtocolMessagesJson
- func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolOnly() WriterHandlerCurrentWriterGroupedByProtocolOnly
- func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolPrincipal() WriterHandlerCurrentWriterGroupedByProtocolPrincipal
- func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolRevision() WriterHandlerCurrentWriterGroupedByProtocolRevision
- func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolStateJson() WriterHandlerCurrentWriterGroupedByProtocolStateJson
- func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolThreadId() WriterHandlerCurrentWriterGroupedByProtocolThreadId
- func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolThreadKey() WriterHandlerCurrentWriterGroupedByProtocolThreadKey
- func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleCronExpr() WriterHandlerCurrentWriterGroupedByScheduleCronExpr
- func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleId() WriterHandlerCurrentWriterGroupedByScheduleId
- func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleKind() WriterHandlerCurrentWriterGroupedByScheduleKind
- func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleRunId() WriterHandlerCurrentWriterGroupedByScheduleRunId
- func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleTimezone() WriterHandlerCurrentWriterGroupedByScheduleTimezone
- func (rows WriterHandlerCurrentWriterSlice) GroupByScheduled() WriterHandlerCurrentWriterGroupedByScheduled
- func (rows WriterHandlerCurrentWriterSlice) GroupByShareable() WriterHandlerCurrentWriterGroupedByShareable
- func (rows WriterHandlerCurrentWriterSlice) GroupByStatus() WriterHandlerCurrentWriterGroupedByStatus
- func (rows WriterHandlerCurrentWriterSlice) GroupBySummary() WriterHandlerCurrentWriterGroupedBySummary
- func (rows WriterHandlerCurrentWriterSlice) GroupByTitle() WriterHandlerCurrentWriterGroupedByTitle
- func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
- func (rows WriterHandlerCurrentWriterSlice) GroupByUsageEmbeddingTokens() WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens
- func (rows WriterHandlerCurrentWriterSlice) GroupByUsageInputTokens() WriterHandlerCurrentWriterGroupedByUsageInputTokens
- func (rows WriterHandlerCurrentWriterSlice) GroupByUsageOutputTokens() WriterHandlerCurrentWriterGroupedByUsageOutputTokens
- func (rows WriterHandlerCurrentWriterSlice) GroupByVisibility() WriterHandlerCurrentWriterGroupedByVisibility
- func (rows WriterHandlerCurrentWriterSlice) IndexByAgentId() (WriterHandlerCurrentWriterIndexedByAgentId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByConversationParentId() (WriterHandlerCurrentWriterIndexedByConversationParentId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByConversationParentTurnId() (WriterHandlerCurrentWriterIndexedByConversationParentTurnId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedByUserId() (WriterHandlerCurrentWriterIndexedByCreatedByUserId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModel() (WriterHandlerCurrentWriterIndexedByDefaultModel, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModelParams() (WriterHandlerCurrentWriterIndexedByDefaultModelParams, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModelProvider() (WriterHandlerCurrentWriterIndexedByDefaultModelProvider, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByExternalTaskRef() (WriterHandlerCurrentWriterIndexedByExternalTaskRef, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexById() (WriterHandlerCurrentWriterIndexedById, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByLastActivity() (WriterHandlerCurrentWriterIndexedByLastActivity, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByMetadata() (WriterHandlerCurrentWriterIndexedByMetadata, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolMessagesJson() (WriterHandlerCurrentWriterIndexedByProtocolMessagesJson, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolOnly() (WriterHandlerCurrentWriterIndexedByProtocolOnly, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolPrincipal() (WriterHandlerCurrentWriterIndexedByProtocolPrincipal, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolRevision() (WriterHandlerCurrentWriterIndexedByProtocolRevision, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolStateJson() (WriterHandlerCurrentWriterIndexedByProtocolStateJson, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolThreadId() (WriterHandlerCurrentWriterIndexedByProtocolThreadId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolThreadKey() (WriterHandlerCurrentWriterIndexedByProtocolThreadKey, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleCronExpr() (WriterHandlerCurrentWriterIndexedByScheduleCronExpr, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleId() (WriterHandlerCurrentWriterIndexedByScheduleId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleKind() (WriterHandlerCurrentWriterIndexedByScheduleKind, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleRunId() (WriterHandlerCurrentWriterIndexedByScheduleRunId, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleTimezone() (WriterHandlerCurrentWriterIndexedByScheduleTimezone, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByScheduled() (WriterHandlerCurrentWriterIndexedByScheduled, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByShareable() (WriterHandlerCurrentWriterIndexedByShareable, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByStatus() (WriterHandlerCurrentWriterIndexedByStatus, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexBySummary() (WriterHandlerCurrentWriterIndexedBySummary, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByTitle() (WriterHandlerCurrentWriterIndexedByTitle, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUsageEmbeddingTokens() (WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUsageInputTokens() (WriterHandlerCurrentWriterIndexedByUsageInputTokens, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByUsageOutputTokens() (WriterHandlerCurrentWriterIndexedByUsageOutputTokens, error)
- func (rows WriterHandlerCurrentWriterSlice) IndexByVisibility() (WriterHandlerCurrentWriterIndexedByVisibility, error)
- type WriterHandlerReadIndexes
- type WriterKeysRow
Constants ¶
View Source
const WriterDatlyResourceNamespace = "datly_conversation_write_writer"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ( LifecycleHooks = new(Lifecycle) LifecycleDatly = LifecycleDatlyType() )
View Source
var WriterDatly = new(WriterComponent)
The public value supports explicit component wiring.
View Source
var WriterDatlyResources embed.FS
Functions ¶
func LifecycleDatlyType ¶
func WriterDatlyType ¶
WriterDatlyType returns the public component type.
func WriterHandlerCurrentWriterIndexByAgentIdKey ¶
func WriterHandlerCurrentWriterIndexByAgentIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByConversationParentIdKey ¶
func WriterHandlerCurrentWriterIndexByConversationParentIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByConversationParentTurnIdKey ¶
func WriterHandlerCurrentWriterIndexByConversationParentTurnIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByCreatedAtKey ¶
func WriterHandlerCurrentWriterIndexByCreatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByCreatedByUserIdKey ¶
func WriterHandlerCurrentWriterIndexByCreatedByUserIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByDefaultModelKey ¶
func WriterHandlerCurrentWriterIndexByDefaultModelKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByDefaultModelParamsKey ¶
func WriterHandlerCurrentWriterIndexByDefaultModelParamsKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByDefaultModelProviderKey ¶
func WriterHandlerCurrentWriterIndexByDefaultModelProviderKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByExternalTaskRefKey ¶
func WriterHandlerCurrentWriterIndexByExternalTaskRefKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByIdKey ¶
func WriterHandlerCurrentWriterIndexByIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByLastActivityKey ¶
func WriterHandlerCurrentWriterIndexByLastActivityKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByMetadataKey ¶
func WriterHandlerCurrentWriterIndexByMetadataKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByProtocolMessagesJsonKey ¶
func WriterHandlerCurrentWriterIndexByProtocolMessagesJsonKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByProtocolOnlyKey ¶
func WriterHandlerCurrentWriterIndexByProtocolOnlyKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByProtocolPrincipalKey ¶
func WriterHandlerCurrentWriterIndexByProtocolPrincipalKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByProtocolRevisionKey ¶
func WriterHandlerCurrentWriterIndexByProtocolRevisionKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByProtocolStateJsonKey ¶
func WriterHandlerCurrentWriterIndexByProtocolStateJsonKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByProtocolThreadIdKey ¶
func WriterHandlerCurrentWriterIndexByProtocolThreadIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByProtocolThreadKeyKey ¶
func WriterHandlerCurrentWriterIndexByProtocolThreadKeyKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByScheduleCronExprKey ¶
func WriterHandlerCurrentWriterIndexByScheduleCronExprKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByScheduleIdKey ¶
func WriterHandlerCurrentWriterIndexByScheduleIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByScheduleKindKey ¶
func WriterHandlerCurrentWriterIndexByScheduleKindKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByScheduleRunIdKey ¶
func WriterHandlerCurrentWriterIndexByScheduleRunIdKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByScheduleTimezoneKey ¶
func WriterHandlerCurrentWriterIndexByScheduleTimezoneKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByScheduledKey ¶
func WriterHandlerCurrentWriterIndexByScheduledKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByShareableKey ¶
func WriterHandlerCurrentWriterIndexByShareableKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByStatusKey ¶
func WriterHandlerCurrentWriterIndexByStatusKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexBySummaryKey ¶
func WriterHandlerCurrentWriterIndexBySummaryKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByTitleKey ¶
func WriterHandlerCurrentWriterIndexByTitleKey(value *CurrentWriterView) (string, bool)
func WriterHandlerCurrentWriterIndexByUpdatedAtKey ¶
func WriterHandlerCurrentWriterIndexByUpdatedAtKey(value *CurrentWriterView) (time.Time, bool)
func WriterHandlerCurrentWriterIndexByUsageEmbeddingTokensKey ¶
func WriterHandlerCurrentWriterIndexByUsageEmbeddingTokensKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByUsageInputTokensKey ¶
func WriterHandlerCurrentWriterIndexByUsageInputTokensKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByUsageOutputTokensKey ¶
func WriterHandlerCurrentWriterIndexByUsageOutputTokensKey(value *CurrentWriterView) (int, bool)
func WriterHandlerCurrentWriterIndexByVisibilityKey ¶
func WriterHandlerCurrentWriterIndexByVisibilityKey(value *CurrentWriterView) (string, bool)
Types ¶
type CurrentWriterView ¶
type CurrentWriterView struct {
Id string `validate:"required" sqlx:"id,primaryKey" json:"id"`
ProtocolOnly *int `sqlx:"protocol_only,required=true" json:"protocolOnly,omitempty"`
ProtocolThreadKey *string `sqlx:"protocol_thread_key" json:"protocolThreadKey,omitempty"`
ProtocolThreadId *string `sqlx:"protocol_thread_id" json:"protocolThreadId,omitempty"`
ProtocolPrincipal *string `sqlx:"protocol_principal" json:"protocolPrincipal,omitempty"`
ProtocolRevision *int `sqlx:"protocol_revision,required=true" json:"protocolRevision,omitempty"`
ProtocolStateJson *string `sqlx:"protocol_state_json" json:"protocolStateJson,omitempty"`
ProtocolMessagesJson *string `sqlx:"protocol_messages_json" json:"protocolMessagesJson,omitempty"`
Summary *string `sqlx:"summary" json:"summary,omitempty"`
LastActivity *time.Time `sqlx:"last_activity" json:"lastActivity,omitempty"`
UsageInputTokens *int `sqlx:"usage_input_tokens" json:"usageInputTokens,omitempty"`
UsageOutputTokens *int `sqlx:"usage_output_tokens" json:"usageOutputTokens,omitempty"`
UsageEmbeddingTokens *int `sqlx:"usage_embedding_tokens" json:"usageEmbeddingTokens,omitempty"`
CreatedAt *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
UpdatedAt *time.Time `sqlx:"updated_at" json:"updatedAt,omitempty"`
CreatedByUserId *string `sqlx:"created_by_user_id" json:"createdByUserId,omitempty"`
AgentId *string `sqlx:"agent_id" json:"agentId,omitempty"`
DefaultModelProvider *string `sqlx:"default_model_provider" json:"defaultModelProvider,omitempty"`
DefaultModel *string `sqlx:"default_model" json:"defaultModel,omitempty"`
DefaultModelParams *string `sqlx:"default_model_params" json:"defaultModelParams,omitempty"`
Title *string `sqlx:"title" json:"title,omitempty"`
ConversationParentId *string `sqlx:"conversation_parent_id" json:"conversationParentId,omitempty"`
ConversationParentTurnId *string `sqlx:"conversation_parent_turn_id" json:"conversationParentTurnId,omitempty"`
Metadata *string `sqlx:"metadata" json:"metadata,omitempty"`
Visibility *string `sqlx:"visibility,required=true" json:"visibility,omitempty"`
Status *string `sqlx:"status" json:"status,omitempty"`
Scheduled *int `sqlx:"scheduled" json:"scheduled,omitempty"`
ScheduleId *string `sqlx:"schedule_id" json:"scheduleId,omitempty"`
ScheduleRunId *string `sqlx:"schedule_run_id" json:"scheduleRunId,omitempty"`
ScheduleKind *string `sqlx:"schedule_kind" json:"scheduleKind,omitempty"`
ScheduleTimezone *string `sqlx:"schedule_timezone" json:"scheduleTimezone,omitempty"`
ScheduleCronExpr *string `sqlx:"schedule_cron_expr" json:"scheduleCronExpr,omitempty"`
ExternalTaskRef *string `sqlx:"external_task_ref" json:"externalTaskRef,omitempty"`
}
CurrentWriterView is generated canonical view metadata for writer.
type Input ¶
type Input struct {
OrphanDetach bool `parameter:"OrphanDetach,kind=orphandetach,in=enabledDetach,dataType=bool,required=false"`
OrphanColumn string `parameter:"OrphanColumn,kind=orphandetach,in=column,dataType=string,required=false"`
Conversations []*MutableConversationView `` /* 244-byte string literal not displayed */
WriterKeys []WriterKeysRow `` /* 142-byte string literal not displayed */
CurrentWriter []*CurrentWriterView `` /* 174-byte string literal not displayed */
Has *InputHas `setMarker:"true" typeName:"InputHas" json:"-" sqlx:"-"`
// contains filtered or unexported fields
}
Input is the generated input scaffold for writer.
func (*Input) PrepareReadIndexes ¶
func (*Input) ReadIndexes ¶
func (input *Input) ReadIndexes(ctx context.Context) (*WriterHandlerReadIndexes, error)
func (*Input) SetConversations ¶
func (input *Input) SetConversations(value []*MutableConversationView)
func (*Input) SetCurrentWriter ¶
func (input *Input) SetCurrentWriter(value []*CurrentWriterView)
func (*Input) SetOrphanColumn ¶
func (*Input) SetOrphanDetach ¶
func (*Input) SetWriterKeys ¶
func (input *Input) SetWriterKeys(value []WriterKeysRow)
type Lifecycle ¶
type Lifecycle struct {
Input *Input `bind:"kind=input"`
}
Lifecycle customizes role Input.Conversations.
func (*Lifecycle) AfterQueue ¶
func (hooks *Lifecycle) AfterQueue(ctx context.Context, entity *MutableConversationView, state xhandler.LifecycleContext[MutableConversationView, xhandler.NoParent, Output]) error
func (*Lifecycle) AfterSequence ¶
func (hooks *Lifecycle) AfterSequence(ctx context.Context, entity *MutableConversationView, state xhandler.LifecycleContext[MutableConversationView, xhandler.NoParent, Output]) error
func (*Lifecycle) Init ¶
func (hooks *Lifecycle) Init(ctx context.Context, entity *MutableConversationView, state xhandler.LifecycleContext[MutableConversationView, xhandler.NoParent, Output]) error
func (*Lifecycle) Validate ¶
func (hooks *Lifecycle) Validate(ctx context.Context, entity *MutableConversationView, state xhandler.LifecycleContext[MutableConversationView, xhandler.NoParent, Output]) error
type MutableConversationView ¶
type MutableConversationView struct {
ShouldDelete bool `sqlx:"-" writer:"delete" json:"shouldDelete,omitempty"`
Id string `validate:"required" sqlx:"id,primaryKey" json:"id"`
ProtocolOnly *int `sqlx:"protocol_only,required=true" json:"protocolOnly,omitempty"`
ProtocolThreadKey *string `sqlx:"protocol_thread_key" json:"protocolThreadKey,omitempty"`
ProtocolThreadId *string `sqlx:"protocol_thread_id" json:"protocolThreadId,omitempty"`
ProtocolPrincipal *string `sqlx:"protocol_principal" json:"protocolPrincipal,omitempty"`
ProtocolRevision *int `sqlx:"protocol_revision,required=true" json:"protocolRevision,omitempty"`
ProtocolStateJson *string `sqlx:"protocol_state_json" json:"protocolStateJson,omitempty"`
ProtocolMessagesJson *string `sqlx:"protocol_messages_json" json:"protocolMessagesJson,omitempty"`
Summary *string `sqlx:"summary" json:"summary,omitempty"`
LastActivity *time.Time `sqlx:"last_activity" json:"lastActivity,omitempty"`
UsageInputTokens *int `sqlx:"usage_input_tokens" json:"usageInputTokens,omitempty"`
UsageOutputTokens *int `sqlx:"usage_output_tokens" json:"usageOutputTokens,omitempty"`
UsageEmbeddingTokens *int `sqlx:"usage_embedding_tokens" json:"usageEmbeddingTokens,omitempty"`
CreatedAt *time.Time `sqlx:"created_at,required=true" json:"createdAt,omitempty"`
UpdatedAt *time.Time `sqlx:"updated_at" json:"updatedAt,omitempty"`
CreatedByUserId *string `sqlx:"created_by_user_id" json:"createdByUserId,omitempty"`
AgentId *string `sqlx:"agent_id" json:"agentId,omitempty"`
DefaultModelProvider *string `sqlx:"default_model_provider" json:"defaultModelProvider,omitempty"`
DefaultModel *string `sqlx:"default_model" json:"defaultModel,omitempty"`
DefaultModelParams *string `sqlx:"default_model_params" json:"defaultModelParams,omitempty"`
Title *string `sqlx:"title" json:"title,omitempty"`
ConversationParentId *string `sqlx:"conversation_parent_id" json:"conversationParentId,omitempty"`
ConversationParentTurnId *string `sqlx:"conversation_parent_turn_id" json:"conversationParentTurnId,omitempty"`
Metadata *string `sqlx:"metadata" json:"metadata,omitempty"`
Visibility *string `sqlx:"visibility,required=true" json:"visibility,omitempty"`
Status *string `sqlx:"status" json:"status,omitempty"`
Scheduled *int `sqlx:"scheduled" json:"scheduled,omitempty"`
ScheduleId *string `sqlx:"schedule_id" json:"scheduleId,omitempty"`
ScheduleRunId *string `sqlx:"schedule_run_id" json:"scheduleRunId,omitempty"`
ScheduleKind *string `sqlx:"schedule_kind" json:"scheduleKind,omitempty"`
ScheduleTimezone *string `sqlx:"schedule_timezone" json:"scheduleTimezone,omitempty"`
ScheduleCronExpr *string `sqlx:"schedule_cron_expr" json:"scheduleCronExpr,omitempty"`
ExternalTaskRef *string `sqlx:"external_task_ref" json:"externalTaskRef,omitempty"`
Has *MutableConversationViewHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-" typeName:"MutableConversationViewHas"`
}
MutableConversationView is generated canonical view metadata for writer.
func (*MutableConversationView) GetAgentId ¶
func (entity *MutableConversationView) GetAgentId() *string
func (*MutableConversationView) GetConversationParentId ¶
func (entity *MutableConversationView) GetConversationParentId() *string
func (*MutableConversationView) GetConversationParentTurnId ¶
func (entity *MutableConversationView) GetConversationParentTurnId() *string
func (*MutableConversationView) GetCreatedAt ¶
func (entity *MutableConversationView) GetCreatedAt() *time.Time
func (*MutableConversationView) GetCreatedByUserId ¶
func (entity *MutableConversationView) GetCreatedByUserId() *string
func (*MutableConversationView) GetDefaultModel ¶
func (entity *MutableConversationView) GetDefaultModel() *string
func (*MutableConversationView) GetDefaultModelParams ¶
func (entity *MutableConversationView) GetDefaultModelParams() *string
func (*MutableConversationView) GetDefaultModelProvider ¶
func (entity *MutableConversationView) GetDefaultModelProvider() *string
func (*MutableConversationView) GetExternalTaskRef ¶
func (entity *MutableConversationView) GetExternalTaskRef() *string
func (*MutableConversationView) GetId ¶
func (entity *MutableConversationView) GetId() string
func (*MutableConversationView) GetLastActivity ¶
func (entity *MutableConversationView) GetLastActivity() *time.Time
func (*MutableConversationView) GetMetadata ¶
func (entity *MutableConversationView) GetMetadata() *string
func (*MutableConversationView) GetProtocolMessagesJson ¶
func (entity *MutableConversationView) GetProtocolMessagesJson() *string
func (*MutableConversationView) GetProtocolOnly ¶
func (entity *MutableConversationView) GetProtocolOnly() *int
func (*MutableConversationView) GetProtocolPrincipal ¶
func (entity *MutableConversationView) GetProtocolPrincipal() *string
func (*MutableConversationView) GetProtocolRevision ¶
func (entity *MutableConversationView) GetProtocolRevision() *int
func (*MutableConversationView) GetProtocolStateJson ¶
func (entity *MutableConversationView) GetProtocolStateJson() *string
func (*MutableConversationView) GetProtocolThreadId ¶
func (entity *MutableConversationView) GetProtocolThreadId() *string
func (*MutableConversationView) GetProtocolThreadKey ¶
func (entity *MutableConversationView) GetProtocolThreadKey() *string
func (*MutableConversationView) GetScheduleCronExpr ¶
func (entity *MutableConversationView) GetScheduleCronExpr() *string
func (*MutableConversationView) GetScheduleId ¶
func (entity *MutableConversationView) GetScheduleId() *string
func (*MutableConversationView) GetScheduleKind ¶
func (entity *MutableConversationView) GetScheduleKind() *string
func (*MutableConversationView) GetScheduleRunId ¶
func (entity *MutableConversationView) GetScheduleRunId() *string
func (*MutableConversationView) GetScheduleTimezone ¶
func (entity *MutableConversationView) GetScheduleTimezone() *string
func (*MutableConversationView) GetScheduled ¶
func (entity *MutableConversationView) GetScheduled() *int
func (*MutableConversationView) GetShareable ¶
func (entity *MutableConversationView) GetShareable() int
func (*MutableConversationView) GetShouldDelete ¶
func (entity *MutableConversationView) GetShouldDelete() bool
func (*MutableConversationView) GetStatus ¶
func (entity *MutableConversationView) GetStatus() *string
func (*MutableConversationView) GetSummary ¶
func (entity *MutableConversationView) GetSummary() *string
func (*MutableConversationView) GetTitle ¶
func (entity *MutableConversationView) GetTitle() *string
func (*MutableConversationView) GetUpdatedAt ¶
func (entity *MutableConversationView) GetUpdatedAt() *time.Time
func (*MutableConversationView) GetUsageEmbeddingTokens ¶
func (entity *MutableConversationView) GetUsageEmbeddingTokens() *int
func (*MutableConversationView) GetUsageInputTokens ¶
func (entity *MutableConversationView) GetUsageInputTokens() *int
func (*MutableConversationView) GetUsageOutputTokens ¶
func (entity *MutableConversationView) GetUsageOutputTokens() *int
func (*MutableConversationView) GetVisibility ¶
func (entity *MutableConversationView) GetVisibility() *string
func (*MutableConversationView) SetAgentId ¶
func (entity *MutableConversationView) SetAgentId(value *string)
func (*MutableConversationView) SetConversationParentId ¶
func (entity *MutableConversationView) SetConversationParentId(value *string)
func (*MutableConversationView) SetConversationParentTurnId ¶
func (entity *MutableConversationView) SetConversationParentTurnId(value *string)
func (*MutableConversationView) SetCreatedAt ¶
func (entity *MutableConversationView) SetCreatedAt(value *time.Time)
func (*MutableConversationView) SetCreatedByUserId ¶
func (entity *MutableConversationView) SetCreatedByUserId(value *string)
func (*MutableConversationView) SetDefaultModel ¶
func (entity *MutableConversationView) SetDefaultModel(value *string)
func (*MutableConversationView) SetDefaultModelParams ¶
func (entity *MutableConversationView) SetDefaultModelParams(value *string)
func (*MutableConversationView) SetDefaultModelProvider ¶
func (entity *MutableConversationView) SetDefaultModelProvider(value *string)
func (*MutableConversationView) SetExternalTaskRef ¶
func (entity *MutableConversationView) SetExternalTaskRef(value *string)
func (*MutableConversationView) SetId ¶
func (entity *MutableConversationView) SetId(value string)
func (*MutableConversationView) SetLastActivity ¶
func (entity *MutableConversationView) SetLastActivity(value *time.Time)
func (*MutableConversationView) SetMetadata ¶
func (entity *MutableConversationView) SetMetadata(value *string)
func (*MutableConversationView) SetProtocolMessagesJson ¶
func (entity *MutableConversationView) SetProtocolMessagesJson(value *string)
func (*MutableConversationView) SetProtocolOnly ¶
func (entity *MutableConversationView) SetProtocolOnly(value *int)
func (*MutableConversationView) SetProtocolPrincipal ¶
func (entity *MutableConversationView) SetProtocolPrincipal(value *string)
func (*MutableConversationView) SetProtocolRevision ¶
func (entity *MutableConversationView) SetProtocolRevision(value *int)
func (*MutableConversationView) SetProtocolStateJson ¶
func (entity *MutableConversationView) SetProtocolStateJson(value *string)
func (*MutableConversationView) SetProtocolThreadId ¶
func (entity *MutableConversationView) SetProtocolThreadId(value *string)
func (*MutableConversationView) SetProtocolThreadKey ¶
func (entity *MutableConversationView) SetProtocolThreadKey(value *string)
func (*MutableConversationView) SetScheduleCronExpr ¶
func (entity *MutableConversationView) SetScheduleCronExpr(value *string)
func (*MutableConversationView) SetScheduleId ¶
func (entity *MutableConversationView) SetScheduleId(value *string)
func (*MutableConversationView) SetScheduleKind ¶
func (entity *MutableConversationView) SetScheduleKind(value *string)
func (*MutableConversationView) SetScheduleRunId ¶
func (entity *MutableConversationView) SetScheduleRunId(value *string)
func (*MutableConversationView) SetScheduleTimezone ¶
func (entity *MutableConversationView) SetScheduleTimezone(value *string)
func (*MutableConversationView) SetScheduled ¶
func (entity *MutableConversationView) SetScheduled(value *int)
func (*MutableConversationView) SetShareable ¶
func (entity *MutableConversationView) SetShareable(value int)
func (*MutableConversationView) SetShouldDelete ¶
func (entity *MutableConversationView) SetShouldDelete(value bool)
func (*MutableConversationView) SetStatus ¶
func (entity *MutableConversationView) SetStatus(value *string)
func (*MutableConversationView) SetSummary ¶
func (entity *MutableConversationView) SetSummary(value *string)
func (*MutableConversationView) SetTitle ¶
func (entity *MutableConversationView) SetTitle(value *string)
func (*MutableConversationView) SetUpdatedAt ¶
func (entity *MutableConversationView) SetUpdatedAt(value *time.Time)
func (*MutableConversationView) SetUsageEmbeddingTokens ¶
func (entity *MutableConversationView) SetUsageEmbeddingTokens(value *int)
func (*MutableConversationView) SetUsageInputTokens ¶
func (entity *MutableConversationView) SetUsageInputTokens(value *int)
func (*MutableConversationView) SetUsageOutputTokens ¶
func (entity *MutableConversationView) SetUsageOutputTokens(value *int)
func (*MutableConversationView) SetVisibility ¶
func (entity *MutableConversationView) SetVisibility(value *string)
type MutableConversationViewHas ¶
type MutableConversationViewHas struct {
ShouldDelete bool
Id bool
ProtocolOnly bool
ProtocolThreadKey bool
ProtocolThreadId bool
ProtocolPrincipal bool
ProtocolRevision bool
ProtocolStateJson bool
ProtocolMessagesJson bool
Summary bool
LastActivity bool
UsageInputTokens bool
UsageOutputTokens bool
UsageEmbeddingTokens bool
CreatedAt bool
UpdatedAt bool
CreatedByUserId bool
AgentId bool
DefaultModelProvider bool
DefaultModel bool
DefaultModelParams bool
Title bool
ConversationParentId bool
ConversationParentTurnId bool
Metadata bool
Visibility bool
Status bool
Scheduled bool
ScheduleId bool
ScheduleRunId bool
ScheduleKind bool
ScheduleTimezone bool
ScheduleCronExpr bool
ExternalTaskRef bool
}
type Output ¶
type Output struct {
Data []*MutableConversationView `parameter:"Data,kind=output,in=body,dataType=[]*MutableConversationView" json:"data,omitempty"`
}
Output is the generated output scaffold for writer.
type WriterComponent ¶
type WriterComponent struct {
Contract xdatly.Component[Input, Output] "" /* 169-byte string literal not displayed */
}
Component is the generated component scaffold for writer.
func (WriterComponent) EmbedFS ¶
func (WriterComponent) EmbedFS() *embed.FS
func (WriterComponent) EmbedNamespace ¶
func (WriterComponent) EmbedNamespace() string
type WriterHandlerCurrentWriterGroupedByAgentId ¶
type WriterHandlerCurrentWriterGroupedByAgentId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByAgentId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByAgentId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByConversationParentId ¶
type WriterHandlerCurrentWriterGroupedByConversationParentId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByConversationParentId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByConversationParentId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByConversationParentTurnId ¶
type WriterHandlerCurrentWriterGroupedByConversationParentTurnId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByConversationParentTurnId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByConversationParentTurnId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByCreatedAt ¶
type WriterHandlerCurrentWriterGroupedByCreatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByCreatedByUserId ¶
type WriterHandlerCurrentWriterGroupedByCreatedByUserId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByCreatedByUserId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByCreatedByUserId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByDefaultModel ¶
type WriterHandlerCurrentWriterGroupedByDefaultModel map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDefaultModel) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDefaultModel) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByDefaultModelParams ¶
type WriterHandlerCurrentWriterGroupedByDefaultModelParams map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDefaultModelParams) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDefaultModelParams) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByDefaultModelProvider ¶
type WriterHandlerCurrentWriterGroupedByDefaultModelProvider map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByDefaultModelProvider) Has ¶
func (index WriterHandlerCurrentWriterGroupedByDefaultModelProvider) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByExternalTaskRef ¶
type WriterHandlerCurrentWriterGroupedByExternalTaskRef map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByExternalTaskRef) Has ¶
func (index WriterHandlerCurrentWriterGroupedByExternalTaskRef) Has(key string) bool
type WriterHandlerCurrentWriterGroupedById ¶
type WriterHandlerCurrentWriterGroupedById map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedById) Has ¶
func (index WriterHandlerCurrentWriterGroupedById) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByLastActivity ¶
type WriterHandlerCurrentWriterGroupedByLastActivity map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByMetadata ¶
type WriterHandlerCurrentWriterGroupedByMetadata map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByMetadata) Has ¶
func (index WriterHandlerCurrentWriterGroupedByMetadata) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByProtocolMessagesJson ¶
type WriterHandlerCurrentWriterGroupedByProtocolMessagesJson map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProtocolMessagesJson) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProtocolMessagesJson) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByProtocolOnly ¶
type WriterHandlerCurrentWriterGroupedByProtocolOnly map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProtocolOnly) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProtocolOnly) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByProtocolPrincipal ¶
type WriterHandlerCurrentWriterGroupedByProtocolPrincipal map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProtocolPrincipal) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProtocolPrincipal) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByProtocolRevision ¶
type WriterHandlerCurrentWriterGroupedByProtocolRevision map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProtocolRevision) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProtocolRevision) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByProtocolStateJson ¶
type WriterHandlerCurrentWriterGroupedByProtocolStateJson map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProtocolStateJson) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProtocolStateJson) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByProtocolThreadId ¶
type WriterHandlerCurrentWriterGroupedByProtocolThreadId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProtocolThreadId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProtocolThreadId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByProtocolThreadKey ¶
type WriterHandlerCurrentWriterGroupedByProtocolThreadKey map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByProtocolThreadKey) Has ¶
func (index WriterHandlerCurrentWriterGroupedByProtocolThreadKey) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByScheduleCronExpr ¶
type WriterHandlerCurrentWriterGroupedByScheduleCronExpr map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByScheduleCronExpr) Has ¶
func (index WriterHandlerCurrentWriterGroupedByScheduleCronExpr) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByScheduleId ¶
type WriterHandlerCurrentWriterGroupedByScheduleId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByScheduleId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByScheduleId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByScheduleKind ¶
type WriterHandlerCurrentWriterGroupedByScheduleKind map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByScheduleKind) Has ¶
func (index WriterHandlerCurrentWriterGroupedByScheduleKind) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByScheduleRunId ¶
type WriterHandlerCurrentWriterGroupedByScheduleRunId map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByScheduleRunId) Has ¶
func (index WriterHandlerCurrentWriterGroupedByScheduleRunId) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByScheduleTimezone ¶
type WriterHandlerCurrentWriterGroupedByScheduleTimezone map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByScheduleTimezone) Has ¶
func (index WriterHandlerCurrentWriterGroupedByScheduleTimezone) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByScheduled ¶
type WriterHandlerCurrentWriterGroupedByScheduled map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByScheduled) Has ¶
func (index WriterHandlerCurrentWriterGroupedByScheduled) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByShareable ¶
type WriterHandlerCurrentWriterGroupedByShareable map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByShareable) Has ¶
func (index WriterHandlerCurrentWriterGroupedByShareable) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByStatus ¶
type WriterHandlerCurrentWriterGroupedByStatus map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByStatus) Has ¶
func (index WriterHandlerCurrentWriterGroupedByStatus) Has(key string) bool
type WriterHandlerCurrentWriterGroupedBySummary ¶
type WriterHandlerCurrentWriterGroupedBySummary map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedBySummary) Has ¶
func (index WriterHandlerCurrentWriterGroupedBySummary) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByTitle ¶
type WriterHandlerCurrentWriterGroupedByTitle map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByTitle) Has ¶
func (index WriterHandlerCurrentWriterGroupedByTitle) Has(key string) bool
type WriterHandlerCurrentWriterGroupedByUpdatedAt ¶
type WriterHandlerCurrentWriterGroupedByUpdatedAt map[time.Time][]*CurrentWriterView
type WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens ¶
type WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens) Has ¶
func (index WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByUsageInputTokens ¶
type WriterHandlerCurrentWriterGroupedByUsageInputTokens map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByUsageInputTokens) Has ¶
func (index WriterHandlerCurrentWriterGroupedByUsageInputTokens) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByUsageOutputTokens ¶
type WriterHandlerCurrentWriterGroupedByUsageOutputTokens map[int][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByUsageOutputTokens) Has ¶
func (index WriterHandlerCurrentWriterGroupedByUsageOutputTokens) Has(key int) bool
type WriterHandlerCurrentWriterGroupedByVisibility ¶
type WriterHandlerCurrentWriterGroupedByVisibility map[string][]*CurrentWriterView
func (WriterHandlerCurrentWriterGroupedByVisibility) Has ¶
func (index WriterHandlerCurrentWriterGroupedByVisibility) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByAgentId ¶
type WriterHandlerCurrentWriterIndexedByAgentId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByAgentId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByAgentId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByConversationParentId ¶
type WriterHandlerCurrentWriterIndexedByConversationParentId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByConversationParentId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByConversationParentId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByConversationParentTurnId ¶
type WriterHandlerCurrentWriterIndexedByConversationParentTurnId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByConversationParentTurnId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByConversationParentTurnId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByCreatedAt ¶
type WriterHandlerCurrentWriterIndexedByCreatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByCreatedByUserId ¶
type WriterHandlerCurrentWriterIndexedByCreatedByUserId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByCreatedByUserId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByCreatedByUserId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByDefaultModel ¶
type WriterHandlerCurrentWriterIndexedByDefaultModel map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDefaultModel) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDefaultModel) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByDefaultModelParams ¶
type WriterHandlerCurrentWriterIndexedByDefaultModelParams map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDefaultModelParams) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDefaultModelParams) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByDefaultModelProvider ¶
type WriterHandlerCurrentWriterIndexedByDefaultModelProvider map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByDefaultModelProvider) Has ¶
func (index WriterHandlerCurrentWriterIndexedByDefaultModelProvider) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByExternalTaskRef ¶
type WriterHandlerCurrentWriterIndexedByExternalTaskRef map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByExternalTaskRef) Has ¶
func (index WriterHandlerCurrentWriterIndexedByExternalTaskRef) Has(key string) bool
type WriterHandlerCurrentWriterIndexedById ¶
type WriterHandlerCurrentWriterIndexedById map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedById) Has ¶
func (index WriterHandlerCurrentWriterIndexedById) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByLastActivity ¶
type WriterHandlerCurrentWriterIndexedByLastActivity map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByMetadata ¶
type WriterHandlerCurrentWriterIndexedByMetadata map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByMetadata) Has ¶
func (index WriterHandlerCurrentWriterIndexedByMetadata) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByProtocolMessagesJson ¶
type WriterHandlerCurrentWriterIndexedByProtocolMessagesJson map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProtocolMessagesJson) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProtocolMessagesJson) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByProtocolOnly ¶
type WriterHandlerCurrentWriterIndexedByProtocolOnly map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProtocolOnly) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProtocolOnly) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByProtocolPrincipal ¶
type WriterHandlerCurrentWriterIndexedByProtocolPrincipal map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProtocolPrincipal) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProtocolPrincipal) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByProtocolRevision ¶
type WriterHandlerCurrentWriterIndexedByProtocolRevision map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProtocolRevision) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProtocolRevision) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByProtocolStateJson ¶
type WriterHandlerCurrentWriterIndexedByProtocolStateJson map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProtocolStateJson) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProtocolStateJson) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByProtocolThreadId ¶
type WriterHandlerCurrentWriterIndexedByProtocolThreadId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProtocolThreadId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProtocolThreadId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByProtocolThreadKey ¶
type WriterHandlerCurrentWriterIndexedByProtocolThreadKey map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByProtocolThreadKey) Has ¶
func (index WriterHandlerCurrentWriterIndexedByProtocolThreadKey) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByScheduleCronExpr ¶
type WriterHandlerCurrentWriterIndexedByScheduleCronExpr map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByScheduleCronExpr) Has ¶
func (index WriterHandlerCurrentWriterIndexedByScheduleCronExpr) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByScheduleId ¶
type WriterHandlerCurrentWriterIndexedByScheduleId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByScheduleId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByScheduleId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByScheduleKind ¶
type WriterHandlerCurrentWriterIndexedByScheduleKind map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByScheduleKind) Has ¶
func (index WriterHandlerCurrentWriterIndexedByScheduleKind) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByScheduleRunId ¶
type WriterHandlerCurrentWriterIndexedByScheduleRunId map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByScheduleRunId) Has ¶
func (index WriterHandlerCurrentWriterIndexedByScheduleRunId) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByScheduleTimezone ¶
type WriterHandlerCurrentWriterIndexedByScheduleTimezone map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByScheduleTimezone) Has ¶
func (index WriterHandlerCurrentWriterIndexedByScheduleTimezone) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByScheduled ¶
type WriterHandlerCurrentWriterIndexedByScheduled map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByScheduled) Has ¶
func (index WriterHandlerCurrentWriterIndexedByScheduled) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByShareable ¶
type WriterHandlerCurrentWriterIndexedByShareable map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByShareable) Has ¶
func (index WriterHandlerCurrentWriterIndexedByShareable) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByStatus ¶
type WriterHandlerCurrentWriterIndexedByStatus map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByStatus) Has ¶
func (index WriterHandlerCurrentWriterIndexedByStatus) Has(key string) bool
type WriterHandlerCurrentWriterIndexedBySummary ¶
type WriterHandlerCurrentWriterIndexedBySummary map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedBySummary) Has ¶
func (index WriterHandlerCurrentWriterIndexedBySummary) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByTitle ¶
type WriterHandlerCurrentWriterIndexedByTitle map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByTitle) Has ¶
func (index WriterHandlerCurrentWriterIndexedByTitle) Has(key string) bool
type WriterHandlerCurrentWriterIndexedByUpdatedAt ¶
type WriterHandlerCurrentWriterIndexedByUpdatedAt map[time.Time]*CurrentWriterView
type WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens ¶
type WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens) Has ¶
func (index WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByUsageInputTokens ¶
type WriterHandlerCurrentWriterIndexedByUsageInputTokens map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByUsageInputTokens) Has ¶
func (index WriterHandlerCurrentWriterIndexedByUsageInputTokens) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByUsageOutputTokens ¶
type WriterHandlerCurrentWriterIndexedByUsageOutputTokens map[int]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByUsageOutputTokens) Has ¶
func (index WriterHandlerCurrentWriterIndexedByUsageOutputTokens) Has(key int) bool
type WriterHandlerCurrentWriterIndexedByVisibility ¶
type WriterHandlerCurrentWriterIndexedByVisibility map[string]*CurrentWriterView
func (WriterHandlerCurrentWriterIndexedByVisibility) Has ¶
func (index WriterHandlerCurrentWriterIndexedByVisibility) Has(key string) bool
type WriterHandlerCurrentWriterSlice ¶
type WriterHandlerCurrentWriterSlice []*CurrentWriterView
func (WriterHandlerCurrentWriterSlice) GroupByAgentId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByAgentId() WriterHandlerCurrentWriterGroupedByAgentId
func (WriterHandlerCurrentWriterSlice) GroupByConversationParentId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByConversationParentId() WriterHandlerCurrentWriterGroupedByConversationParentId
func (WriterHandlerCurrentWriterSlice) GroupByConversationParentTurnId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByConversationParentTurnId() WriterHandlerCurrentWriterGroupedByConversationParentTurnId
func (WriterHandlerCurrentWriterSlice) GroupByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedAt() WriterHandlerCurrentWriterGroupedByCreatedAt
func (WriterHandlerCurrentWriterSlice) GroupByCreatedByUserId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByCreatedByUserId() WriterHandlerCurrentWriterGroupedByCreatedByUserId
func (WriterHandlerCurrentWriterSlice) GroupByDefaultModel ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModel() WriterHandlerCurrentWriterGroupedByDefaultModel
func (WriterHandlerCurrentWriterSlice) GroupByDefaultModelParams ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModelParams() WriterHandlerCurrentWriterGroupedByDefaultModelParams
func (WriterHandlerCurrentWriterSlice) GroupByDefaultModelProvider ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByDefaultModelProvider() WriterHandlerCurrentWriterGroupedByDefaultModelProvider
func (WriterHandlerCurrentWriterSlice) GroupByExternalTaskRef ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByExternalTaskRef() WriterHandlerCurrentWriterGroupedByExternalTaskRef
func (WriterHandlerCurrentWriterSlice) GroupById ¶
func (rows WriterHandlerCurrentWriterSlice) GroupById() WriterHandlerCurrentWriterGroupedById
func (WriterHandlerCurrentWriterSlice) GroupByLastActivity ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByLastActivity() WriterHandlerCurrentWriterGroupedByLastActivity
func (WriterHandlerCurrentWriterSlice) GroupByMetadata ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByMetadata() WriterHandlerCurrentWriterGroupedByMetadata
func (WriterHandlerCurrentWriterSlice) GroupByProtocolMessagesJson ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolMessagesJson() WriterHandlerCurrentWriterGroupedByProtocolMessagesJson
func (WriterHandlerCurrentWriterSlice) GroupByProtocolOnly ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolOnly() WriterHandlerCurrentWriterGroupedByProtocolOnly
func (WriterHandlerCurrentWriterSlice) GroupByProtocolPrincipal ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolPrincipal() WriterHandlerCurrentWriterGroupedByProtocolPrincipal
func (WriterHandlerCurrentWriterSlice) GroupByProtocolRevision ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolRevision() WriterHandlerCurrentWriterGroupedByProtocolRevision
func (WriterHandlerCurrentWriterSlice) GroupByProtocolStateJson ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolStateJson() WriterHandlerCurrentWriterGroupedByProtocolStateJson
func (WriterHandlerCurrentWriterSlice) GroupByProtocolThreadId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolThreadId() WriterHandlerCurrentWriterGroupedByProtocolThreadId
func (WriterHandlerCurrentWriterSlice) GroupByProtocolThreadKey ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByProtocolThreadKey() WriterHandlerCurrentWriterGroupedByProtocolThreadKey
func (WriterHandlerCurrentWriterSlice) GroupByScheduleCronExpr ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleCronExpr() WriterHandlerCurrentWriterGroupedByScheduleCronExpr
func (WriterHandlerCurrentWriterSlice) GroupByScheduleId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleId() WriterHandlerCurrentWriterGroupedByScheduleId
func (WriterHandlerCurrentWriterSlice) GroupByScheduleKind ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleKind() WriterHandlerCurrentWriterGroupedByScheduleKind
func (WriterHandlerCurrentWriterSlice) GroupByScheduleRunId ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleRunId() WriterHandlerCurrentWriterGroupedByScheduleRunId
func (WriterHandlerCurrentWriterSlice) GroupByScheduleTimezone ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByScheduleTimezone() WriterHandlerCurrentWriterGroupedByScheduleTimezone
func (WriterHandlerCurrentWriterSlice) GroupByScheduled ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByScheduled() WriterHandlerCurrentWriterGroupedByScheduled
func (WriterHandlerCurrentWriterSlice) GroupByShareable ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByShareable() WriterHandlerCurrentWriterGroupedByShareable
func (WriterHandlerCurrentWriterSlice) GroupByStatus ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByStatus() WriterHandlerCurrentWriterGroupedByStatus
func (WriterHandlerCurrentWriterSlice) GroupBySummary ¶
func (rows WriterHandlerCurrentWriterSlice) GroupBySummary() WriterHandlerCurrentWriterGroupedBySummary
func (WriterHandlerCurrentWriterSlice) GroupByTitle ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByTitle() WriterHandlerCurrentWriterGroupedByTitle
func (WriterHandlerCurrentWriterSlice) GroupByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUpdatedAt() WriterHandlerCurrentWriterGroupedByUpdatedAt
func (WriterHandlerCurrentWriterSlice) GroupByUsageEmbeddingTokens ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUsageEmbeddingTokens() WriterHandlerCurrentWriterGroupedByUsageEmbeddingTokens
func (WriterHandlerCurrentWriterSlice) GroupByUsageInputTokens ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUsageInputTokens() WriterHandlerCurrentWriterGroupedByUsageInputTokens
func (WriterHandlerCurrentWriterSlice) GroupByUsageOutputTokens ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByUsageOutputTokens() WriterHandlerCurrentWriterGroupedByUsageOutputTokens
func (WriterHandlerCurrentWriterSlice) GroupByVisibility ¶
func (rows WriterHandlerCurrentWriterSlice) GroupByVisibility() WriterHandlerCurrentWriterGroupedByVisibility
func (WriterHandlerCurrentWriterSlice) IndexByAgentId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByAgentId() (WriterHandlerCurrentWriterIndexedByAgentId, error)
func (WriterHandlerCurrentWriterSlice) IndexByConversationParentId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByConversationParentId() (WriterHandlerCurrentWriterIndexedByConversationParentId, error)
func (WriterHandlerCurrentWriterSlice) IndexByConversationParentTurnId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByConversationParentTurnId() (WriterHandlerCurrentWriterIndexedByConversationParentTurnId, error)
func (WriterHandlerCurrentWriterSlice) IndexByCreatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedAt() (WriterHandlerCurrentWriterIndexedByCreatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByCreatedByUserId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByCreatedByUserId() (WriterHandlerCurrentWriterIndexedByCreatedByUserId, error)
func (WriterHandlerCurrentWriterSlice) IndexByDefaultModel ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModel() (WriterHandlerCurrentWriterIndexedByDefaultModel, error)
func (WriterHandlerCurrentWriterSlice) IndexByDefaultModelParams ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModelParams() (WriterHandlerCurrentWriterIndexedByDefaultModelParams, error)
func (WriterHandlerCurrentWriterSlice) IndexByDefaultModelProvider ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByDefaultModelProvider() (WriterHandlerCurrentWriterIndexedByDefaultModelProvider, error)
func (WriterHandlerCurrentWriterSlice) IndexByExternalTaskRef ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByExternalTaskRef() (WriterHandlerCurrentWriterIndexedByExternalTaskRef, error)
func (WriterHandlerCurrentWriterSlice) IndexById ¶
func (rows WriterHandlerCurrentWriterSlice) IndexById() (WriterHandlerCurrentWriterIndexedById, error)
func (WriterHandlerCurrentWriterSlice) IndexByLastActivity ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByLastActivity() (WriterHandlerCurrentWriterIndexedByLastActivity, error)
func (WriterHandlerCurrentWriterSlice) IndexByMetadata ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByMetadata() (WriterHandlerCurrentWriterIndexedByMetadata, error)
func (WriterHandlerCurrentWriterSlice) IndexByProtocolMessagesJson ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolMessagesJson() (WriterHandlerCurrentWriterIndexedByProtocolMessagesJson, error)
func (WriterHandlerCurrentWriterSlice) IndexByProtocolOnly ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolOnly() (WriterHandlerCurrentWriterIndexedByProtocolOnly, error)
func (WriterHandlerCurrentWriterSlice) IndexByProtocolPrincipal ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolPrincipal() (WriterHandlerCurrentWriterIndexedByProtocolPrincipal, error)
func (WriterHandlerCurrentWriterSlice) IndexByProtocolRevision ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolRevision() (WriterHandlerCurrentWriterIndexedByProtocolRevision, error)
func (WriterHandlerCurrentWriterSlice) IndexByProtocolStateJson ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolStateJson() (WriterHandlerCurrentWriterIndexedByProtocolStateJson, error)
func (WriterHandlerCurrentWriterSlice) IndexByProtocolThreadId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolThreadId() (WriterHandlerCurrentWriterIndexedByProtocolThreadId, error)
func (WriterHandlerCurrentWriterSlice) IndexByProtocolThreadKey ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByProtocolThreadKey() (WriterHandlerCurrentWriterIndexedByProtocolThreadKey, error)
func (WriterHandlerCurrentWriterSlice) IndexByScheduleCronExpr ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleCronExpr() (WriterHandlerCurrentWriterIndexedByScheduleCronExpr, error)
func (WriterHandlerCurrentWriterSlice) IndexByScheduleId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleId() (WriterHandlerCurrentWriterIndexedByScheduleId, error)
func (WriterHandlerCurrentWriterSlice) IndexByScheduleKind ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleKind() (WriterHandlerCurrentWriterIndexedByScheduleKind, error)
func (WriterHandlerCurrentWriterSlice) IndexByScheduleRunId ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleRunId() (WriterHandlerCurrentWriterIndexedByScheduleRunId, error)
func (WriterHandlerCurrentWriterSlice) IndexByScheduleTimezone ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByScheduleTimezone() (WriterHandlerCurrentWriterIndexedByScheduleTimezone, error)
func (WriterHandlerCurrentWriterSlice) IndexByScheduled ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByScheduled() (WriterHandlerCurrentWriterIndexedByScheduled, error)
func (WriterHandlerCurrentWriterSlice) IndexByShareable ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByShareable() (WriterHandlerCurrentWriterIndexedByShareable, error)
func (WriterHandlerCurrentWriterSlice) IndexByStatus ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByStatus() (WriterHandlerCurrentWriterIndexedByStatus, error)
func (WriterHandlerCurrentWriterSlice) IndexBySummary ¶
func (rows WriterHandlerCurrentWriterSlice) IndexBySummary() (WriterHandlerCurrentWriterIndexedBySummary, error)
func (WriterHandlerCurrentWriterSlice) IndexByTitle ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByTitle() (WriterHandlerCurrentWriterIndexedByTitle, error)
func (WriterHandlerCurrentWriterSlice) IndexByUpdatedAt ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUpdatedAt() (WriterHandlerCurrentWriterIndexedByUpdatedAt, error)
func (WriterHandlerCurrentWriterSlice) IndexByUsageEmbeddingTokens ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUsageEmbeddingTokens() (WriterHandlerCurrentWriterIndexedByUsageEmbeddingTokens, error)
func (WriterHandlerCurrentWriterSlice) IndexByUsageInputTokens ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUsageInputTokens() (WriterHandlerCurrentWriterIndexedByUsageInputTokens, error)
func (WriterHandlerCurrentWriterSlice) IndexByUsageOutputTokens ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByUsageOutputTokens() (WriterHandlerCurrentWriterIndexedByUsageOutputTokens, error)
func (WriterHandlerCurrentWriterSlice) IndexByVisibility ¶
func (rows WriterHandlerCurrentWriterSlice) IndexByVisibility() (WriterHandlerCurrentWriterIndexedByVisibility, error)
type WriterHandlerReadIndexes ¶
type WriterHandlerReadIndexes struct {
CurrentWriter WriterHandlerCurrentWriterSlice
CurrentWriterById WriterHandlerCurrentWriterIndexedById
}
func BuildWriterHandlerReadIndexes ¶
func BuildWriterHandlerReadIndexes(ctx context.Context, input *Input) (*WriterHandlerReadIndexes, error)
type WriterKeysRow ¶
type WriterKeysRow struct {
Id string `sqlx:"id"`
}
Click to show internal directories.
Click to hide internal directories.