Open AI Aws Lambda Starter

screenshot of Open AI Aws Lambda Starter

An example starter repo using NextJS + AWS Lambda/APG to build a web app with theOpenAI APU

Overview

The AWS Serverless Generative AI Quick Start Guide is an insightful resource for anyone looking to deploy a generative AI application utilizing the OpenAI API on AWS. By combining the power of a user-friendly interface in NextJS with the backend efficiency of FastAPI and Langchain, this project exemplifies how to create an AI-driven travel itinerary generator. The application provides a glimpse into modern serverless architecture, making it accessible even for those relatively new to programming.

With the right setup, users can seamlessly run the application locally to experience firsthand how AI can assist in planning travel. As a work in progress, the guide outlines both current capabilities and future enhancements, appealing to enthusiasts and developers alike.

Features

  • OpenAI API Key Storage: The application securely stores the OpenAI API key locally, ensuring sensitive information remains protected.

  • Chat History Maintenance: Users can maintain chat history within the UI, allowing for seamless conversation continuity.

  • Markdown Rendering: The UI supports markdown formatting, enhancing the visual presentation of the generated itineraries.

  • Travel Itinerary Generation: The AI functions as a personalized travel agent, crafting detailed itineraries based on user input.

  • Docker Compose Integration: Simplifies application deployment with a straightforward command, requiring only Docker and docker-compose setup.

  • Flexible Backend Options: Users can choose to run the backend using FastAPI or through Docker, providing flexibility based on individual preferences.

  • Local Build and Run: The guide outlines steps for running the application locally, making it accessible for testing and development without extensive initial setup.

  • Future Enhancements: Planned features include database storage for chat history, user prompt creation, and file uploads for enhanced interactivity.