langchain_community.llms.tongyi.astream_generate_with_retry

async langchain_community.llms.tongyi.astream_generate_with_retry(llm: Tongyi, **kwargs: Any) Any[source]

Async version of stream_generate_with_retry.

Because the dashscope SDK doesn’t provide an async API, we wrap stream_generate_with_retry with an async generator.

Parameters
  • llm (Tongyi) –

  • kwargs (Any) –

Return type

Any