Find answers from the community

Updated last year

MessageToPrompt

When using hugging face llm through llamaindex, I am getting this error
Attachments
rn_image_picker_lib_temp_b20eff0b-a779-42ce-a255-5c01015fccd1.jpg
4a3b0f65-51b1-492c-af25-8a3292096ee9.jpg
rn_image_picker_lib_temp_a7d12cab-f3bb-4c2b-953a-2a00491cbd25.jpg
E
1 comment
Is missing to import
Plain Text
from llama_index.llms.llama_utils import (
    messages_to_prompt,
    completion_to_prompt,
)
Add a reply
Sign up and join the conversation on Discord