langchain_community.llms.arcee.Arcee¶
class langchain_community.llms.arcee.Arcee[source]¶
Bases: LLM
Arcee’s Domain Adapted Language Models (DALMs).
To use, set the ARCEE_API_KEY environment variable with your Arcee API key,
or pass arcee_api_key as a named parameter.
Example
from langchain_community.llms import Arcee
arcee = Arcee(
    model="DALM-PubMed",
    arcee_api_key="ARCEE-API-KEY"
)
response = arcee("AI-driven music therapy")
Initializes private fields.
param arcee_api_key: Optional[Union[pydantic.types.SecretStr, str]] = None¶
Arcee API Key
param arcee_api_url: str = 'https://api.arcee.ai'¶
Arcee API URL
param arcee_api_version: str = 'v2'¶
Arcee API Version
param arcee_app_url: str = 'https://app.arcee.ai'¶
Arcee App URL
param cache: Optional[bool] = None¶
param callback_manager: Optional[BaseCallbackManager] = None¶
param callbacks: Callbacks = None¶
param metadata: Optional[Dict[str, Any]] = None¶
Metadata to add to the run trace.
param model: str [Required]¶
Arcee DALM name
param model_id: str = ''¶
Arcee Model ID
param model_kwargs: Optional[Dict[str, Any]] = None¶
Keyword arguments to pass to the model.
param tags: Optional[List[str]] = None¶
Tags to add to the run trace.
param verbose: bool [Optional]¶
Whether to print out response text.