Features of Anthropic Models
Features
Text completions: Build advanced chat bots or text processors
Function Calling: Utilize tools for specific tasks and API calling.
Vision Tasks: Process and analyze images.
Example Requests
Vision
Possible Media Types
image/pngimage/gifimage/webp
Function Calling
To process text and use function calling, follow the examples below:
Example Request 1: Get Weather Information
Example Request 2: Simple Text Response
Example Response
The responses from the Apilaplas API for Anthropic models will typically include the generated text or results from the tool called. Here is an example response for a weather query:
Streaming with Python SDK
To enable streaming of responses, set stream=True in your request payload.
Last updated