OpenAILLMConfiguration#

class council.llm.OpenAILLMConfiguration(model: str | None = None, timeout: int | None = None, api_key: str | None = None)[source]#

Bases: LLMConfigurationBase

Configuration for :class:OpenAILLM

Parameters:
  • api_key (str) – the OpenAI api key

  • model (str) – optional model version to use

  • timeout (int) – seconds to wait for response from OpenAI before timing out

Notes