langchain
e6f0cee8 - community: Async Ollama + ChatOllama (#15169)

Commit
2 years ago
community: Async Ollama + ChatOllama (#15169) **Description:** Adding async methods to booth OllamaLLM and ChatOllama to enable async streaming and async .on_llm_new_token callbacks. **Issue:** ChatOllama is not working in combination with an AsyncCallbackManager because the .on_llm_new_token method is not awaited.
Author
Parents
Loading