Light Dark

hot.dev/anthropic — anthropic API bindings for Hot.

Version: 0.9.2

Author: Hot Dev

License: Apache-2.0

Add to your project

"hot.dev/anthropic": "0.9.2"

Add this to your deps in hot.hot

Namespaces

::anthropic

NamespaceFunctionsTypesDescription
::api21Make an HTTP request with pre-filled service headers.
::complete16POST /v1/complete - Create a Text Completion
::messages217POST /v1/messages - Create a Message

::anthropic::beta

NamespaceFunctionsTypesDescription
::message1025GET /v1/messages/batches?beta=true - List Message Batches
::messages315POST /v1/messages?beta=true - Create a Message

::anthropic::prompt

NamespaceFunctionsTypesDescription
::caching110POST /v1/messages?beta=prompt_caching - Create a Message