Skip to content

Commit 766bc21

Browse files
authored
Update index.mdx
1 parent 681e2d9 commit 766bc21

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
@@ -123,7 +123,7 @@ vector_store = PGVector(connection=connection_string, embeddings=embeddings)
123123

124124
6. At this stage, you need to have data (e.g. PDF files) stored in your Scaleway Object storage bucket. As examples, you can download our [Instance CLI cheatsheet](https://www-uploads.scaleway.com/Instances_CLI_Cheatsheet_7ae4ed5564.pdf) and our [Kubernetes cheatsheets](https://www.scaleway.com/en/docs/static/be9a6e5821a4e8e268c7c5bd3624e256/scaleway-kubernetes-cheatsheet.pdf) and store them into your [Object Storage bucket](https://console.scaleway.com/object-storage/buckets).
125125

126-
Below we will use LangChain's [`S3FileLoader`](https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_file.S3FileLoader.html) to load documents, and split them into chunks.
126+
Below we will use LangChain's [`S3DirectoryLoader`](https://api.python.langchain.com/en/latest/document_loaders/langchain_community.document_loaders.s3_file.S3FileLoader.html) to load documents, and split them into chunks.
127127
Then, we will embed them as vectors and store these vectors in your PostgreSQL database.
128128

129129
### Import required modules

0 commit comments

Comments
 (0)