#nestjs #openAI #GCP #Firestore #Cloud Sotrage #CSV
Generator for flashcard content made with OpenAi For generating cards you can post csv file using postman, required file format is is using 3 columns :
-
subject
-
topic
-
text_explanation
from this file aplicaton generates csv report file which is uploaded to cloud storage bucket describeed in .env file with added statuses of generation adn logging failure statuses and their reason. Content of cards generated by OpenAI is added to firtore database. There is CRUD API for files and for cards.
$ npm installaccording to .env.development in ain directory
# development
$ npm run start
# watch mode
$ npm run start:dev
first follow instruction https://firebase.google.com/docs/cli
# development
$ firebase emulators:start
$ npm run start
# watch mode
$ npm run start:dev
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov