---
title: "Discussion on \"LLM app dev using AWS Bedrock and Langchain\" | Hashnode"
description: "Discussion on \"LLM app dev using AWS Bedrock and Langchain\". When trying to solve a Question Answering task over a larger document corpus with the help of LLMs we need to master the following challenges:\n\nHow to manage large document(s) that exceed the token limit\n\nHow to find the document(s) relevant to the q..."
url: "https://hashnode.com/posts/llm-app-dev-using-aws-bedrock-and-langchain/66bc5af1e35f27b3539507aa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LLM app dev using AWS Bedrock and Langchain](https://suyashblog.hashnode.dev/llm-app-dev-using-aws-bedrock-and-langchain?utm_source=hashnode&utm_medium=feed)

When trying to solve a Question Answering task over a larger document corpus with the help of LLMs we need to master the following challenges: How to manage large document(s) that exceed the token limit How to find the document(s) relevant to the q...

Aug 14, 2024 · 10 min read · suyashblog.hashnode.dev  
Read the article

-   [#llm](https://hashnode.com/tag/llm)
-   [#aws](https://hashnode.com/tag/aws)
-   [#machine-learning](https://hashnode.com/tag/machine-learning)
-   [#ai](https://hashnode.com/tag/ai)
-   [#langchain](https://hashnode.com/tag/langchain)

## Written by

[Suyash Dubey](https://hashnode.com/@Suyashdubey)

@Suyashdubey · New Delhi, India

  
[View profile](https://hashnode.com/@Suyashdubey)

I am currently contributing to various open-source projects. Open for work opportunities and collaborations.

## Responses 3

Markdown supported · ⌘↵ to post

[klement Gunndu](https://hashnode.com/@klementgunnduai)

[Feb 27](https://hashnode.com/posts/llm-app-dev-using-aws-bedrock-and-langchain/66bc5af1e35f27b3539507aa/comment/69a0f4e20b9b696fae5d9438)

The character split strategy working better than semantic chunking for this dataset is a pattern I have also observed with PDFs that have dense table-of-contents structures — the semantic splitter often breaks across section boundaries rather than content boundaries. One thing worth adding: when your document corpus grows past a few hundred PDFs, a hybrid retriever that combines BM25 sparse retrieval with the Titan embeddings dense retrieval can meaningfully improve recall without tuning the chunk size.

[Daniil Korbut](https://hashnode.com/@rtriangle)

[Aug 18, 2024](https://hashnode.com/posts/llm-app-dev-using-aws-bedrock-and-langchain/66bc5af1e35f27b3539507aa/comment/66c25d6f96f958782c18cccd)

Great and detailed article, thank you!

[Jane Frank](https://hashnode.com/@Jannie)

[Aug 14, 2024](https://hashnode.com/posts/llm-app-dev-using-aws-bedrock-and-langchain/66bc5af1e35f27b3539507aa/comment/66bc860d14e4b1589e054476)

Hi Suyash, your article is interesting. I have a project I am to working on which is similar and am looking forward to collaborating

[Suyash Dubey](https://hashnode.com/@Suyashdubey)

[Aug 14, 2024](https://hashnode.com/posts/llm-app-dev-using-aws-bedrock-and-langchain/66bc5af1e35f27b3539507aa/comment/66bc860d14e4b1589e054476#reply-66bcc2966a48f66483c073df)

Sure!
