Skip to content

Pobudi/cpp_portoflio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Chat with ChatGPT via mail

This project allows to chat and generate images by sending mails to a specified host. Examples:

By writing "Image" as the subject of the mail:

image

Answer (link to the image will be sent in a mail from the host):

image

For every other subject a text based answer will be generated:

image

Answer:

image

Requirements if someone would like to try it out. Project is not live right now as every query sent to the host costs openai tokens.

  • libcurl
  • Poco::Net
  • openai library (https://github.com/olrea/openai-cpp)
  • And also a premium account on Openai (https://openai.com/pricing)
  • An email account to become host. It has to be from email provider that allows smtp and pop3 protocol. (will not work on gmail) After cloning this repository remember to insert your credentials where it is needed (look for getenv() or std::getenv()).

About

Most interesting c++ projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published