api

package
v0.0.0-...-b72572f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatMessage

type ChatMessage struct {
	ConversationID string                   `json:"conversationId"`
	MessageID      string                   `json:"messageId"`
	ParentID       string                   `json:"parentId,omitempty"`
	Role           string                   `json:"role"`
	Content        []map[string]interface{} `json:"content,omitempty"`
	CreatedAt      time.Time                `json:"created_at"`
	UpdatedAt      time.Time                `json:"updated_at"`
}

type ChatRequest

type ChatRequest struct {
	ConversationID string         `json:"conversationId"`
	MessageID      string         `json:"messageId"`
	ParentID       string         `json:"parentId,omitempty"`
	Message        schema.Message `json:"message"`
}

type ChatResponse

type ChatResponse struct {
	ConversationID string         `json:"conversationId"`
	MessageID      string         `json:"messageId"`
	ParentID       string         `json:"parentId,omitempty"`
	Message        schema.Message `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL