langchain_community.adapters.openai
.aenumerate¶
- async langchain_community.adapters.openai.aenumerate(iterable: AsyncIterator[Any], start: int = 0) AsyncIterator[tuple[int, Any]] [源代码]¶
enumerate函数的异步版本。
- 参数
iterable (AsyncIterator[Any]) –
start (int) –
- 返回类型
AsyncIterator[tuple[int, Any]]