Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
devm29
NLP-aws-lambda-hosting
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
develop
Breadcrumbs
NLP-aws-lambda-hosting
/
.env.example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
25 lines (20 loc) · 736 Bytes
develop
Breadcrumbs
NLP-aws-lambda-hosting
/
.env.example
Copy path
Top
File metadata and controls
Code
Blame
25 lines (20 loc) · 736 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
Copy to .env for local development. Never commit the real file.
#
Which spaCy model to serve. Must exist in the bucket as
#
s3://$S3_BUCKET/$S3_PREFIX/$SPACY_MODEL.tar.gz
SPACY_MODEL
=
en_core_web_sm-3.8.0
#
s3 | local | github (see nlp_lambda/model_source.py)
MODEL_SOURCE
=
s3
S3_BUCKET
=
your-model-bucket
S3_PREFIX
=
models
#
Point at MinIO/LocalStack instead of AWS. Leave unset for real S3.
#
S3_ENDPOINT_URL=http://localhost:8321
#
Where the unpacked model lives. On Lambda this must be under /tmp.
MODEL_CACHE_DIR
=
/tmp/models
#
Used when MODEL_SOURCE=local
#
LOCAL_MODEL_ROOT=./models
#
Request limits
MAX_TEXT_CHARS
=
100000
MAX_BATCH_SIZE
=
32
#
Optional. Omit and error reporting is simply disabled.
#
SENTRY_DSN=
LOG_LEVEL
=
INFO
You can’t perform that action at this time.