nadavweisler / communitale Goto Github PK
View Code? Open in Web Editor NEW2nd place in HUJI hackathon 2023
2nd place in HUJI hackathon 2023
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.
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:
The server can only generate one book at a time (two people entering the website will cause issues)
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.
Delete or put in directory that in .gitignore
The function need to get a prompt and return paragraph and image for each page
The service get paragraph and image and create book page
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.