00-Lambda-Layers
folder, where 3 zip files are available.Layer-01-Flask-langchain-openai.zip
.Layer-02-pinecone-psycopg2-PyPDF2-tqdm-Werkzeug-tiktoken.tzip
and Layer-03-PyMuPDF.zip
.use-s3-bucket-as-input
) and create 2 folders under it: processed_files/
and uploaded_files/
.s3://uploaded_files/
s3://processed_files/
S3://uploaded_files
folder, create a folder and a sub-folder within that folder. This correspond to “user_id” and “deployment_id” (sent via request body/form-data).s3://use-s3-bucket-as-input/uploaded_files/user-1234/dep-1234/
s3://<bucket-name>/uploaded_files/<user_id>/<deployment_id>/
.s3://use-s3-bucket-as-input/uploaded_files/user-1234/dep-1234/test-1.pdf
s3://use-s3-bucket-as-input/uploaded_files/user-1234/dep-1234/test-2.pdf
s3://use-s3-bucket-as-input/uploaded_files/user-1234/dep-1234/test-3.pdf
01-ManualUpload, 02-OpenAI, 03-AzureOpenAI
for additional Configuration related to specific application and test the same using Postman application.Posted Jan 29, 2024
Set up a PDF Chatbot using OpenAI. The process involves creating a VPC, RDS PostgreSQL DB, creating Lambda function using OpenAI/Azure OpenAI/Bedrock.
0
2