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 3 months ago
0
Follow
I am trying to use this example https
I am trying to use this example https
Inactive
0
Follow
e
explorer
last year
Β·
I am trying to use this example (
https://gpt-index.readthedocs.io/en/latest/examples/usecases/10k_sub_question.html
) with LangChainLLM (
https://gpt-index.readthedocs.io/en/latest/reference/llms/langchain.html
) - I am not sure where do I pass the LLM name. for example, I am trying to use Bedrock from Langchain (
https://python.langchain.com/docs/modules/model_io/models/llms/integrations/bedrock
)
d
1 comment
Share
Open in Discord
d
disiok
last year
you just need to do
Plain Text
Copy
llm = Bedrock(...) service_context = ServiceContext.from_defaults(llm=llm, ...)
Add a reply
Sign up and join the conversation on Discord
Join on Discord