AmazonBedrockAnthropicFetch
Namespace: Vercel.AI.AmazonBedrock
public static class AmazonBedrockAnthropicFetchWraps a handler so the Anthropic Messages model can read Bedrock responses. Failed responses become
Anthropic error bodies, and application/vnd.amazon.eventstream bodies become server-sent events.
Maps to createAmazonBedrockAnthropicFetch.
Inheritance: object
Methods
Section titled “Methods”Create(HttpMessageHandler)
Section titled “Create(HttpMessageHandler)”public static DelegatingHandler Create(HttpMessageHandler baseHandler)Wraps <code class=“paramref”>baseHandler</code>. Disposing the result disposes <code class=“paramref”>baseHandler</code>.
Parameters
| Name | Type | Description |
|---|---|---|
baseHandler |
HttpMessageHandler |
Returns: DelegatingHandler
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product