DEV Community

Mauro Bonfietti
Mauro Bonfietti

Posted on

🤖 Ask questions to OpenAI API from CLI

Hello! 👋 😃

I want to show you a small application that I have developed.

It is a command-line interface (CLI) application that uses OpenAI's GPT-3 to generate human-like text responses to user input. The application is written in PHP and is designed to be simple and easy to use.

You will need an OpenAI API key to use the application, which you can get by signing up on the OpenAI website.

It is a simple open-source project that demonstrates the power of OpenAI's GPT-3 language model to build a CLI application.

The link to the GitHub repository is:

https://github.com/maurobonfietti/chat-open-ai-cli

🥳 I hope you like it. Now ask exciting questions to OpenAI API from the CLI 🤖.

Top comments (0)