Skip to content

GenAI Experiment – Roman Quote service

A glimpse into a GenAI experiment – pondering the wisdom of ancient Romans.

Delve into the world of old Roman wisdom with a collection of quotes:

https://d1x8tzumt0v2bu.cloudfront.net/.

http://bis-dat-qui-cito-dat.s3-website.eu-north-1.amazonaws.com/

This personal tech endeavor showcases:
– A front-end on AWS S3 featuring HTML, CSS, and JavaScript, seamlessly connected to
– An AWS Lambda function, crafted in JavaScript, to structure your inquiries, which then interact with
– The OpenAI API utilizing GPT-3 turbo,
– The response is returned, formated and presented.
– I also show the language tokens sent to and recieved from the OpenAI API
– The cost per 1 million tokens is: Prompt – $0,5, Completion – $1,5

It still amazes me what the LLMs can do (is it black magic?), and how powerful you can be on AWS (free tier!)
Enjoy!


Noteworthy details:
– I was going to use AWS Bedrock, but it’s not available in my region. I can easily adapt the LambdaFunction when it is.
– When visits/day exceed 1M, I’ll add a CDN. 😆
– A friendly reminder: ChatGPT Plus subscription does not grant access to the OpenAI API, a distinction worth noting.

Shoutout to Amazon Web Services (AWS) and OpenAI for making this project possible!

Leave a Reply

Your email address will not be published. Required fields are marked *