Giter VIP home page Giter VIP logo

communitale's Introduction

Hi there ๐Ÿ‘‹

communitale's People

Contributors

anatfl avatar liaskywalker avatar nadav183 avatar nadavweisler avatar shlomishitrit avatar yotamfeitelson avatar

Stargazers

 avatar

Watchers

 avatar

communitale's Issues

Clean up PromptGenerator

Extract the base seed messages from the code into a json, clean up the seed from unnecessary messages and sort the messages for easier tuning and debugging.

Fix story-title splits

The way we split the title from the story causes an exception due to inconsistent formatting from GPT's response

Need to rephrase GPT's prompts and parsing methods to address this issue.

Implement better asset saving mechanism

Currently the backend saves a requested book's assets as files and then re-reads them to generate the final output pdf. The pdf is again stored on the backend as a file and passes the file's location to the front end for download. This creates a few problems:

  1. The server can only generate one book at a time (two people entering the website will cause issues)

  2. Adds unnecessary complexity to the backend.

Proposed solution: keep image data in memory without saving the png files to the server. And add unique identifiers for each request that will be used in the pdf output's name. This way multiple pdfs can be generated at the same time, returned to the end-user correctly and removed safely at the end of the transaction without conflicting with other requests.

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.