Skip to content

Commit e02244e

Browse files
fpagnyjcirinosclwy
andauthored
Update tutorials/how-to-implement-rag-generativeapis/index.mdx
Co-authored-by: Jessica <[email protected]>
1 parent 013b446 commit e02244e

File tree

1 file changed

+1
-1
lines changed
  • tutorials/how-to-implement-rag-generativeapis

1 file changed

+1
-1
lines changed

tutorials/how-to-implement-rag-generativeapis/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Then, we will embed them as vectors and store these vectors in your PostgreSQL d
156156
print('Vectors successfully added for document',file.metadata['source'])
157157
```
158158

159-
The chunk size of 500 characters is chosen to fit within the context size limit of the embedding model used in this tutorial, but could be raised up to 4096 characters for `bge-multilingual-gemma2` model (or slightly more as context size is counted in tokens). Keeping chunks small also optimize performance during inference.
159+
The chunk size of 500 characters is chosen to fit within the context size limit of the embedding model used in this tutorial, but could be raised to up to 4096 characters for `bge-multilingual-gemma2` model (or slightly more as context size is counted in tokens). Keeping chunks small also optimizes performance during inference.
160160

161161
9. You can now run you vector embedding script with:
162162

0 commit comments

Comments
 (0)