We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to run /docs/05-local-execution.ipynb notebook on Mac throws the following error:
/docs/05-local-execution.ipynb
TypeError: Llama.create_chat_completion() missing 1 required positional argument: 'self'
When running:
out = rl("what's the time in New York right now?") print(out) get_time(**out.function_call)
The text was updated successfully, but these errors were encountered:
Seems like a LangChain llama-cpp-python error
llama-cpp-python
Sorry, something went wrong.
llm in LlamaCppLLM is set to llama_cpp.Llama here, but create_chat_completion() is not a class method.
llm
LlamaCppLLM
llama_cpp.Llama
create_chat_completion()
Thanks for the spot @mafs12 , seems like this bug was introduced by #190. Working on a fix
bruvduroiu
jamescalam
Successfully merging a pull request may close this issue.
Trying to run
/docs/05-local-execution.ipynb
notebook on Mac throws the following error:When running:
The text was updated successfully, but these errors were encountered: