Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 1.44 KB

README.md

File metadata and controls

46 lines (37 loc) · 1.44 KB

uPortray-api

Logic

algorithm-scheme

Tech stack

  • NodeJS
  • OpenAI API
  • Youtube Data v3 API

See use cases

asciicast

How to use

Prerequisites

Set up API keys as environment variables. To set it for current shell and all processes started from current shell:

export OPENAI_API_KEY=YOUR_KEY      # shorter, less portable version
export YOUTUBE_API_KEY=YOUR_KEY

To set it permanently for all future bash sessions add such line to your .bashrc file in your $HOME directory.

Run it

git clone git@github.com:gonpaul/uPortray-api.git
cd uPortray-api
npm i
node index.js
Artificial intelligence // it's an example, so peek whatever you want

Contribute.

Features to build

  • implement user feedback for a chat gpt 3.5-turbo response
  • [50/50] come up with a solid open ai api request template and design it
  • abort the programm if it waits for the openai response for more then 4-5 seconds
  • [20/100] implement a decent algorithm that deals with changing the outline
  • how to integrate links back into the initial acknowledged openai api response