Documentation ¶
Index ¶
Constants ¶
View Source
const ClaudeURL = "https://api.anthropic.com/v1/messages"
Variables ¶
View Source
var CLAUDE_DEFAULT = Claude{ Model: "claude-3-opus-20240229", Url: ClaudeURL, AnthropicVersion: "2023-06-01", AnthropicBeta: "tools-2024-04-04", MaxTokens: 1024, }
Functions ¶
This section is empty.
Types ¶
type Claude ¶
type Claude struct { Model string `json:"model"` MaxTokens int `json:"max_tokens"` Url string `json:"url"` AnthropicVersion string `json:"anthropic-version"` AnthropicBeta string `json:"anthropic-beta"` // contains filtered or unexported fields }
func (*Claude) RegisterTool ¶ added in v1.2.7
func (*Claude) StreamCompletions ¶ added in v1.2.0
type ClaudeMessage ¶ added in v1.2.7
type ClaudeResponse ¶ added in v1.2.7
type ContentBlockDelta ¶
Click to show internal directories.
Click to hide internal directories.