class_docstr: GooseAI API Client
  - How to use the API: https://goose.ai/docs/api
  - Supported models: https://goose.ai/docs/models
class_docstr_tok: ["GooseAI","API","Client","-","How","to","use","the","API",":","https",":","\/\/goose.ai\/docs\/api","-","Supported","models",":","https",":","\/\/goose.ai\/docs\/models"]
code: def __init__(
      self,
      api_key: str,
      cache_config: CacheConfig,
      org_id: Optional[str] = None,
  ):
      self.org_id: Optional[str] = org_id
      self.api_key: str = api_key
      self.api_base: str = "https://api.goose.ai/v1"
  
      self.cache = Cache(cache_config)
  
file_path: H2O/h2o_hf/helm/src/helm/proxy/clients/goose_ai_client.py
imports: from typing import List, Optional
  import openai
  from helm.common.cache import Cache, CacheConfig
  from helm.common.request import EMBEDDING_UNAVAILABLE_REQUEST_RESULT, Request, RequestResult, Sequence, Token
  from helm.common.tokenization_request import TokenizationRequest, TokenizationRequestResult, DecodeRequest, DecodeRequestResult
  from .client import Client, wrap_request_time, truncate_sequence
  from .openai_client import ORIGINAL_COMPLETION_ATTRIBUTES
label_desc: Use image node_id 1 to create a new GooseAIClient object from inherited base classes: Client with example: obj = GooseAIClient(api_key, cache_config, org_id)