langchain_experimental.chat_models.llm_wrapper.Orca¶
class langchain_experimental.chat_models.llm_wrapper.Orca[source]¶
Bases: ChatWrapper
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
param ai_n_beg: str = '### Assistant:\n'¶
param ai_n_end: str = '\n\n'¶
param cache: Optional[bool] = None¶
Whether to cache the response.
param callback_manager: Optional[BaseCallbackManager] = None¶
Callback manager to add to the run trace.
param callbacks: Callbacks = None¶
Callbacks to add to the run trace.
param llm: LLM [Required]¶
param metadata: Optional[Dict[str, Any]] = None¶
Metadata to add to the run trace.
param sys_beg: str = '### System:\n'¶
param sys_end: str = '\n\n'¶
param system_message: SystemMessage = SystemMessage(content="You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\n\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.")¶
param tags: Optional[List[str]] = None¶
Tags to add to the run trace.
param usr_0_beg: Optional[str] = None¶
param usr_0_end: Optional[str] = None¶
param usr_n_beg: str = '### User:\n'¶