Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps the Anthropic API client
func (*Client) GenerateEntry ¶
func (c *Client) GenerateEntry(ctx context.Context, personaDescription string, snapshot *metrics.Snapshot, previousEntries []prompt.PreviousEntry) (*GenerateResult, error)
GenerateEntry creates a journal entry based on system metrics
type GenerateResult ¶ added in v0.0.2
GenerateResult contains the generated entry and metadata from the API call
Click to show internal directories.
Click to hide internal directories.