SolarCommon#

class langchain_community.llms.solar.SolarCommon[source]#

Bases: BaseModel

Common configuration for Solar LLMs.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param base_url: str = 'https://api.upstage.ai/v1/solar'#
param max_tokens: int = 1024#
param model_name: str = 'solar-1-mini-chat' (alias 'model')#

Model name. Available models listed here: https://console.upstage.ai/services/solar

param solar_api_key: SecretStr | None = None (alias 'api_key')#

Solar API key. Get it here: https://console.upstage.ai/services/solar

Constraints:
  • type = string

  • writeOnly = True

  • format = password

param temperature: float = 0.3#