Code Monkey home page Code Monkey logo

chrisvdev / persuader-ai Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 332 KB

The Persuader.ai is a tool designed to assist content creators in the creation of persuasive clickbait titles and Call-to-Action (CTA) phrases. It aims to inspire content creators and encourage the consumption of their content by potential viewers, readers, listeners, and customers.

Home Page: https://persuader-ai.chrisvdev.com/

License: MIT License

JavaScript 49.73% Astro 50.27%
midudev-cohere-2023 api-rest reactjs tailwindcss node-js astro artificial-intelligence cohere portfolio

persuader-ai's Introduction

Persuader.ai

What is this?

The Persuader.ai is a tool designed to assist content creators in the creation of persuasive clickbait titles and Call-to-Action (CTA) phrases. It aims to inspire content creators and encourage the consumption of their content by potential viewers, readers, listeners, and customers.

The tool can be utilized as is or integrated through its API for automated content publishing. For those seeking greater independence, the source code can be obtained from the github repository for deployment on personal systems.

(This tool was created as part of the applications created for the Midudev's AI Hackaton constest)

Persuader.ai's API

The endpoints of this API are:
(Using https://persuaderai.christianvillegas.com/ as a base URL)

A POST to "/api/clickbait" generate clickbait titles.
A POST to "/api/cta" generate Call-to-Action (CTA) phrases.

You need to give the prompt and quantity in a JSON on the body of the HTTP request on both of the endpoint, someting like this:

  {
    "input":"the result of being a bad person", 
    "quantity": 2
  }

As a result the server gives you JSON with an array of strigs like this:

  [
    "This Is What Happens When You Are A Bad Person", 
    "This Is What Happens If You Are A Bad Person"
  ]

If you want to fork or download this project

Don't forget to create a .env file on the API folder. It should contained:

API_KEY=ofCohere'sAPI
PORT=10002 // the port of the http server

persuader-ai's People

Contributors

chrisvdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.