Custom LLMs for the agents #1174
Unanswered
batuhan-ozyurt
asked this question in
Q&A
Replies: 1 comment
-
same question |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to use my own LLM and use it with an agent, so I followed the instructions on the following page:
https://langchain.readthedocs.io/en/latest/modules/llms/examples/custom_llm.html
The _call method in this page does not work when the "stop" argument is not None. However, the agents of LangChain work with stop arguments. How can I define a custom LLM to work with the agents?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions