langchain_community.llms.aviary
.get_completions¶
- langchain_community.llms.aviary.get_completions(model: str, prompt: str, use_prompt_format: bool = True, version: str = '') Dict[str, Union[str, float, int]] [源代码]¶
从Aviary模型获取完成内容。
- 参数
model (str) –
prompt (str) –
use_prompt_format (bool) –
version (str) –
- 返回类型
Dict[str, Union[str, float, int]]