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][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- 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
- param temperature: float = 0.3#