LangSmithParams#

class langchain_core.language_models.base.LangSmithParams[source]#

LangSmith parameters for tracing.

ls_provider: str#

Provider of the model.

ls_model_name: str#

Name of the model.

ls_model_type: Literal['chat', 'llm']#

Type of the model. Should be β€˜chat’ or β€˜llm’.

ls_temperature: float | None#

Temperature for generation.

ls_max_tokens: int | None#

Max tokens for generation.

ls_stop: List[str] | None#

Stop words for generation.