基础友好#

class langchain_community.llms.friendli.BaseFriendli[来源]#

基础类:Serializable

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 = 'meta-llama-3.1-8b-instruct'#
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]#

验证环境中是否提供了个人访问令牌。

Parameters:

(字典)

Return type:

字典