Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a LLM to infer the segments of a scene #78

Open
jbilcke-hf opened this issue Aug 27, 2024 · 0 comments
Open

Use a LLM to infer the segments of a scene #78

jbilcke-hf opened this issue Aug 27, 2024 · 0 comments
Labels
assistant huggingface See the "Hugging Face" milestone for more info new feature prompt editor Editor of stories and screenplays
Milestone

Comments

@jbilcke-hf
Copy link
Owner

jbilcke-hf commented Aug 27, 2024

Context

Currently we use the Broadway library to convert a screenplay to a .clap file

But this uses heuristics (if/elses, pattern matching using regexes) which can scale (importing only takes a few seconds) but are "dumb" and can't get the bigger picture

Solution

Call the LLM when we import a story, for more accurate conversion to the timeline.

Note that this is a non-trivial ticket, there are technical constraints (context window, speed, memory, JSON validation etc)

@jbilcke-hf jbilcke-hf added new feature prompt editor Editor of stories and screenplays assistant huggingface See the "Hugging Face" milestone for more info labels Aug 27, 2024
@jbilcke-hf jbilcke-hf added this to the 1.1.0 milestone Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assistant huggingface See the "Hugging Face" milestone for more info new feature prompt editor Editor of stories and screenplays
Projects
Status: No status
Development

No branches or pull requests

1 participant