Find answers from the community

Updated 3 months ago

Prompts

I am getting this error.
I am performing RAG on meta-llama/Llama-2-7b-chat-hf, few days ago the same code was working fine.
I tried with str(query_wrapper_prompt) the model gets downloaded but I can't perform query_engine.query().
1st image - when I keep query_wrapper_prompt as it is.
2nd image - after applying str(query_wrapper_prompt)

Any help is appreciated!
Thank you πŸ™‚.
Attachments
Screenshot_2023-08-26_at_9.13.05_PM.png
Screenshot_2023-08-26_at_9.15.56_PM.png
L
k
2 comments
Yea the type changed

Just avoid wrapping the query wrapper prompt with the Prompt class

It will just look something like `query_wrapper_prompt = "...{query_str}..."
Thanks for the help πŸ˜ƒ
It's working πŸ‘
Add a reply
Sign up and join the conversation on Discord