class_docstr: Legacy client for the Anthropic models (https://arxiv.org/abs/2204.05862).
  This was used before they officially released their API on March 17, 2023.
  They used their own version of the GPT-2 tokenizer.
  
  The Anthropic API is not production-ready and currently does not support:
  - Top k per token
  - Multiple completions
  - Echo prompt
  - Log probabilities
code: def decode(self, request: DecodeRequest) -> DecodeRequestResult:
      raise NotImplementedError("Use the HuggingFaceClient to decode.")
  
imports: from typing import Any, Dict, List, Optional
  import json
  import requests
  import time
  import urllib.parse
  import websocket
  import anthropic
  from helm.common.cache import Cache, CacheConfig
  from helm.common.hierarchical_logger import htrack_block, hlog
  from helm.common.request import EMBEDDING_UNAVAILABLE_REQUEST_RESULT, Request, RequestResult, Sequence, Token, ErrorFlags
  from helm.common.tokenization_request import TokenizationRequest, TokenizationRequestResult, DecodeRequest, DecodeRequestResult, TokenizationToken
  from .client import Client, wrap_request_time, truncate_sequence
  from transformers import PreTrainedTokenizerBase, PreTrainedTokenizerFast
  from dataclasses import asdict
label_desc: Use image node_id 6 for calling the AnthropicLegacyClient obj's underlying member method code with example usage: obj.decode(request) without return types