langchain_community.adapters.openai.Completions

class langchain_community.adapters.openai.Completions[source]

Completions.

方法

__init__()

acreate()

create()

__init__()
async static acreate(messages: Sequence[Dict[str, Any]], *, provider: str = 'ChatOpenAI', stream: Literal[False], **kwargs: Any) ChatCompletions[source]
async static acreate(messages: Sequence[Dict[str, Any]], *, provider: str = 'ChatOpenAI', stream: Literal[True], **kwargs: Any) AsyncIterator
静态 create(messages: Sequence[Dict[str, Any]], *, provider: str = 'ChatOpenAI', stream: Literal[False], **kwargs: Any) ChatCompletions[源代码]
静态 create(messages: Sequence[Dict[str, Any]], *, provider: str = 'ChatOpenAI', stream: Literal[True], **kwargs: Any) 可迭代对象