Skip to content

Commit

Permalink
Update path to chunking algorithm in data_ingestion.md (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
cococ0j authored Dec 1, 2024
1 parent 69a26ef commit 116258c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data_ingestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ We're often asked why we need to break up the PDFs into chunks when Azure AI Sea

Chunking allows us to limit the amount of information we send to OpenAI due to token limits. By breaking up the content, it allows us to easily find potential chunks of text that we can inject into OpenAI. The method of chunking we use leverages a sliding window of text such that sentences that end one chunk will start the next. This allows us to reduce the chance of losing the context of the text.

If needed, you can modify the chunking algorithm in `scripts/prepdocslib/textsplitter.py`.
If needed, you can modify the chunking algorithm in `app/backend/prepdocslib/textsplitter.py`.

### Enhancing search functionality with data categorization

Expand Down

0 comments on commit 116258c

Please sign in to comment.