Documentation
¶
Index ¶
Constants ¶
View Source
const ReaderDatlyResourceNamespace = "datly_message_base_reader"
DatlyResourceNamespace identifies this package's generated resource filesystem.
Variables ¶
View Source
var ReaderDatly = new(ReaderComponent)
The public value supports explicit component wiring.
View Source
var ReaderDatlyResources embed.FS
Functions ¶
func ReaderDatlyType ¶
ReaderDatlyType returns the public component type.
Types ¶
type MessageBaseView ¶
type MessageBaseView struct {
ConversationId string `sqlx:"conversation_id" json:"conversationId"`
CreatedAt time.Time `sqlx:"created_at" json:"createdAt"`
Id string `sqlx:"id" json:"id"`
Interim int `sqlx:"interim" json:"interim"`
Role string `sqlx:"role" json:"role"`
Type string `sqlx:"type" json:"type"`
Narration *string `sqlx:"preamble" json:"narration"`
TurnId *string `sqlx:"turn_id" json:"turnId"`
Archived *int `sqlx:"archived" json:"archived"`
Sequence *int `sqlx:"sequence" json:"sequence"`
UpdatedAt *time.Time `sqlx:"updated_at" json:"updatedAt"`
CreatedByUserId *string `sqlx:"created_by_user_id" json:"createdByUserId"`
Status *string `sqlx:"status" json:"status"`
Mode *string `sqlx:"mode" json:"mode"`
Content *string `sqlx:"content" json:"content"`
RawContent *string `sqlx:"raw_content" json:"rawContent"`
Summary *string `sqlx:"summary" json:"summary"`
ContextSummary *string `sqlx:"context_summary" json:"contextSummary"`
Tags *string `sqlx:"tags" json:"tags"`
ElicitationId *string `sqlx:"elicitation_id" json:"elicitationId"`
ParentMessageId *string `sqlx:"parent_message_id" json:"parentMessageId"`
SupersededBy *string `sqlx:"superseded_by" json:"supersededBy"`
LinkedConversationId *string `sqlx:"linked_conversation_id" json:"linkedConversationId"`
AttachmentPayloadId *string `sqlx:"attachment_payload_id" json:"attachmentPayloadId"`
ElicitationPayloadId *string `sqlx:"elicitation_payload_id" json:"elicitationPayloadId"`
ToolName *string `sqlx:"tool_name" json:"toolName"`
EmbeddingIndex *string `sqlx:"embedding_index" json:"embeddingIndex"`
Iteration *int `sqlx:"iteration" json:"iteration"`
Phase *string `sqlx:"phase" json:"phase"`
}
MessageBaseView is generated canonical view metadata for reader.
type MessagesOutput ¶
type MessagesOutput struct {
Data []*MessageBaseView `` /* 296-byte string literal not displayed */
}
MessagesOutput is the generated output scaffold for reader.
type ReaderComponent ¶
type ReaderComponent struct {
Contract xdatly.Component[canonical.MessagesInput, MessagesOutput] "" /* 153-byte string literal not displayed */
}
Component is the generated component scaffold for reader.
func (ReaderComponent) EmbedFS ¶
func (ReaderComponent) EmbedFS() *embed.FS
func (ReaderComponent) EmbedNamespace ¶
func (ReaderComponent) EmbedNamespace() string
Click to show internal directories.
Click to hide internal directories.