Skip to content

Create an outline on your academic subject with an openai and get a list of most liked videos for each subtopic

Notifications You must be signed in to change notification settings

gonpaul/uPortray-api

Repository files navigation

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

About

Create an outline on your academic subject with an openai and get a list of most liked videos for each subtopic

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published