AI BUDDY is a web app where you can have chat with a super intelligent AI chat bot using the most capable GPT-3 model text-davinci-003 model by OpenAI.
-
The frontend for the web app is powered by Reactjs .
-
The react starter project for this project is generated by Vite - an amazingly fast tool for creating frontend developement environment .
-
The site is styled with Tailwindcss - A utility first CSS framework .
-
The frontend is deployed on Vercel .
- It is written in Nodejs programming language with AWS Lambda - a serverless compute service and AWS API Gateway - a service to create web APIs.
- The resquest sent to
API Gateway
invokes theLambda function
which then makes an API call to fetch autocompletion from OpenAI Api and sends the recieved response to frontend . - The Lambda function communicates with GPT-3 model text-davinci-003 with the help of OpenAI Nodejs SDK to OpenAI Api .
The OpenAI API can be applied to virtually any task that involves understanding or generating natural language or code. We offer a spectrum of models with different levels of power suitable for different tasks, as well as the ability to fine-tune your own custom models. These models can be used for everything from content generation to semantic search and classification
It is set of models that can understand and generate natural language . The main GPT-3 models are meant to be used with the text completion endpoint.
It is most capable GPT-3 model. Can do any task the other GTP-3 models can do, often with higher quality, longer output and better instruction-following. Also supports inserting completions within text.
AWS Lambda is a compute service that lets you run code without provisioning or managing servers. AWS Lambda executes your code only when needed and scales automatically, from a few requests per day to thousands per second. You pay only for the compute time you consume - there is no charge when your code is not running.