Types:
from cerebras.cloud.sdk.types.chat import ChatCompletion
Methods:
client.chat.completions.create(**params) -> ChatCompletion
Types:
from cerebras.cloud.sdk.types import Completion
Methods:
client.completions.create(**params) -> Completion
Types:
from cerebras.cloud.sdk.types import ModelRetrieveResponse, ModelListResponse
Methods:
client.models.retrieve(model_id) -> ModelRetrieveResponse
client.models.list() -> ModelListResponse