Skip to content

An AWS Lambda function that handles completions from OpenAI's GPT-3 API.

License

Notifications You must be signed in to change notification settings

infamousjoeg/OpenAIConnect

Repository files navigation

OpenAI Connect

An AWS Lambda function that handles completions from OpenAI's GPT-3 API.

Prerequisites

Usage

  1. Modify values in env.template.json and rename to env.json.
  2. Modify values in event.json for testing.
  3. Install dependencies: pip install -r requirements.txt
  4. Build the project: make build
  5. Validate, test locally, test in cloud, or deploy using make commands.

Make Commands

# Validate the SAM template
make validate

# Build the SAM template
make build

# Test locally
make test

# Test in the cloud
make test-cloud

# Deploy to AWS
make deploy

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

An AWS Lambda function that handles completions from OpenAI's GPT-3 API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published