llama-cpp-python
llama-cpp-python copied to clipboard
AttributeError: 'Llama' object has no attribute 'embed'
I believe you forgot to change from 'embed' to 'create_embedding' in LlamaCppEmbeddings ('embed_documents' & 'embed_query')
Fixed, sorry about that, that embedding function actually got dropped earlier but I've added it back in to fix langchain support.
You should just be able to pip install --upgrade llama-cpp-python
Let me know if that works now.
all good now - thank you very much @abetlen !