Documentation
¶
Index ¶
- Variables
- func DefineMessageByElicitationComponent(ctx context.Context, srv *datly.Service) error
- func DefineMessageByParentAndElicitationComponent(ctx context.Context, srv *datly.Service) error
- func DefineMessageComponent(ctx context.Context, srv *datly.Service) error
- type MessageByElicitationInput
- type MessageByElicitationOutput
- type MessageByElicitationView
- type MessageByParentAndElicitationInput
- type MessageByParentAndElicitationInputHas
- type MessageByParentAndElicitationOutput
- type MessageInput
- type MessageInputHas
- type MessageOutput
Constants ¶
This section is empty.
Variables ¶
View Source
var MessageByElicitationPathURI = message.MessagePathURI
View Source
var MessageByParentAndElicitationPathURI = "/v1/api/agently/message/by-parent-elicitation/{parentMessageId}/{elicId}"
View Source
var MessagePathURI = "/v1/api/agently/message/{id}"
Functions ¶
func DefineMessageByParentAndElicitationComponent ¶ added in v0.1.13
Types ¶
type MessageByElicitationInput ¶
type MessageByElicitationInput = message.MessageInput
type MessageByElicitationOutput ¶
type MessageByElicitationOutput = message.MessageOutput
type MessageByElicitationView ¶
type MessageByElicitationView = message.MessageView
type MessageByParentAndElicitationInput ¶ added in v0.1.13
type MessageByParentAndElicitationInput struct {
ParentMessageId string `parameter:",kind=path,in=parentMessageId" predicate:"equal,group=4,m,parent_message_id"`
ElicitationId string `parameter:",kind=path,in=elicId" predicate:"equal,group=4,m,elicitation_id"`
Has *MessageByParentAndElicitationInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
func (*MessageByParentAndElicitationInput) EmbedFS ¶ added in v0.1.13
func (i *MessageByParentAndElicitationInput) EmbedFS() *embed.FS
type MessageByParentAndElicitationInputHas ¶ added in v0.1.13
type MessageByParentAndElicitationOutput ¶ added in v0.1.13
type MessageByParentAndElicitationOutput struct {
response.Status `parameter:",kind=output,in=status" json:",omitempty"`
Data []*agmessage.MessageView `parameter:",kind=output,in=view" view:"message,batch=10000,relationalConcurrency=1" sql:"uri=message/message.sql"`
Metrics response.Metrics `parameter:",kind=output,in=metrics"`
}
type MessageInput ¶
type MessageInput struct {
Id string `parameter:",kind=path,in=id" predicate:"equal,group=4,m,id"`
IncludeModelCal bool `parameter:",kind=query,in=includeModelCall" predicate:"expr,group=2,?" value:"false"`
IncludeToolCall bool `parameter:",kind=query,in=includeToolCall" predicate:"expr,group=3,?" value:"false"`
Has *MessageInputHas `setMarker:"true" format:"-" sqlx:"-" diff:"-" json:"-"`
}
func (*MessageInput) EmbedFS ¶
func (i *MessageInput) EmbedFS() *embed.FS
type MessageInputHas ¶
type MessageOutput ¶
type MessageOutput struct {
response.Status `parameter:",kind=output,in=status" json:",omitempty"`
Data []*conversation.MessageView `parameter:",kind=output,in=view" view:"conversation,batch=10000,relationalConcurrency=1" sql:"uri=conversation/message.sql"`
Metrics response.Metrics `parameter:",kind=output,in=metrics"`
}
Click to show internal directories.
Click to hide internal directories.