Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conversation ¶
type ConversationData ¶
type GetConversationCommand ¶
type GetConversationCommand struct {
*cmds.CommandDescription
}
func NewGetConversationCommand ¶
func NewGetConversationCommand() (*GetConversationCommand, error)
func (*GetConversationCommand) RunIntoWriter ¶
func (cmd *GetConversationCommand) RunIntoWriter( ctx context.Context, parsedLayers *layers.ParsedLayers, w io.Writer, ) error
type GetConversationSettings ¶
type GetConversationSettings struct { URLs []string `glazed.parameter:"urls"` Concise bool `glazed.parameter:"concise"` WithMetadata bool `glazed.parameter:"with-metadata"` RenameRoles map[string]string `glazed.parameter:"rename-roles"` OutputJson bool `glazed.parameter:"output-json"` OutputAsArray bool `glazed.parameter:"output-as-array"` FullJson bool `glazed.parameter:"full-json"` OnlyConversations bool `glazed.parameter:"only-conversations"` OnlyAssistant bool `glazed.parameter:"only-assistant"` OnlySourceBlocks bool `glazed.parameter:"only-source-blocks"` MergeSourceBlocks bool `glazed.parameter:"merge-source-blocks"` InlineConversations bool `glazed.parameter:"inline-conversations"` }
type NextData ¶
type NextData struct { Props struct { PageProps struct { SharedConversationId string `json:"sharedConversationId"` ServerResponse struct { ServerResponseData `json:"data"` } `json:"serverResponse"` Model map[string]interface{} `json:"model"` ModerationState map[string]interface{} `json:"moderation_state"` } `json:"pageProps"` } `json:"props"` }
type Renderer ¶
func (*Renderer) PrintConversation ¶
func (r *Renderer) PrintConversation(url string, response ServerResponseData, linearConversation []Conversation)
type ServerResponseData ¶
type ServerResponseData struct { Title string `json:"title"` CreateTime float64 `json:"create_time"` UpdateTime float64 `json:"update_time"` LinearConversation []Conversation `json:"linear_conversation"` }
type TemplateData ¶
Click to show internal directories.
Click to hide internal directories.