LangChain OpenAI #857
Closed
cibernicola
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Are you referring to LangFlow Tweaks? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hey! Thanks for sharing your question here. I'm sorry for not getting back to you sooner. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't know if this is done on purpose or not, but I'm commenting just in case:
In langchain, all (or much) of what has to do with the OpenAI module, can be configured with own routes and fake api key, which allows seamless integration with models of other types.
Let me explain with an example:
llm = OpenAI(openai_api_key = "whatever", temperature=0.0, openai_api_base="http://localhost:1234/v1", max_tokens=200).
So I think that if langchain "allows" to do it, the langflow "layer" should too, right?
I insist, I'm sure there are things under de hood that I don't know that can make this not so easy, but I comment it anyway in case it's possible that it can be implemented.
Thanks and good job!
Beta Was this translation helpful? Give feedback.
All reactions