To provide an API to pass the fetch instance for the ChatOllama class #4603
Closed
Albert-Gao
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
For the ChatOpenAI, we can pass the fetch like this:
I wish I could do the same for the
ChatOllama
class, currently, it does not support it.Motivation
Can not do the same for the
import { ChatOllama } from "@langchain/community/chat_models/ollama";
, would be great if we can have this feature, since we need this for react-native, the default fetch does not support stream, we need to use a different fetch instance to enable fetching with stream. Thanks :)``Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions