package
1.0.9
Repository: https://github.com/mutablelogic/go-client.git
Documentation: pkg.go.dev

# README

Anthropic API Client

This package provides a client for the Anthropic API, which is used to interact with the Claude LLM.

References:

# Functions

Create a new client.
Maximum number of tokens to generate in the reply.
Set the model.
Custom text sequences that will cause the model to stop generating.
Set streaming response.
Set system prompt.
Amount of randomness injected into the response.
Add a tool.
An external identifier for the user who is associated with the request.

# Structs

No description provided by the author
Token usage for messages.

# Type aliases

Stream response, which is called with each delta in the conversation or nil if the conversation is complete.
Opt is a function which can be used to set options on a request.