jean0123 / OpenIA_GPT3_PoemGenerator

This is a Python script that uses OpenIA's GPT-3 AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenIA_GPT3_PoemGenerator

This is a Python script that uses OpenIA's GPT-3 AI

Description

The script asks you for the author and the maximum character length you want in the poem. This script also asks you for a list of keywords that you want to use in the poem. The script will generate a poem from the list of words and will sign the creation of the poem as if it were the author entered.

Requirements

A .env file must be created locally, in which the OPENAI_API_KEY must be stored with the value of your key in OpenIA. Additionally, the necessary libraries must be installed. It is recommended to create a virtual environment and then run the command "pip install -r requirements.txt".

About

This is a Python script that uses OpenIA's GPT-3 AI


Languages

Language:Python 100.0%