aenumerate#

async langchain_community.adapters.openai.aenumerate(iterable: AsyncIterator[Any], start: int = 0) AsyncIterator[tuple[int, Any]][source]#

Async version of enumerate function.

Parameters:
  • iterable (AsyncIterator[Any]) –

  • start (int) –

Return type:

AsyncIterator[tuple[int, Any]]