Documentation
¶
Index ¶
- Variables
- type ActiveTurnsInput
- type ActiveTurnsInputHas
- type ActiveTurnsOutput
- type ActiveTurnsView
- type IndexedTurn
- type MutableTurnView
- type MutableTurnViewOption
- func WithTurnConversationID(v string) MutableTurnViewOption
- func WithTurnGoalID(v string) MutableTurnViewOption
- func WithTurnID(v string) MutableTurnViewOption
- func WithTurnOrigin(v string) MutableTurnViewOption
- func WithTurnRunID(v string) MutableTurnViewOption
- func WithTurnStatus(v string) MutableTurnViewOption
- func WithTurnStatusReason(v string) MutableTurnViewOption
- type MutableTurnViews
- type QueuedTotalInput
- type QueuedTotalInputHas
- type QueuedTotalOutput
- type QueuedTotalView
- type QueuedTurnInput
- type QueuedTurnInputHas
- type QueuedTurnOutput
- type QueuedTurnView
- type QueuedTurnsInput
- type QueuedTurnsInputHas
- type QueuedTurnsOutput
- type QueuedTurnsView
- type Turn
- func (t *Turn) SetAgentConfigUsedID(v string)
- func (t *Turn) SetAgentIDUsed(v string)
- func (t *Turn) SetConversationID(v string)
- func (t *Turn) SetCreatedAt(v time.Time)
- func (t *Turn) SetErrorMessage(v string)
- func (t *Turn) SetGoalID(v string)
- func (t *Turn) SetId(v string)
- func (t *Turn) SetModelOverride(v string)
- func (t *Turn) SetModelOverrideProvider(v string)
- func (t *Turn) SetModelParamsOverride(v string)
- func (t *Turn) SetOrigin(v string)
- func (t *Turn) SetQueueSeq(v int64)
- func (t *Turn) SetRetryOf(v string)
- func (t *Turn) SetRunID(v string)
- func (t *Turn) SetStartedByMessageID(v string)
- func (t *Turn) SetStatus(v string)
- func (t *Turn) SetStatusReason(v string)
- type TurnHas
- type TurnLookupInput
- type TurnLookupInputHas
- type TurnLookupOutput
- type TurnLookupView
- type TurnRowsInput
- type TurnRowsInputHas
- type TurnRowsOutput
- type TurnRowsView
- type TurnSlice
Constants ¶
This section is empty.
Variables ¶
View Source
var ActiveTurnsPathURI = "/v1/api/agently/turn/active/active"
View Source
var QueuedTotalPathURI = "/v1/api/agently/turn/queuedCount/queuedCount"
View Source
var QueuedTurnPathURI = "/v1/api/agently/turn/nextQueued/nextQueued"
View Source
var QueuedTurnsPathURI = "/v1/api/agently/turn/queuedList/queuedList"
View Source
var TurnLookupPathURI = "/v1/api/agently/turn/byId/byId"
View Source
var TurnRowsPathURI = "/v1/api/agently/turn/list/list"
Functions ¶
This section is empty.
Types ¶
type ActiveTurnsInput ¶
type ActiveTurnsInput struct {
ConversationID string
Has *ActiveTurnsInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
type ActiveTurnsInputHas ¶
type ActiveTurnsInputHas struct {
ConversationID bool
}
type ActiveTurnsOutput ¶
type ActiveTurnsOutput struct {
response.Status `json:",omitempty"`
Data []*ActiveTurnsView
Metrics response.Metrics
}
type ActiveTurnsView ¶
type ActiveTurnsView = read.TurnRowsView
ActiveTurnsView uses the canonical DQL reader shape.
type IndexedTurn ¶
type MutableTurnView ¶
type MutableTurnView = Turn
func NewMutableTurnView ¶
func NewMutableTurnView(opts ...MutableTurnViewOption) *MutableTurnView
type MutableTurnViewOption ¶
type MutableTurnViewOption func(*MutableTurnView)
func WithTurnConversationID ¶
func WithTurnConversationID(v string) MutableTurnViewOption
func WithTurnGoalID ¶
func WithTurnGoalID(v string) MutableTurnViewOption
func WithTurnID ¶
func WithTurnID(v string) MutableTurnViewOption
func WithTurnOrigin ¶
func WithTurnOrigin(v string) MutableTurnViewOption
func WithTurnRunID ¶
func WithTurnRunID(v string) MutableTurnViewOption
func WithTurnStatus ¶
func WithTurnStatus(v string) MutableTurnViewOption
func WithTurnStatusReason ¶
func WithTurnStatusReason(v string) MutableTurnViewOption
type MutableTurnViews ¶
type MutableTurnViews struct {
Turns []*MutableTurnView
}
func NewMutableTurnViews ¶
func NewMutableTurnViews(rows ...*MutableTurnView) *MutableTurnViews
type QueuedTotalInput ¶
type QueuedTotalInput struct {
ConversationID string
Has *QueuedTotalInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
type QueuedTotalInputHas ¶
type QueuedTotalInputHas struct {
ConversationID bool
}
type QueuedTotalOutput ¶
type QueuedTotalOutput struct {
response.Status `json:",omitempty"`
Data []*QueuedTotalView
Metrics response.Metrics
}
type QueuedTotalView ¶
type QueuedTotalView struct {
QueuedCount int `sqlx:"queued_count"`
}
type QueuedTurnInput ¶
type QueuedTurnInput struct {
ConversationID string
Has *QueuedTurnInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
type QueuedTurnInputHas ¶
type QueuedTurnInputHas struct {
ConversationID bool
}
type QueuedTurnOutput ¶
type QueuedTurnOutput struct {
response.Status `json:",omitempty"`
Data []*QueuedTurnView
Metrics response.Metrics
}
type QueuedTurnView ¶
type QueuedTurnView = read.TurnRowsView
QueuedTurnView uses the canonical DQL reader shape.
type QueuedTurnsInput ¶
type QueuedTurnsInput struct {
ConversationID string
Has *QueuedTurnsInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
type QueuedTurnsInputHas ¶
type QueuedTurnsInputHas struct {
ConversationID bool
}
type QueuedTurnsOutput ¶
type QueuedTurnsOutput struct {
response.Status `json:",omitempty"`
Data []*QueuedTurnsView
Metrics response.Metrics
}
type QueuedTurnsView ¶
type Turn ¶
type Turn struct {
Id string `sqlx:"id,primaryKey" validate:"required"`
ConversationID string `sqlx:"conversation_id" validate:"required"`
CreatedAt *time.Time `sqlx:"created_at" json:",omitempty"`
QueueSeq *int64 `sqlx:"queue_seq" json:",omitempty"`
Origin *string `sqlx:"origin" json:",omitempty"`
GoalID *string `sqlx:"goal_id" json:",omitempty"`
StatusReason *string `sqlx:"status_reason" json:",omitempty"`
Status string `sqlx:"status" validate:"required"`
StartedByMessageID *string `sqlx:"started_by_message_id" json:",omitempty"`
RetryOf *string `sqlx:"retry_of" json:",omitempty"`
AgentIDUsed *string `sqlx:"agent_id_used" json:",omitempty"`
AgentConfigUsedID *string `sqlx:"agent_config_used_id" json:",omitempty"`
ModelOverrideProvider *string `sqlx:"model_override_provider" json:",omitempty"`
ModelOverride *string `sqlx:"model_override" json:",omitempty"`
ModelParamsOverride *string `sqlx:"model_params_override" json:",omitempty"`
RunID *string `sqlx:"run_id" json:",omitempty"`
ErrorMessage *string `sqlx:"error_message" json:",omitempty"`
Has *TurnHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
Turn mirrors the turn table for upsert operations.
func (*Turn) SetAgentConfigUsedID ¶
func (*Turn) SetAgentIDUsed ¶
func (*Turn) SetConversationID ¶
func (*Turn) SetCreatedAt ¶
func (*Turn) SetErrorMessage ¶
func (*Turn) SetModelOverride ¶
func (*Turn) SetModelOverrideProvider ¶
func (*Turn) SetModelParamsOverride ¶
func (*Turn) SetQueueSeq ¶
func (*Turn) SetRetryOf ¶
func (*Turn) SetStartedByMessageID ¶
func (*Turn) SetStatusReason ¶
type TurnHas ¶
type TurnHas struct {
Id bool
ConversationID bool
CreatedAt bool
QueueSeq bool
Origin bool
GoalID bool
StatusReason bool
Status bool
StartedByMessageID bool
RetryOf bool
AgentIDUsed bool
AgentConfigUsedID bool
ModelOverrideProvider bool
ModelOverride bool
ModelParamsOverride bool
RunID bool
ErrorMessage bool
}
type TurnLookupInput ¶
type TurnLookupInput struct {
ID string
ConversationID string
Has *TurnLookupInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
type TurnLookupInputHas ¶
type TurnLookupOutput ¶
type TurnLookupOutput struct {
response.Status `json:",omitempty"`
Data []*TurnLookupView
Metrics response.Metrics
}
type TurnLookupView ¶
type TurnLookupView = read.TurnRowsView
TurnLookupView uses the canonical DQL reader shape.
type TurnRowsInput ¶
type TurnRowsInputHas ¶
type TurnRowsOutput ¶
type TurnRowsOutput struct {
response.Status `json:",omitempty"`
Data []*TurnRowsView
Metrics response.Metrics
}
type TurnRowsView ¶
type TurnRowsView = read.TurnRowsView
TurnRowsView uses the canonical DQL reader shape.
Click to show internal directories.
Click to hide internal directories.