Skip to main content

CerebrasLLMConfigEntry

!!! abstract “Usage Documentation” Models A base class for creating Pydantic models.
Parameters:

Class Attributes

api_type



hide_tools



max_tokens



model_config



seed



stream



temperature



tool_choice



top_p



Static Methods

check_top_p

Parameters:

Instance Methods

create_client


model_dump

!!! abstract “Usage Documentation” model_dump Generate a dictionary representation of the model, optionally specifying which fields to include or exclude.
Parameters: Returns:

model_dump_json

!!! abstract “Usage Documentation” model_dump_json Generates a JSON representation of the model using Pydantic’s to_json method.
Parameters: Returns: