Skip to content

acmutd/nexus-superdoc

Repository files navigation

A containerized AWS Lambda function for processing documents using PyMuPDF4LLM, OpenAI, and Google Docs API.

  1. Prerequisites

    Docker installed and running.

    Google Service Account Key: A service-account-key.json file in the project root.

    Environment Variables: A .env file containing your OPENAI_API_KEY and other secrets.

  2. Build the Image

Build the Docker container with the name superdoc: Bash

docker build -t superdoc .

  1. Run the Container

Run the container by mounting the emulator, your Google credentials, and your environment variables. Bash

docker run -it --rm
-v $(pwd)/.env:${LAMBDA_TASK_ROOT}/.env
-v ~/.aws:/root/.aws:ro
-p 8000:8000
superdoc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors