What Are You Building? (2025 Projects Hackathon Thread)

Saw this today, but I haven’t played with it yet. Looks kinda cool…

5 Likes

Nah I am not going down that rabbithole haha.. looks cool though

1 Like

I mean it looks really easy to use grrrr

1 Like

The implementation looks good @PaulBellow!

One key improvement could be to tailor (or maybe even skip) the RecursiveCharacterTextSplitter function. While I’m not sure how many documents you intend to chunk, or what’s in those documents (both in terms of content and structure), I have observed that large gains can be obtained by chunking more mindfully, as opposed to mechanically. For e.g., in some legal documents I was trying to make graphs for, the chunks were quite awkardly constructed at times, as the variance of clause length can be quite high across different documents. As a result, some chunks were missing crucial parts of certain clauses, thereby causing issues in downstream applications that were hard to diagnose at first.

Access to subject matter experts can be limited, and so one alterative is to use an LLM (either via API or an application like ChayGPT) to help create these meaningful chunks. This is hard to scale across hundreds of ever changing documents, but I think the effort is definitely worth it.

My guess is that changing the model will affect the graph more than the temperature itself (and it’s perhaps better to have a low temperature value for this exercise), but would be curious to see some results if you experiment more with this. Thanks! :slight_smile:

1 Like

It’s all very basic so far, but thanks!

I’m doing prose (novels and outlines)… thinking of firing up a modern Fiction Factory then writing about it… which has a history! Back at the turn of the 20th century, a gentleman quit lawyering and started pumping out “pulp fiction” at “astounding rates” (for the time).

AUT FICTION, AUT NULLUS.

“Well, my dear,” said John Milton Edwards, miserably uncertain and turning to appeal to his wife, “which shall it be—to write or not to write?”

“To write,” was the answer, promptly and boldly, “to do nothing else but write.”

John Milton wanted her to say that, and yet he did not. Her conviction, orally expressed, had all the ring of true metal; yet her husband, reflecting his own inner perplexities, heard a false note suggesting the base alloy of uncertainty.

“Hadn’t we better think it over?” he quibbled.

“You’ve been thinking it over for two years, John, and this month is the first time your returns from your writing have ever been more than your salary at the office. If you can be so successful when you are obliged to work nights and Sundays—and most of the time with your wits befogged by office routine—what could you not do if you spent ALL your time in your Fiction Factory?”

“It may be,” ventured John Milton, “that I could do better work, snatching a few precious moments from those everlasting pay-rolls, than by giving all my time and attention to my private Factory.”

“Is that logical?” inquired Mrs. John Milton.

“I don’t know, my dear, whether it’s logical or not. We’re dealing with a psychological mystery that has never been broken to harness. Suppose I have the whole day before me and sit down at my typewriter to write a story. Well and good. But getting squared away with a fresh sheet over the platen isn’t the whole of it. The Happy Idea must be evolved. What if the Happy Idea does not come when I am ready for it? Happy Ideas, you know, have a disagreeable habit of hiding out. There’s no hard and fast rule, that I am aware, for capturing a Happy Idea at just the moment it may be most in demand. There’s lightning in a change of work, the sort of lightning that clears the air with a tonic of inspiration. When I’m paymastering the hardest I seem to be almost swamped with ideas for the story mill. Query: Will the mill grind out as good a grist if it grinds continuously? If I were sure—”

“It stands to reason,” Mrs. Edwards maintained stoutly, “that if you can make $125 a month running the mill nights and Sundays, you ought to be able to make a good deal more than that with all the week days added.”

“Provided,” John Milton qualified, “my fountain of inspiration will flow as freely when there is nothing to hinder it as it does now when I have it turned off for twelve hours out of the twenty-four.”

“Why shouldn’t it?”

“I don’t know, my dear,” John Milton admitted, “unless it transpires that my inspiration isn’t strong enough to be drawn on steadily.”

“Fudge,” exclaimed Mrs. Edwards.

“And then,” her husband proceeded, “let us consider another phase of the question. The demand may fall off. The chances are that it WILL fall off the moment the gods become aware of the fact that I am depending on the demand for our bread and butter. Whenever a thing becomes absolutely essential to you, Fate immediately obliterates every trail that leads to it, and you go wandering desperately back and forth, getting more and more discouraged until—”

“Until you drop in your tracks,” broke in Mrs. Edwards, “and give up—a quitter.”

“Quitter” is a mean word. There’s something about it that jostles you, and treads on your toes.

“I don’t think I’d prove a quitter,” said John Milton, “even if I did get lost in a labyrinth of hard luck. It’s the idea of losing you along with me that hurts.”

“I’ll risk that.”

Plotto is another cool rabbit-hole. A written book with formulas for plots… the “algebra of literature” I think they called it? I may have fine-tuned on it at one time? Or not! :wink:

Equal parts reference guide and historical oddity, Plotto is sure to amaze and delight writers for another hundred years. (Written in 1920…)

In the mid 20th century another author tried to go all out with modern tech (at the time). Yes, none other than the Perry Mason author. He used dictation (tape recorders) then had others type them out. He came out At his height, he was churning a novel a week, I believe. You can read about his story here.

And there’s also the Best Seller Code .. back in 2016 they used “maths” to get a blueprint of a best seller. Really good stuff. I’d have to “borrow” a lot of best-sellers to replicate, but I don’t imagine the pattern has changed too much since then (nay, since we started telling stories to each other! haha…)

There was also the Book Lamp project… a “genome” for books… Apple bought that and buried it or are using it somehow? I dunno. Good rabbit-hole, though!

I’d used NLP before tho not much with AI yet, but I’m having fun and learning a lot.

I’ve written millions of words at this point over 40 years, so lots to work with.

Don’t think I could afford AI for all of them! (Daily free tokens are nice!)

Maybe I should write an early 21st century Fiction Factory story?

I appreciate the helpful pointers and rah-rah! :wink:

What are you tinkering on these days?

1 Like