Skip to content

Commit a3c5c3c

Browse files
authored
fix(genapi): removing verify=none field in s3 certificate validation
1 parent 56345da commit a3c5c3c

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ Then, we will embed them as vectors and store these vectors in your PostgreSQL d
146146
prefix="",
147147
endpoint_url=os.getenv("SCW_BUCKET_ENDPOINT", ""),
148148
aws_access_key_id=os.getenv("SCW_ACCESS_KEY", ""),
149-
aws_secret_access_key=os.getenv("SCW_SECRET_KEY", ""),
150-
verify=None
149+
aws_secret_access_key=os.getenv("SCW_SECRET_KEY", "")
151150
)
152151
for file in file_loader.lazy_load():
153152
chunks = text_splitter.split_text(file.page_content)

0 commit comments

Comments
 (0)