BaseFriendli#

class langchain_community.llms.friendli.BaseFriendli[source]#

Bases: Serializable

Base class of Friendli.

param async_client: Any = None#
param client: Any = None#
param frequency_penalty: float | None = None#
param friendli_team: str | None = None#
param friendli_token: SecretStr | None = None#
param max_tokens: int | None = None#
param model: str = 'mixtral-8x7b-instruct-v0-1'#
param presence_penalty: float | None = None#
param stop: List[str] | None = None#
param streaming: bool = False#
param temperature: float | None = None#
param top_p: float | None = None#
classmethod validate_environment(values: Dict) Dict[source]#

Validate if personal access token is provided in environment.

Parameters:

values (Dict)

Return type:

Dict