Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated last year
0
Follow
I think beceause 'Bedrock' object has
I think beceause 'Bedrock' object has
Inactive
0
Follow
a
aazizi
last year
Β·
I think beceause 'Bedrock' object has no attribute 'complete', there is only 'predict', How I can fix this?
L
a
7 comments
Share
Open in Discord
L
Logan M
last year
No, that's not why.
If you look at the error, there is some extra steps bedrock is requiring for formatting for claude?
L
Logan M
last year
The prompt should look like
Plain Text
Copy
Human: Paul graham is Assistant:
L
Logan M
last year
I think
a
aazizi
last year
I found that I can bypass the error using from llama_index.llms import (
CustomLLM, and # from langchain.llms.bedrock import Bedrock
a
aazizi
last year
I customized the LLM to have complete method
L
Logan M
last year
The bedrock LLM has a complete method π But that works too
a
aazizi
last year
Yes indeed, but I couldn't use it with generate_qa_embedding_pairs, I had this error of formatting
Add a reply
Sign up and join the conversation on Discord
Join on Discord